All Versions
20
Latest Version
Avg Release Cycle
96 days
Latest Release
965 days ago

Changelog History
Page 1

  • v8.1.0 Changes

    April 12, 2022
    • ๐Ÿ‘‰ Make optional fields in the spec really optional
    • Implements Hash for Header
  • v8.0.1 Changes

    February 03, 2022
    • ๐Ÿ›  Fix documentation of leeway
  • v8.0.0 Changes

    February 02, 2022
    • โž• Add EdDSA algorithm
    • sign/verify now takes a &[u8] instead of &str to be more flexible
    • DecodingKey now own its data
    • Remove deprecated dangerous_unsafe_decode
    • Validation::iss is now a HashSet instead of a single value
    • decode will now error if Validation::algorithms is empty
    • โž• Add JWKs types for easy interop with various Oauth provider, see examples/auth0.rs for an example
    • โœ‚ Removed decode_* functions in favour of using the Validation struct
    • ๐Ÿ‘ Allow float values for exp and nbf, yes it's in the spec... floats will be rounded and converted to u64
    • ๐Ÿ‘ฏ Error now implements Clone/Eq
    • ๐Ÿ”„ Change default leeway from 0s to 60s
    • Add Validation::require_spec_claims to validate presence of the spec claims
    • โž• Add default feature for pem decoding named use_pem that can be disabled to avoid 2 dependencies
  • v7.2.0 Changes

    June 30, 2020
    • Add dangerous_insecure_decode to replace dangerous_unsafe_decode, which is now deprecated
    • Add dangerous_insecure_decode_with_validation
  • v7.1.2 Changes

    June 16, 2020
    • Derive Hash for Header and Algorithm
  • v7.1.1 Changes

    June 09, 2020
    • โšก๏ธ Update dependencies
  • v7.1.0 Changes

    March 01, 2020
    • โž• Add into_static to DecodingKey for easier re-use
  • v7.0.1

    January 31, 2020
  • v7.0.0 Changes

    January 28, 2020
    • โž• Add support for PS256, PS384 and PS512
    • โž• Add support for verifying with modulus/exponent components for RSA
    • โšก๏ธ Update to 2018 edition
    • ๐Ÿ”„ Changed aud field type in Validation to Option<HashSet<String>>. Audience validation now tests for "any-of-these" audience membership.
    • โž• Add support for keys in PEM format
    • โž• Add EncodingKey/DecodingKey API to improve performance and UX
  • v6.0.1 Changes

    May 10, 2019
    • ๐Ÿ›  Fix Algorithm mapping in FromStr for RSA