From defdc16432ae6b27bf84920449e0353aa30ef081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Padilla?= Date: Mon, 7 Oct 2024 16:42:55 -0400 Subject: [PATCH] update changelog --- CHANGELOG.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 16bc1f2f..d23dccd8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -13,6 +13,19 @@ Changed - Use ``Sequence`` for parameter types rather than ``List`` where applicable by @imnotjames in `#970 `__ - Remove algorithm requirement from JWT API, instead relying on JWS API for enforcement, by @luhn in `#975 `__ - Add JWK support to JWT encode by @luhn in `#979 `__ +- Encoding and decoding payloads using the `none` algorithm + + Before: + + ``` + jwt.encode({"payload":"abc"}, key=None, algorithm=None) + ``` + + After: + + ``` + jwt.encode({"payload":"abc"}, key=None, algorithm='none') + ``` Fixed ~~~~~