Skip to content

Commit a759c45

Browse files
Prepare 2.10.0 release (#1011)
* Update changelog for 2.10.0 release * Add context to none algorithm example in Changelog * Bump version from 2.9.0 to 2.10.0 * Attempt at fixing sponsor logo rst linting errors * Apply readme.rst logo fix to docs/index.rst --------- Co-authored-by: Ben van der Harg <[email protected]>
1 parent b6b8bce commit a759c45

File tree

5 files changed

+39
-14
lines changed

5 files changed

+39
-14
lines changed

CHANGELOG.rst

+27-5
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,22 @@ Changelog
44
All notable changes to this project will be documented in this file.
55
This project adheres to `Semantic Versioning <https://semver.org/>`__.
66

7-
`Unreleased <https://github.com/jpadilla/pyjwt/compare/2.9.0...HEAD>`__
7+
`Unreleased <https://github.com/jpadilla/pyjwt/compare/2.10.0...HEAD>`__
8+
------------------------------------------------------------------------
9+
10+
11+
12+
`v2.10.0 <https://github.com/jpadilla/pyjwt/compare/2.9.0...2.10.0>`__
813
-----------------------------------------------------------------------
914

15+
1016
Changed
1117
~~~~~~~
1218

13-
- Drop support for Python 3.8 (EOL) by @kkirsche in `#1007 <https://github.com/jpadilla/pyjwt/pull/1007>`__
14-
- Use ``Sequence`` for parameter types rather than ``List`` where applicable by @imnotjames in `#970 <https://github.com/jpadilla/pyjwt/pull/970>`__
1519
- Remove algorithm requirement from JWT API, instead relying on JWS API for enforcement, by @luhn in `#975 <https://github.com/jpadilla/pyjwt/pull/975>`__
20+
- Use ``Sequence`` for parameter types rather than ``List`` where applicable by @imnotjames in `#970 <https://github.com/jpadilla/pyjwt/pull/970>`__
1621
- Add JWK support to JWT encode by @luhn in `#979 <https://github.com/jpadilla/pyjwt/pull/979>`__
17-
- Encoding and decoding payloads using the `none` algorithm
22+
- Encoding and decoding payloads using the `none` algorithm by @jpadilla in `#c2629f6 <https://github.com/jpadilla/pyjwt/commit/c2629f66c593459e02616048443231ccbe18be16>`
1823

1924
Before:
2025

@@ -30,17 +35,34 @@ Changed
3035
>>> import jwt
3136
>>> jwt.encode({"payload": "abc"}, key=None, algorithm="none")
3237
33-
- Added validation for 'sub' (subject) and 'jti' (JWT ID) claims in tokens
38+
- Added validation for 'sub' (subject) and 'jti' (JWT ID) claims in tokens by @Divan009 in `#1005 <https://github.com/jpadilla/pyjwt/pull/1005>`__
39+
- Refactor project configuration files from ``setup.cfg`` to ``pyproject.toml`` by @cleder in `#995 <https://github.com/jpadilla/pyjwt/pull/995>`__
40+
- Ruff linter and formatter changes by @gagandeepp in `#1001 <https://github.com/jpadilla/pyjwt/pull/1001>`__
41+
- Drop support for Python 3.8 (EOL) by @kkirsche in `#1007 <https://github.com/jpadilla/pyjwt/pull/1007>`__
42+
3443

3544
Fixed
3645
~~~~~
3746

3847
- Encode EC keys with a fixed bit length by @etianen in `#990 <https://github.com/jpadilla/pyjwt/pull/990>`__
48+
- Add an RTD config file to resolve Read the Docs build failures by @kurtmckee in `#977 <https://github.com/jpadilla/pyjwt/pull/977>`__
49+
- Docs: Update ``iat`` exception docs by @pachewise in `#974 <https://github.com/jpadilla/pyjwt/pull/974>`__
50+
- Docs: Fix ``decode_complete`` scope and algorithms by @RbnRncn in `#982 <https://github.com/jpadilla/pyjwt/pull/982>`__
51+
- Fix doctest for ``docs/usage.rst`` by @pachewise in `#986 <https://github.com/jpadilla/pyjwt/pull/986>`__
52+
- Fix ``test_utils.py`` not to xfail by @pachewise in `#987 <https://github.com/jpadilla/pyjwt/pull/987>`__
53+
- Docs: Correct `jwt.decode` audience param doc expression by @peter279k in `#994 <https://github.com/jpadilla/pyjwt/pull/994>`__
3954

4055
Added
4156
~~~~~
4257

58+
59+
- Add support for python 3.13 by @hugovk in `#972 <https://github.com/jpadilla/pyjwt/pull/972>`__
60+
- Create SECURITY.md by @auvipy and @jpadilla in `#973 <https://github.com/jpadilla/pyjwt/pull/973>`__
61+
- Docs: Add PS256 encoding and decoding usage by @peter279k in `#992 <https://github.com/jpadilla/pyjwt/pull/992>`__
62+
- Docs: Add API docs for PyJWK by @luhn in `#980 <https://github.com/jpadilla/pyjwt/pull/980>`__
63+
- Docs: Add EdDSA algorithm encoding/decoding usage by @peter279k in `#993 <https://github.com/jpadilla/pyjwt/pull/993>`__
4364
- Include checkers and linters for ``pyproject.toml`` in ``pre-commit`` by @cleder in `#1002 <https://github.com/jpadilla/pyjwt/pull/1002>`__
65+
- Docs: Add ES256 decoding usage by @Gautam-Hegde in `#1003 <https://github.com/jpadilla/pyjwt/pull/1003>`
4466

4567
`v2.9.0 <https://github.com/jpadilla/pyjwt/compare/2.8.0...2.9.0>`__
4668
-----------------------------------------------------------------------

README.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ A Python implementation of `RFC 7519 <https://tools.ietf.org/html/rfc7519>`_. Or
1717

1818
Sponsor
1919
-------
20+
21+
.. |auth0-logo| image:: https://github.com/user-attachments/assets/ee98379e-ee76-4bcb-943a-e25c4ea6d174
22+
:width: 160px
23+
2024
+--------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2125
| |auth0-logo| | If you want to quickly add secure token-based authentication to Python projects, feel free to check Auth0's Python SDK and free plan at `auth0.com/signup <https://auth0.com/signup?utm_source=external_sites&utm_medium=pyjwt&utm_campaign=devn_signup>`_. |
2226
+--------------+-----------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
23-
.. |auth0-logo| image:: https://github.com/user-attachments/assets/ee98379e-ee76-4bcb-943a-e25c4ea6d174
24-
:width: 160px
2527

2628
Installing
2729
----------

SECURITY.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
The following versions of this project are currently being supported with security updates.
66

7-
| Version | Supported |
8-
| ------- | ------------------ |
9-
| 2.9.x | :white_check_mark: |
10-
| < 2.8 | :x: |
7+
| Version | Supported |
8+
| ------- | ------------------ |
9+
| 2.10.x | :white_check_mark: |
10+
| < 2.9 | :x: |
1111

1212
## Reporting a Vulnerability
1313
In order for the vulnerability reports to reach maintainers as soon as possible, the preferred way is to use the "Report a vulnerability" button under the "Security" tab of the associated GitHub project. This creates a private communication channel between the reporter and the maintainers.

docs/index.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ claims securely between two parties.
77

88
Sponsor
99
-------
10+
.. |auth0-logo| image:: https://github.com/user-attachments/assets/ee98379e-ee76-4bcb-943a-e25c4ea6d174
11+
:width: 160px
12+
1013
+--------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1114
| |auth0-logo| | If you want to quickly add secure token-based authentication to Python projects, feel free to check Auth0's Python SDK and free plan at `auth0.com/signup <https://auth0.com/signup?utm_source=external_sites&utm_medium=pyjwt&utm_campaign=devn_signup>`_. |
1215
+--------------+-----------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
13-
.. |auth0-logo| image:: https://github.com/user-attachments/assets/ee98379e-ee76-4bcb-943a-e25c4ea6d174
14-
:width: 160px
1516

1617
Installation
1718
------------

jwt/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
)
2828
from .jwks_client import PyJWKClient
2929

30-
__version__ = "2.9.0"
30+
__version__ = "2.10.0"
3131

3232
__title__ = "PyJWT"
3333
__description__ = "JSON Web Token implementation in Python"

0 commit comments

Comments
 (0)