PyJWT v2.4.0 Release Notes

  • ๐Ÿ”’ Security

    
    - ๐Ÿ”’ [CVE-2022-29217] Prevent key confusion through non-blocklisted public key formats. https://github.com/jpadilla/pyjwt/security/advisories/GHSA-ffqj-6fqr-9h24
    
    ๐Ÿ”„ Changed
    ~~~~~~~
    
    - Explicit check the key for ECAlgorithm by @estin in https://github.com/jpadilla/pyjwt/pull/713
    - ๐Ÿ—„ Raise DeprecationWarning for jwt.decode(verify=...) by @akx in https://github.com/jpadilla/pyjwt/pull/742
    
    ๐Ÿ›  Fixed
    ~~~~~
    
    - Don't use implicit optionals by @rekyungmin in https://github.com/jpadilla/pyjwt/pull/705
    - ๐Ÿ“š documentation fix: show correct scope for decode_complete() by @sseering in https://github.com/jpadilla/pyjwt/pull/661
    - ๐Ÿ›  fix: Update copyright information by @kkirsche in https://github.com/jpadilla/pyjwt/pull/729
    - Don't mutate options dictionary in .decode_complete() by @akx in https://github.com/jpadilla/pyjwt/pull/743
    
    โž• Added
    ~~~~~
    
    - โž• Add support for Python 3.10 by @hugovk in https://github.com/jpadilla/pyjwt/pull/699
    - api_jwk: Add PyJWKSet.__getitem__ by @woodruffw in https://github.com/jpadilla/pyjwt/pull/725
    - โšก๏ธ Update usage.rst by @guneybilen in https://github.com/jpadilla/pyjwt/pull/727
    - ๐Ÿ“„ Docs: mention performance reasons for reusing RSAPrivateKey when encoding by @dmahr1 in https://github.com/jpadilla/pyjwt/pull/734
    - ๐Ÿ›  Fixed typo in usage.rst by @israelabraham in https://github.com/jpadilla/pyjwt/pull/738
    - โž• Add detached payload support for JWS encoding and decoding by @fviard in https://github.com/jpadilla/pyjwt/pull/723
    - Replace various string interpolations with f-strings by @akx in https://github.com/jpadilla/pyjwt/pull/744
    - โšก๏ธ Update CHANGELOG.rst by @hipertracker in https://github.com/jpadilla/pyjwt/pull/751