You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
17
17
## [unreleased]
18
18
### Added
19
+
* Add migration to include `token_checksum` field in AbstractAccessToken model.
20
+
* Added compatibility with `LoginRequiredMiddleware` introduced in Django 5.1
19
21
*#1404 Add a new setting `REFRESH_TOKEN_REUSE_PROTECTION`
20
22
### Changed
23
+
* Update token to TextField from CharField with 255 character limit and SHA-256 checksum in AbstractAccessToken model. Removing the 255 character limit enables supporting JWT tokens with additional claims
24
+
* Update middleware, validators, and views to use token checksums instead of token for token retrieval and validation.
25
+
*#1446 use generic models pk instead of id.
21
26
* Transactions wrapping writes of the Tokens now rely on Django's database routers to determine the correct
22
27
database to use instead of assuming that 'default' is the correct one.
23
28
24
29
### Deprecated
25
30
### Removed
26
31
*#1425 Remove deprecated `RedirectURIValidator`, `WildcardSet` per #1345; `validate_logout_request` per #1274
32
+
* Remove support for Django versions below 4.2
27
33
28
34
### Fixed
29
35
*#1443 Query strings with invalid hex values now raise a SuspiciousOperation exception (in DRF extension) instead of raising a 500 ValueError: Invalid hex encoding in query string.
0 commit comments