PyJWT v2.2.0 Release Notes

  • ๐Ÿ”„ Changed

    
    - โœ‚ Remove arbitrary kwargs. `#657 <https://github.com/jpadilla/pyjwt/pull/657>`__
    - ๐Ÿ“ฆ Use timezone package as Python 3.5+ is required. `#694 <https://github.com/jpadilla/pyjwt/pull/694>`__
    
    ๐Ÿ›  Fixed
    ~~~~~
    - Assume JWK without the "use" claim is valid for signing as per RFC7517 `#668 <https://github.com/jpadilla/pyjwt/pull/668>`__
    - Prefer `headers["alg"]` to `algorithm` in `jwt.encode()`. `#673 <https://github.com/jpadilla/pyjwt/pull/673>`__
    - ๐Ÿ›  Fix aud validation to support {'aud': null} case. `#670 <https://github.com/jpadilla/pyjwt/pull/670>`__
    - ๐Ÿ‘‰ Make `typ` optional in JWT to be compliant with RFC7519. `#644 <https://github.com/jpadilla/pyjwt/pull/644>`__
    - ๐Ÿšš  Remove upper bound on cryptography version. `#693 <https://github.com/jpadilla/pyjwt/pull/693>`__
    
    โž• Added
    ~~~~~
    
    - โž• Add support for Ed448/EdDSA. `#675 <https://github.com/jpadilla/pyjwt/pull/675>`__