Skip to content

v2.0.0

Compare
Choose a tag to compare
@mnavarrocarter mnavarrocarter released this 09 Nov 21:04
· 7 commits to master since this release
757e83e

This is a BC Break release.

  • Removed MNC\Fernet\EncoderInterface and MNC\Fernet\DencoderInterface interfaces. You should use the MNC\Fernet\Marshaller interface instead. This interface combines the previous two with the same method signatures.
  • MNC\Fernet\Marshaller has one implementation now, the MNC\Fernet\Vx80Marshaller. This can be created passing a MNC\Fernet\Vx80Key.
  • The MNC\Fernet\Vx80Key is pretty much unchanged but is not under the Version namespace anymore.
  • Utility classes for encoding UrlSafe Base64 where renamed to namespaced functions instead of the old static class. Import MNC\Fernet\UrlBase64\encode and MNC\Fernet\UrlBase64\dencode to use them.
  • Added a new MNC\Fernet\Random\RandomSource interface to abstract away the reading of random bytes.