PyJWT v2.1.0 Release Notes

  • ๐Ÿ”„ Changed

    
    - ๐Ÿ‘ Allow claims validation without making JWT signature validation mandatory. `#608 <https://github.com/jpadilla/pyjwt/pull/608>`__
    
    ๐Ÿ›  Fixed
    ~~~~~
    
    - โœ‚ Remove padding from JWK test data. `#628 <https://github.com/jpadilla/pyjwt/pull/628>`__
    - ๐Ÿ‘‰ Make `kty` mandatory in JWK to be compliant with RFC7517. `#624 <https://github.com/jpadilla/pyjwt/pull/624>`__
    - ๐Ÿ‘ Allow JWK without `alg` to be compliant with RFC7517. `#624 <https://github.com/jpadilla/pyjwt/pull/624>`__
    - ๐Ÿ‘ Allow to verify with private key on ECAlgorithm, as well as on Ed25519Algorithm. `#645 <https://github.com/jpadilla/pyjwt/pull/645>`__
    
    โž• Added
    ~~~~~
    
    - โž• Add caching by default to PyJWKClient `#611 <https://github.com/jpadilla/pyjwt/pull/611>`__
    - Add missing exceptions.InvalidKeyError to jwt module __init__ imports `#620 <https://github.com/jpadilla/pyjwt/pull/620>`__
    - โž• Add support for ES256K algorithm `#629 <https://github.com/jpadilla/pyjwt/pull/629>`__
    - Add `from_jwk()` to Ed25519Algorithm `#621 <https://github.com/jpadilla/pyjwt/pull/621>`__
    - Add `to_jwk()` to Ed25519Algorithm `#643 <https://github.com/jpadilla/pyjwt/pull/643>`__
    - Export `PyJWK` and `PyJWKSet` `#652 <https://github.com/jpadilla/pyjwt/pull/652>`__