Skip to content

v0.10.0

Compare
Choose a tag to compare
@brycx brycx released this 29 Nov 13:53
· 10 commits to master since this release
289cf60
  • Fix stack overflow occurring from incorrect Display implementation (@aldebaranzbradaradjan #14)
  • Fix non-propagated error in Branca.encode (@brycx #12)
  • Fix issue with compliance to the specification: Allow empty input when encoding & decoding tokens (@brycx #13)
  • MSRV bumped to 1.41
  • (Breaking change): Correctly handle binary data (@ganwell #10 (fix by @brycx)). Previously, non-UTF8 encoded tokens would not decode to the correct payload if the token was created with a different Branca implementation.
  • (Security): Correctly return error on invalid base62 tokens. Previously, this would panic whereas documentation would indicate an error was supposed to be returned (@brycx 7da3274)
  • Document that encode() panics if it fails to generate random bytes for the nonce.
  • Add basic fuzzing targets (@brycx #17)
  • (Breaking change): Fix that the nonce, returned by the builder context, was never used for encoding (@brycx #19)
  • (Breaking change): Return OverflowingOperation error if adding TTL to timestamp would overflow (@brycx #21)
  • Fix incorrect timestamps used for token creation with Branca struct (@brycx #22)