Skip to content

Conversation

@descope
Copy link
Contributor

@descope descope bot commented Oct 8, 2024

This PR contains the following updates:

Package Update Change
pyjwt minor ==2.8.0 -> ==2.9.0

Release Notes

jpadilla/pyjwt (pyjwt)

v2.9.0

Compare Source

Changed


- Use ``Sequence`` for parameter types rather than ``List`` where applicable by @&#8203;imnotjames in `#&#8203;970 <https://github.com/jpadilla/pyjwt/pull/970>`__
- Remove algorithm requirement from JWT API, instead relying on JWS API for enforcement, by @&#8203;luhn in `#&#8203;975 <https://github.com/jpadilla/pyjwt/pull/975>`__
- Add JWK support to JWT encode by @&#8203;luhn in `#&#8203;979 <https://github.com/jpadilla/pyjwt/pull/979>`__
- Encoding and decoding payloads using the `none` algorithm

  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

Fixed
~~~~~

- Encode EC keys with a fixed bit length by @&#8203;etianen in `#&#8203;990 <https://github.com/jpadilla/pyjwt/pull/990>`__

Added
~~~~~

- Include checkers and linters for ``pyproject.toml`` in ``pre-commit`` by @&#8203;cleder in `#&#8203;1002 <https://github.com/jpadilla/pyjwt/pull/1002>`__

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@descope descope bot added the renovate label Oct 8, 2024
@descope descope bot enabled auto-merge (squash) October 8, 2024 01:47
@github-actions
Copy link

github-actions bot commented Oct 8, 2024

Coverage report

This PR does not seem to contain any modification to coverable code.

@descope descope bot force-pushed the renovate/pyjwt-2.x branch from 3cdcbf7 to 69719f3 Compare October 22, 2024 12:39
@descope descope bot force-pushed the renovate/pyjwt-2.x branch from 69719f3 to ddb2ccb Compare October 22, 2024 13:35
@descope descope bot force-pushed the renovate/pyjwt-2.x branch from ddb2ccb to 989feec Compare October 22, 2024 14:08
descope-approve[bot]
descope-approve bot previously approved these changes Oct 22, 2024
descope-approve[bot]
descope-approve bot previously approved these changes Oct 22, 2024
@descope descope bot force-pushed the renovate/pyjwt-2.x branch from b0bf40e to 5d77c72 Compare October 22, 2024 16:22
@descope descope bot force-pushed the renovate/pyjwt-2.x branch from 5d77c72 to b21f114 Compare October 22, 2024 17:01
@descope descope bot force-pushed the renovate/pyjwt-2.x branch from b21f114 to 18e8cda Compare October 22, 2024 17:02
@descope descope bot merged commit f4ef6d1 into main Oct 22, 2024
21 checks passed
@descope descope bot deleted the renovate/pyjwt-2.x branch October 22, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant