From a0b242b66d8bb82db42157104250631b50e38c25 Mon Sep 17 00:00:00 2001 From: Ben van der Harg Date: Mon, 29 Jul 2024 20:43:53 +0200 Subject: [PATCH 1/3] Add 2.9.0 changelog. Fixes #949. --- CHANGELOG.rst | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8bc23195..99fb08a7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,7 +4,7 @@ Changelog All notable changes to this project will be documented in this file. This project adheres to `Semantic Versioning `__. -`Unreleased `__ +`Unreleased `__ ----------------------------------------------------------------------- Changed @@ -16,6 +16,33 @@ Fixed Added ~~~~~ +`v2.9.0 `__ +----------------------------------------------------------------------- + +Changed +~~~~~~~ + +- Drop support for Python 3.7 (EOL) by @hugovk in `#910 `__ +- Allow JWT issuer claim validation to accept a list of strings too by @mattpollak in `#913 `__ + +Fixed +~~~~~ + +- Fix unnecessary string concatenation by @sirosen in `#904 `__ +- Fix docs for ``jwt.decode_complete`` to include ``strict_aud`` option by @woodruffw in `#923 `__ +- Fix docs step by @jpadilla in `#950 `__ +- Fix: Remove an unused variable from example code block by @kenkoooo in `#958 ` + +Added +~~~~~ + +- Add support for Python 3.12 by @hugovk in `#910 `__ +- Improve performance of ``is_ssh_key`` + add unit test by @bdraco in `#940 `__ +- Allow ``jwt.decode()`` to accept a PyJWK object by @luhn in `#886 `__ +- Make ``algorithm_name`` attribute available on PyJWK by @luhn in `#886 `__ +- Raise ``InvalidKeyError`` on invalid PEM keys to be compatible with cryptography 42.x.x by @CollinEMac in `#952 `__ +- Raise an exception when required cryptography dependency is missing by @tobloef in ``__ + `v2.8.0 `__ ----------------------------------------------------------------------- From 6a42b9aef310d0f340fb97c09c3a717203c54e40 Mon Sep 17 00:00:00 2001 From: Ben van der Harg Date: Mon, 29 Jul 2024 21:19:58 +0200 Subject: [PATCH 2/3] Bump version from 2.8.0 to 2.9.0 + fix trailing whitespace --- jwt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jwt/__init__.py b/jwt/__init__.py index 68d09c1c..b7a258d7 100644 --- a/jwt/__init__.py +++ b/jwt/__init__.py @@ -27,7 +27,7 @@ ) from .jwks_client import PyJWKClient -__version__ = "2.8.0" +__version__ = "2.9.0" __title__ = "PyJWT" __description__ = "JSON Web Token implementation in Python" From 17f959a3ffae07c06e946b72e81d2658579d7259 Mon Sep 17 00:00:00 2001 From: Ben van der Harg Date: Mon, 29 Jul 2024 21:22:06 +0200 Subject: [PATCH 3/3] Fix changelog markup + whitespace --- CHANGELOG.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 99fb08a7..ba22cd4b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -31,7 +31,7 @@ Fixed - Fix unnecessary string concatenation by @sirosen in `#904 `__ - Fix docs for ``jwt.decode_complete`` to include ``strict_aud`` option by @woodruffw in `#923 `__ - Fix docs step by @jpadilla in `#950 `__ -- Fix: Remove an unused variable from example code block by @kenkoooo in `#958 ` +- Fix: Remove an unused variable from example code block by @kenkoooo in `#958 `__ Added ~~~~~ @@ -39,7 +39,7 @@ Added - Add support for Python 3.12 by @hugovk in `#910 `__ - Improve performance of ``is_ssh_key`` + add unit test by @bdraco in `#940 `__ - Allow ``jwt.decode()`` to accept a PyJWK object by @luhn in `#886 `__ -- Make ``algorithm_name`` attribute available on PyJWK by @luhn in `#886 `__ +- Make ``algorithm_name`` attribute available on PyJWK by @luhn in `#886 `__ - Raise ``InvalidKeyError`` on invalid PEM keys to be compatible with cryptography 42.x.x by @CollinEMac in `#952 `__ - Raise an exception when required cryptography dependency is missing by @tobloef in ``__