v1.6.3
Changed
- All exceptions inherit from PyJWTError
Added
- Add type hints
Docs
- Added section to usage docs for jwt.get_unverified_header()
- Update legacy instructions for using pycrypto
1.6.0:
Changed
Dropped support for python 2.6 and 3.3
An invalid signature now raises an InvalidSignatureError instead of DecodeError
Fixed
Fix over-eager fallback to stdin
Added
Audience parameter now supports iterables
Changed:
* Increase required version of the cryptography package to >=1.4.0.
Fixeda:
* Remove uses of deprecated functions from the cryptography package.
* Warn about missing algorithms param to decode() only when verify param is True
[v1.4.2][1.4.2]
-------------------------------------------------------------------------
### Fixed
- A PEM-formatted key encoded as bytes could cause a `TypeError` to be raised [#213][213]
[v1.4.1][1.4.1]
-------------------------------------------------------------------------
### Fixed
- Newer versions of Pytest could not detect warnings properly [#182][182]
- Non-string 'kid' value now raises `InvalidTokenError` [#174][174]
- `jwt.decode(None)` now gracefully fails with `InvalidTokenError` [#183][183]