From c9006103b56359b3ad788bb2e380ef17dfe59b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Padilla?= Date: Sat, 17 Sep 2022 09:52:22 -0400 Subject: Bump version to 2.5.0 (#801) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: José Padilla --- CHANGELOG.rst | 42 ++++++++++++++++++++++++++++++++---------- jwt/__init__.py | 2 +- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9bd9fc3..b399dc4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,27 +4,49 @@ Changelog All notable changes to this project will be documented in this file. This project adheres to `Semantic Versioning `__. -`Unreleased `__ +`Unreleased `__ ----------------------------------------------------------------------- Changed ~~~~~~~ -- Skip keys with incompatible alg when loading JWKSet by @DaGuich in https://github.com/jpadilla/pyjwt/pull/762 -- Remove support for python3.6 -- PyJWT now emits a warning for unsupported keyword arguments being passed to - ``decode`` and ``decode_complete``. Additional keyword arguments are still - supported, but will be rejected in a future version. Fixed ~~~~~ -- Fix for pyright on strict mode `#747 `_ +Added +~~~~~ + +`v2.4.0 `__ +----------------------------------------------------------------------- + +Changed +~~~~~~~ + +- Skip keys with incompatible alg when loading JWKSet by @DaGuich in `#762 `__ +- Remove support for python3.6 by @sirosen in `#777 `__ +- Emit a deprecation warning for unsupported kwargs by @sirosen in `#776 `__ +- Remove redundant wheel dep from pyproject.toml by @mgorny in `#765 `__ +- Do not fail when an unusable key occurs by @DaGuich in `#762 `__ +- Update audience typing by @JulianMaurin in `#782 `__ +- Improve PyJWKSet error accuracy by @JulianMaurin in `#786 `__ +- Mypy as pre-commit check + api_jws typing by @JulianMaurin in `#787 `__ + +Fixed +~~~~~ + +- Adjust expected exceptions in option merging tests for PyPy3 by @mgorny in `#763 `__ +- Fixes for pyright on strict mode by @brandon-leapyear in `#747 `__ +- docs: fix simple typo, iinstance -> isinstance by @timgates42 in `#774 `__ +- Fix typo: priot -> prior by @jdufresne in `#780 `__ +- Fix for headers disorder issue by @kadabusha in `#721 `__ Added ~~~~~ -- Add to_jwk static method to ECAlgorithm by @leonsmith in https://github.com/jpadilla/pyjwt/pull/732 -- Add ``get_algorithm_by_name`` as a method of ``PyJWS`` objects, and expose - the global PyJWS method as part of the public API + +- Add to_jwk static method to ECAlgorithm by @leonsmith in `#732 `__ +- Expose get_algorithm_by_name as new method by @sirosen in `#773 `__ +- Add type hints to jwt/help.py and add missing types dependency by @kkirsche in `#784 `__ +- Add cacheing functionality for JWK set by @wuhaoyujerry in `#781 `__ `v2.4.0 `__ ----------------------------------------------------------------------- diff --git a/jwt/__init__.py b/jwt/__init__.py index a96cc6e..9f9eda9 100644 --- a/jwt/__init__.py +++ b/jwt/__init__.py @@ -26,7 +26,7 @@ from .exceptions import ( ) from .jwks_client import PyJWKClient -__version__ = "2.4.0" +__version__ = "2.5.0" __title__ = "PyJWT" __description__ = "JSON Web Token implementation in Python" -- cgit v1.2.1