What's Changed
- Add classifier for Python 3.11 by @eseifert in #818
- Add
Algorithm.compute_hash_digest
and use it to implement at_hash validation example by @sirosen in #775 - fix: use datetime.datetime.timestamp function to have a milliseconds by @daillouf in #821
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #825
- Custom header configuration in jwk client by @thundercat1 in #823
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #828
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #833
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #835
- Add PyJWT._{de,en}code_payload hooks by @akx in #829
- Add
sort_headers
parameter toapi_jwt.encode
by @evroon in #832 - Make mypy configuration stricter and improve typing by @akx in #830
- Bump actions/stale from 6 to 7 by @dependabot in #840
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #838
- Add more types by @Viicos in #843
- Differentiate between two errors by @irdkwmnsb in #809
- Fix
_validate_iat
validation by @Viicos in #847 - Improve error messages when cryptography isn't installed by @Viicos in #846
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #852
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #855
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #859
- Make
Algorithm
an abstract base class by @Viicos in #845 - docs: correct mistake in the changelog about verify param by @gbillig in #866
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #868
- Bump actions/stale from 7 to 8 by @dependabot in #872
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #874
- Add a timeout for PyJWKClient requests by @daviddavis in #875
- Add client connection error exception by @daviddavis in #876
- Add complete types to take all allowed keys into account by @Viicos in #873
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #878
- Build and upload PyPI package by @jpadilla in #884
- Fix for issue #862 - ignore invalid keys in a jwks. by @timw6n in #863
- Add
as_dict
option toAlgorithm.to_jwk
by @fluxth in #881
New Contributors
- @eseifert made their first contribution in #818
- @daillouf made their first contribution in #821
- @thundercat1 made their first contribution in #823
- @evroon made their first contribution in #832
- @Viicos made their first contribution in #843
- @irdkwmnsb made their first contribution in #809
- @gbillig made their first contribution in #866
- @daviddavis made their first contribution in #875
- @timw6n made their first contribution in #863
- @fluxth made their first contribution in #881
Full Changelog: 2.6.0...2.7.0