Skip to content

Commit defdc16

Browse files
committed
update changelog
1 parent c387281 commit defdc16

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CHANGELOG.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@ Changed
1313
- Use ``Sequence`` for parameter types rather than ``List`` where applicable by @imnotjames in `#970 <https://github.com/jpadilla/pyjwt/pull/970>`__
1414
- Remove algorithm requirement from JWT API, instead relying on JWS API for enforcement, by @luhn in `#975 <https://github.com/jpadilla/pyjwt/pull/975>`__
1515
- Add JWK support to JWT encode by @luhn in `#979 <https://github.com/jpadilla/pyjwt/pull/979>`__
16+
- Encoding and decoding payloads using the `none` algorithm
17+
18+
Before:
19+
20+
```
21+
jwt.encode({"payload":"abc"}, key=None, algorithm=None)
22+
```
23+
24+
After:
25+
26+
```
27+
jwt.encode({"payload":"abc"}, key=None, algorithm='none')
28+
```
1629

1730
Fixed
1831
~~~~~

0 commit comments

Comments
 (0)