capital
capital copied to clipboard
Bump pyjwt from 2.4.0 to 2.8.0
Bumps pyjwt from 2.4.0 to 2.8.0.
Release notes
Sourced from pyjwt's releases.
2.8.0
What's Changed
- Export PyJWKClientConnectionError class by
@daviddavis
in jpadilla/pyjwt#887- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#889- Patch 1 by
@juur
in jpadilla/pyjwt#891- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#896- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#898- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#900- Update python version by
@auvipy
in jpadilla/pyjwt#895- api_jwt: add a
strict_aud
option by@woodruffw
in jpadilla/pyjwt#902New Contributors
@juur
made their first contribution in jpadilla/pyjwt#891Full Changelog: https://github.com/jpadilla/pyjwt/compare/2.7.0...2.8.0
2.7.0
What's Changed
- Add classifier for Python 3.11 by
@eseifert
in jpadilla/pyjwt#818- Add
Algorithm.compute_hash_digest
and use it to implement at_hash validation example by@sirosen
in jpadilla/pyjwt#775- fix: use datetime.datetime.timestamp function to have a milliseconds by
@daillouf
in jpadilla/pyjwt#821- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#825- Custom header configuration in jwk client by
@thundercat1
in jpadilla/pyjwt#823- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#828- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#833- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#835- Add PyJWT._{de,en}code_payload hooks by
@akx
in jpadilla/pyjwt#829- Add
sort_headers
parameter toapi_jwt.encode
by@evroon
in jpadilla/pyjwt#832- Make mypy configuration stricter and improve typing by
@akx
in jpadilla/pyjwt#830- Bump actions/stale from 6 to 7 by
@dependabot
in jpadilla/pyjwt#840- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#838- Add more types by
@Viicos
in jpadilla/pyjwt#843- Differentiate between two errors by
@irdkwmnsb
in jpadilla/pyjwt#809- Fix
_validate_iat
validation by@Viicos
in jpadilla/pyjwt#847- Improve error messages when cryptography isn't installed by
@Viicos
in jpadilla/pyjwt#846- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#852- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#855- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#859- Make
Algorithm
an abstract base class by@Viicos
in jpadilla/pyjwt#845- docs: correct mistake in the changelog about verify param by
@gbillig
in jpadilla/pyjwt#866- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#868- Bump actions/stale from 7 to 8 by
@dependabot
in jpadilla/pyjwt#872- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#874- Add a timeout for PyJWKClient requests by
@daviddavis
in jpadilla/pyjwt#875- Add client connection error exception by
@daviddavis
in jpadilla/pyjwt#876- Add complete types to take all allowed keys into account by
@Viicos
in jpadilla/pyjwt#873- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jpadilla/pyjwt#878- Build and upload PyPI package by
@jpadilla
in jpadilla/pyjwt#884- Fix for issue #862 - ignore invalid keys in a jwks. by
@timw6n
in jpadilla/pyjwt#863- Add
as_dict
option toAlgorithm.to_jwk
by@fluxth
in jpadilla/pyjwt#881
... (truncated)
Changelog
Sourced from pyjwt's changelog.
v2.8.0 <https://github.com/jpadilla/pyjwt/compare/2.7.0...2.8.0>
__Changed
- Update python version test matrix by @auvipy in `[#895](https://github.com/jpadilla/pyjwt/issues/895) <https://github.com/jpadilla/pyjwt/pull/895>`__
Fixed
Added
- Add
strict_aud
as an option tojwt.decode
by@woodruffw
in[#902](https://github.com/jpadilla/pyjwt/issues/902) <https://github.com/jpadilla/pyjwt/pull/902>
__- Export PyJWKClientConnectionError class by
@daviddavis
in[#887](https://github.com/jpadilla/pyjwt/issues/887) <https://github.com/jpadilla/pyjwt/pull/887>
__- Allows passing of ssl.SSLContext to PyJWKClient by
@juur
in[#891](https://github.com/jpadilla/pyjwt/issues/891) <https://github.com/jpadilla/pyjwt/pull/891>
__
v2.7.0 <https://github.com/jpadilla/pyjwt/compare/2.6.0...2.7.0>
__Changed
- Changed the error message when the token audience doesn't match the expected audience by
@irdkwmnsb
[#809](https://github.com/jpadilla/pyjwt/issues/809) <https://github.com/jpadilla/pyjwt/pull/809>
__- Improve error messages when cryptography isn't installed by
@Viicos
in[#846](https://github.com/jpadilla/pyjwt/issues/846) <https://github.com/jpadilla/pyjwt/pull/846>
__- Make
Algorithm
an abstract base class by@Viicos
in[#845](https://github.com/jpadilla/pyjwt/issues/845) <https://github.com/jpadilla/pyjwt/pull/845>
__- ignore invalid keys in a jwks by
@timw6n
in[#863](https://github.com/jpadilla/pyjwt/issues/863) <https://github.com/jpadilla/pyjwt/pull/863>
__Fixed
- Add classifier for Python 3.11 by @eseifert in `[#818](https://github.com/jpadilla/pyjwt/issues/818) <https://github.com/jpadilla/pyjwt/pull/818>`__ - Fix ``_validate_iat`` validation by @Viicos in `[#847](https://github.com/jpadilla/pyjwt/issues/847) <https://github.com/jpadilla/pyjwt/pull/847>`__ - fix: use datetime.datetime.timestamp function to have a milliseconds by @daillouf `[#821](https://github.com/jpadilla/pyjwt/issues/821) <https://github.com/jpadilla/pyjwt/pull/821>`__ - docs: correct mistake in the changelog about verify param by @gbillig in `[#866](https://github.com/jpadilla/pyjwt/issues/866) <https://github.com/jpadilla/pyjwt/pull/866>`__
Added
- Add
compute_hash_digest
as a method ofAlgorithm
objects, which uses the underlying hash algorithm to compute a digest. If there is no appropriate hash algorithm, aNotImplementedError
will be raised in[#775](https://github.com/jpadilla/pyjwt/issues/775) <https://github.com/jpadilla/pyjwt/pull/775>
__- Add optional
headers
argument toPyJWKClient
. If provided, the headers will be included in requests that the client uses when fetching the JWK set by@thundercat1
in[#823](https://github.com/jpadilla/pyjwt/issues/823) <https://github.com/jpadilla/pyjwt/pull/823>
__- Add PyJWT._{de,en}code_payload hooks by
@akx
in[#829](https://github.com/jpadilla/pyjwt/issues/829) <https://github.com/jpadilla/pyjwt/pull/829>
__- Add
sort_headers
parameter toapi_jwt.encode
by@evroon
in[#832](https://github.com/jpadilla/pyjwt/issues/832) <https://github.com/jpadilla/pyjwt/pull/832>
__- Make mypy configuration stricter and improve typing by
@akx
in[#830](https://github.com/jpadilla/pyjwt/issues/830) <https://github.com/jpadilla/pyjwt/pull/830>
__- Add more types by
@Viicos
in[#843](https://github.com/jpadilla/pyjwt/issues/843) <https://github.com/jpadilla/pyjwt/pull/843>
__- Add a timeout for PyJWKClient requests by
@daviddavis
in[#875](https://github.com/jpadilla/pyjwt/issues/875) <https://github.com/jpadilla/pyjwt/pull/875>
__
... (truncated)
Commits
72ad55f
bump version22ba132
api_jwt: add astrict_aud
option (#902)6db5df7
Update python version (#895)6e70276
[pre-commit.ci] pre-commit autoupdate (#900)ea35155
[pre-commit.ci] pre-commit autoupdate (#898)faeae6e
[pre-commit.ci] pre-commit autoupdate (#896)6cef6f2
Patch 1 (#891)7f07d50
[pre-commit.ci] pre-commit autoupdate (#889)1c27281
Export PyJWKClientConnectionError class (#887)d7c54db
chore: update readme- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)