chore(deps-dev): bump pyjwt from 2.9.0 to 2.12.0 by dependabot[bot] · Pull Request #1007 · microsoftgraph/msgraph-beta-sdk-python
Bumps pyjwt from 2.9.0 to 2.12.0.
Release notes
Sourced from pyjwt's releases.
2.12.0
Security
- Validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. by
@dmbs335in GHSA-752w-5fwx-jx9fWhat's Changed
- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1132- chore(docs): fix docs build by
@tamirdin jpadilla/pyjwt#1137- Annotate PyJWKSet.keys for pyright by
@tamirdin jpadilla/pyjwt#1134- fix: close HTTPError to prevent ResourceWarning on Python 3.14 by
@veeceeyin jpadilla/pyjwt#1133- chore: remove superfluous constants by
@tamirdin jpadilla/pyjwt#1136- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1135- chore(tests): enable mypy by
@tamirdin jpadilla/pyjwt#1138- Bump actions/download-artifact from 7 to 8 by
@dependabot[bot] in jpadilla/pyjwt#1142- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1141- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1145- fix: do not store reference to algorithms dict on PyJWK by
@akxin jpadilla/pyjwt#1143- Use PyJWK algorithm when encoding without explicit algorithm by
@jpadillain jpadilla/pyjwt#1148New Contributors
@tamirdmade their first contribution in jpadilla/pyjwt#1137@veeceeymade their first contribution in jpadilla/pyjwt#1133Full Changelog: jpadilla/pyjwt@2.11.0...2.12.0
2.11.0
What's Changed
- Fixed type error in comment by
@shuhaib-aotin jpadilla/pyjwt#1026- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1018- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1033- Make note of use of leeway with nbf by
@djw8605in jpadilla/pyjwt#1034- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1035- Fixes #964: Validate key against allowed types for Algorithm family by
@pachewisein jpadilla/pyjwt#985- Feat #1024: Add iterator for PyJWKSet by
@pachewisein jpadilla/pyjwt#1041- Fixes #1039: Add iss, issuer type checks by
@pachewisein jpadilla/pyjwt#1040- Fixes #660: Improve typing/logic for
optionsin decode, decode_complete; Improve docs by@pachewisein jpadilla/pyjwt#1045- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1042- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1052- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1053- Fix #1022: Map
algorithm=Noneto "none" by@qqiiin jpadilla/pyjwt#1056- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1055- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1058- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1060- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1061- Fixes #1047: Correct
PyJWKClient.get_signing_key_from_jwtannotation by@khvn26in jpadilla/pyjwt#1048- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1062- Fixed doc string typo in _validate_jti() function #1063 by
@kuldeepkhatkein jpadilla/pyjwt#1064- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1065- Update SECURITY.md by
@auvipyin jpadilla/pyjwt#1057- Typing fix: use
floatinstead ofintforlifespanandtimeoutby@nikitagashkovin jpadilla/pyjwt#1068- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci[bot] in jpadilla/pyjwt#1067
... (truncated)
Changelog
Sourced from pyjwt's changelog.
v2.12.0 <https://github.com/jpadilla/pyjwt/compare/2.11.0...2.12.0>__Fixed
- Annotate PyJWKSet.keys for pyright by @tamird in `[#1134](https://github.com/jpadilla/pyjwt/issues/1134) <https://github.com/jpadilla/pyjwt/pull/1134>`__ - Close ``HTTPError`` response to prevent ``ResourceWarning`` on Python 3.14 by @veeceey in `[#1133](https://github.com/jpadilla/pyjwt/issues/1133) <https://github.com/jpadilla/pyjwt/pull/1133>`__ - Do not keep ``algorithms`` dict in PyJWK instances by @akx in `[#1143](https://github.com/jpadilla/pyjwt/issues/1143) <https://github.com/jpadilla/pyjwt/pull/1143>`__ - Validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. by @dmbs335 in `GHSA-752w-5fwx-jx9f <https://github.com/jpadilla/pyjwt/security/advisories/GHSA-752w-5fwx-jx9f>`__ - Use PyJWK algorithm when encoding without explicit algorithm in `[#1148](https://github.com/jpadilla/pyjwt/issues/1148) <https://github.com/jpadilla/pyjwt/pull/1148>`__
Added
- Docs: Add
PyJWKClientAPI reference and document the two-tier caching system (JWK Set cache and signing key LRU cache).
v2.11.0 <https://github.com/jpadilla/pyjwt/compare/2.10.1...2.11.0>__Fixed
- Enforce ECDSA curve validation per RFC 7518 Section 3.4. - Fix build system warnings by @kurtmckee in `[#1105](https://github.com/jpadilla/pyjwt/issues/1105) <https://github.com/jpadilla/pyjwt/pull/1105>`__ - Validate key against allowed types for Algorithm family in `[#964](https://github.com/jpadilla/pyjwt/issues/964) <https://github.com/jpadilla/pyjwt/pull/964>`__ - Add iterator for JWKSet in `[#1041](https://github.com/jpadilla/pyjwt/issues/1041) <https://github.com/jpadilla/pyjwt/pull/1041>`__ - Validate `iss` claim is a string during encoding and decoding by @pachewise in `[#1040](https://github.com/jpadilla/pyjwt/issues/1040) <https://github.com/jpadilla/pyjwt/pull/1040>`__ - Improve typing/logic for `options` in decode, decode_complete by @pachewise in `[#1045](https://github.com/jpadilla/pyjwt/issues/1045) <https://github.com/jpadilla/pyjwt/pull/1045>`__ - Declare float supported type for lifespan and timeout by @nikitagashkov in `[#1068](https://github.com/jpadilla/pyjwt/issues/1068) <https://github.com/jpadilla/pyjwt/pull/1068>`__ - Fix ``SyntaxWarning``\s/``DeprecationWarning``\s caused by invalid escape sequences by @kurtmckee in `[#1103](https://github.com/jpadilla/pyjwt/issues/1103) <https://github.com/jpadilla/pyjwt/pull/1103>`__ - Development: Build a shared wheel once to speed up test suite setup times by @kurtmckee in `[#1114](https://github.com/jpadilla/pyjwt/issues/1114) <https://github.com/jpadilla/pyjwt/pull/1114>`__ - Development: Test type annotations across all supported Python versions, increase the strictness of the type checking, and remove the mypy pre-commit hook by @kurtmckee in `[#1112](https://github.com/jpadilla/pyjwt/issues/1112) <https://github.com/jpadilla/pyjwt/pull/1112>`__
Added
- Support Python 3.14, and test against PyPy 3.10 and 3.11 by
@kurtmckeein[#1104](https://github.com/jpadilla/pyjwt/issues/1104) <https://github.com/jpadilla/pyjwt/pull/1104>__- Development: Migrate to
buildto test package building in CI by@kurtmckeein[#1108](https://github.com/jpadilla/pyjwt/issues/1108) <https://github.com/jpadilla/pyjwt/pull/1108>__- Development: Improve coverage config and eliminate unused test suite code by
@kurtmckeein[#1115](https://github.com/jpadilla/pyjwt/issues/1115) <https://github.com/jpadilla/pyjwt/pull/1115>__- Docs: Standardize CHANGELOG links to PRs by
@kurtmckeein[#1110](https://github.com/jpadilla/pyjwt/issues/1110) <https://github.com/jpadilla/pyjwt/pull/1110>__- Docs: Fix Read the Docs builds by
@kurtmckeein[#1111](https://github.com/jpadilla/pyjwt/issues/1111) <https://github.com/jpadilla/pyjwt/pull/1111>__- Docs: Add example of using leeway with nbf by
@djw8605in[#1034](https://github.com/jpadilla/pyjwt/issues/1034) <https://github.com/jpadilla/pyjwt/pull/1034>__- Docs: Refactored docs with
autodoc; addedPyJWSandjwt.algorithmsdocs by@pachewisein[#1045](https://github.com/jpadilla/pyjwt/issues/1045) <https://github.com/jpadilla/pyjwt/pull/1045>__- Docs: Documentation improvements for "sub" and "jti" claims by
@clederin[#1088](https://github.com/jpadilla/pyjwt/issues/1088) <https://github.com/jpadilla/pyjwt/pull/1088>__- Development: Add pyupgrade as a pre-commit hook by
@kurtmckeein[#1109](https://github.com/jpadilla/pyjwt/issues/1109) <https://github.com/jpadilla/pyjwt/pull/1109>__- Add minimum key length validation for HMAC and RSA keys (CWE-326). Warns by default via
InsecureKeyLengthWarningwhen keys are below
... (truncated)
Commits
bd9700cUse PyJWK algorithm when encoding without explicit algorithm (#1148)051ea34Merge commit from fork1451d70fix: do not store reference to algorithms dict on PyJWK (#1143)f3ba74c[pre-commit.ci] pre-commit autoupdate (#1145)0318ffa[pre-commit.ci] pre-commit autoupdate (#1141)a52753dBump actions/download-artifact from 7 to 8 (#1142)b85050fchore(tests): enable mypy (#1138)1272b26[pre-commit.ci] pre-commit autoupdate (#1135)99a8728chore: remove superfluous constants (#1136)412cb67fix: close HTTPError to prevent ResourceWarning on Python 3.14 (#1133)- Additional commits viewable in compare view
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
|---|---|
| pyjwt | [>= 2.10.dev0, < 2.11] |
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.