Bump pyjwt from 2.8.0 to 2.10.1
Bumps pyjwt from 2.8.0 to 2.10.1.
Release notes
Sourced from pyjwt's releases.
2.10.1
Fixed
- Prevent partial matching of
issclaim. Thanks@fabianbadoi! (See: https://github.com/jpadilla/pyjwt/security/advisories/GHSA-75c5-xw7c-p5pm)Full Changelog: https://github.com/jpadilla/pyjwt/compare/2.10.0...2.10.1
2.10.0
What's Changed
- chore: use sequence for typing rather than list by
@imnotjamesin jpadilla/pyjwt#970- Add support for Python 3.13 by
@hugovkin jpadilla/pyjwt#972- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#971- Add an RTD config file to resolve RTD build failures by
@kurtmckeein jpadilla/pyjwt#977- docs: Update
iatexception docs by@pachewisein jpadilla/pyjwt#974- Remove algorithm requirement for JWT API by
@luhnin jpadilla/pyjwt#975- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#978- Create SECURITY.md by
@auvipyin jpadilla/pyjwt#973- docs fix: decode_complete scope and algorithms by
@RbnRncnin jpadilla/pyjwt#982- fix doctest for docs/usage.rst by
@pachewisein jpadilla/pyjwt#986- fix test_utils.py not to xfail by
@pachewisein jpadilla/pyjwt#987- Correct jwt.decode audience param doc expression by
@peter279kin jpadilla/pyjwt#994- Add PS256 encoding and decoding usage by
@peter279kin jpadilla/pyjwt#992- Add API docs for PyJWK by
@luhnin jpadilla/pyjwt#980- Refactor project configuration files from setup.cfg to pyproject.toml PEP-518 by
@clederin jpadilla/pyjwt#995- Add JWK support to JWT encode by
@luhnin jpadilla/pyjwt#979- Update pre-commit hooks to lint pyproject.toml by
@clederin jpadilla/pyjwt#1002- Add EdDSA algorithm encoding/decoding usage by
@peter279kin jpadilla/pyjwt#993- Ruff linter and formatter changes by
@gagandeeppin jpadilla/pyjwt#1001- Validate
subandjticlaims for the token by@Divan009in jpadilla/pyjwt#1005- Add ES256 usage by
@Gautam-Hegdein jpadilla/pyjwt#1003- Encode EC keys with a fixed bit length by
@way-davein jpadilla/pyjwt#990- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#1000- Drop support for Python 3.8 by
@kkirschein jpadilla/pyjwt#1007- Prepare 2.10.0 release by
@benvdhin jpadilla/pyjwt#1011- Bump codecov/codecov-action from 4 to 5 by
@dependabotin jpadilla/pyjwt#1014- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jpadilla/pyjwt#1006New Contributors
@imnotjamesmade their first contribution in jpadilla/pyjwt#970@kurtmckeemade their first contribution in jpadilla/pyjwt#977@pachewisemade their first contribution in jpadilla/pyjwt#974@RbnRncnmade their first contribution in jpadilla/pyjwt#982@peter279kmade their first contribution in jpadilla/pyjwt#994@cledermade their first contribution in jpadilla/pyjwt#995@gagandeeppmade their first contribution in jpadilla/pyjwt#1001@Divan009made their first contribution in jpadilla/pyjwt#1005@Gautam-Hegdemade their first contribution in jpadilla/pyjwt#1003@way-davemade their first contribution in jpadilla/pyjwt#990Full Changelog: https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0
... (truncated)
Changelog
Sourced from pyjwt's changelog.
v2.10.1 <https://github.com/jpadilla/pyjwt/compare/2.10.0...2.10.1>__Fixed
- Prevent partial matching of `iss` claim by @fabianbadoi in `GHSA-75c5-xw7c-p5pm <https://github.com/jpadilla/pyjwt/security/advisories/GHSA-75c5-xw7c-p5pm>`__
v2.10.0 <https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0>__Changed
Remove algorithm requirement from JWT API, instead relying on JWS API for enforcement, by
@luhnin[#975](https://github.com/jpadilla/pyjwt/issues/975) <https://github.com/jpadilla/pyjwt/pull/975>__Use
Sequencefor parameter types rather thanListwhere applicable by@imnotjamesin[#970](https://github.com/jpadilla/pyjwt/issues/970) <https://github.com/jpadilla/pyjwt/pull/970>__Add JWK support to JWT encode by
@luhnin[#979](https://github.com/jpadilla/pyjwt/issues/979) <https://github.com/jpadilla/pyjwt/pull/979>__Encoding and decoding payloads using the
nonealgorithm by@jpadillain#c2629f6 <https://github.com/jpadilla/pyjwt/commit/c2629f66c593459e02616048443231ccbe18be16>Before:
.. code-block:: pycon
import jwt jwt.encode({"payload": "abc"}, key=None, algorithm=None)
After:
.. code-block:: pycon
import jwt jwt.encode({"payload": "abc"}, key=None, algorithm="none")
Added validation for 'sub' (subject) and 'jti' (JWT ID) claims in tokens by
@Divan009in[#1005](https://github.com/jpadilla/pyjwt/issues/1005) <https://github.com/jpadilla/pyjwt/pull/1005>__Refactor project configuration files from
setup.cfgtopyproject.tomlby@clederin[#995](https://github.com/jpadilla/pyjwt/issues/995) <https://github.com/jpadilla/pyjwt/pull/995>__Ruff linter and formatter changes by
@gagandeeppin[#1001](https://github.com/jpadilla/pyjwt/issues/1001) <https://github.com/jpadilla/pyjwt/pull/1001>__Drop support for Python 3.8 (EOL) by
@kkirschein[#1007](https://github.com/jpadilla/pyjwt/issues/1007) <https://github.com/jpadilla/pyjwt/pull/1007>__Fixed
- Encode EC keys with a fixed bit length by @etianen in `[#990](https://github.com/jpadilla/pyjwt/issues/990) <https://github.com/jpadilla/pyjwt/pull/990>`__ - Add an RTD config file to resolve Read the Docs build failures by @kurtmckee in `[#977](https://github.com/jpadilla/pyjwt/issues/977) <https://github.com/jpadilla/pyjwt/pull/977>`__ - Docs: Update ``iat`` exception docs by @pachewise in `[#974](https://github.com/jpadilla/pyjwt/issues/974) <https://github.com/jpadilla/pyjwt/pull/974>`__ - Docs: Fix ``decode_complete`` scope and algorithms by @RbnRncn in `[#982](https://github.com/jpadilla/pyjwt/issues/982) <https://github.com/jpadilla/pyjwt/pull/982>`__ - Fix doctest for ``docs/usage.rst`` by @pachewise in `[#986](https://github.com/jpadilla/pyjwt/issues/986) <https://github.com/jpadilla/pyjwt/pull/986>`__ </tr></table>
... (truncated)
Commits
3ebbb22fix lint37748dcupdate changelog33022c2Merge commit from fork783f324[pre-commit.ci] pre-commit autoupdate (#1006)0116fc6Bump codecov/codecov-action from 4 to 5 (#1014)b032353feat: surfacejwt.decode_complete(...)a759c45Prepare 2.10.0 release (#1011)b6b8bceDrop support for Python 3.8 (#1007)189c256Update index.rst1900857Update index.rst- Additional commits viewable in compare view
You can trigger a rebase of this PR 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 mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@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)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code