python-jose v3.1.0 Release Notes

Release Date: 2019-12-10 // almost 2 years ago
  • ๐Ÿ”„ Changes

    ๐Ÿ”‹ Features

    • ๐Ÿ‘Œ Improve JWT.decode() #76 (fixes #75)
    • ๐Ÿ›  Sort headers when serializing to allow for headless JWT #136 (fixes #80)
    • Adjust dependency handling
      • Use PyCryptodome instead of PyCrypto #83
      • Update package dependencies #124 (fixes #158)
    • ๐Ÿ—„ Avoid using deprecated methods #85
    • ๐Ÿ‘Œ Support X509 certificates #107
    • ๐Ÿ›  Isolate and flesh out cryptographic backends to enable independent operation #129 (fixes #114)
      • Remove pyca/cryptography backend's dependency on python-ecdsa #117
      • Remove pycrypto/dome backends' dependency on python-rsa #121
      • Make pyca/cryptography backend the preferred backend if multiple backends are present #122

    ๐Ÿ›  Bugfixes/Improvements

    • Enable flake8 check in tox/TravisCI #77
    • ๐Ÿ›  Fix crytography dependency typo #94
    • โœ… Trigger tests using python setup.py test #97
    • Properly raise an error if a claim is expected and not given #98
    • ๐Ÿ›  Typo fixes #110
    • ๐Ÿ›  Fix invalid RSA private key PKCS8 encoding by python-rsa backend #120 (fixes #119)
    • โœ‚ Remove future dependency #134 (fixes #112)
    • ๐Ÿ›  Fix incorrect use of pytest.raises(message=...) #141
    • Typo fix #143
    • ๐Ÿ›ฐ Clarify sign docstring to allow for dict payload #150

    Housekeeping

    • โšก๏ธ Streamline the code a bit and update classifiers #87
    • ๐Ÿ›  Fix typo and rephrase access_token documentation #89
    • ๐Ÿ‘• Code linting now mostly honors flake8 #101
    • Document using a dict for jwt.encode and jwt.decode #103
    • โœ… Include docs and tests in source distributions #111
    • โšก๏ธ Updating README descriptions of crypto backends #130
    • Document versioning policy #131
    • โž• Add CHANGELOG.rst #132 (fixes #99)
    • Simplify and extend .travis.yml #135
    • โšก๏ธ Move CHANGELOG.rst to CHANGELOG.md and update it #158

    Special Thanks