Skip to content

Commit 890657d

Browse files
Release 2.1.0 (#1175)
* Correct supported releases of Django to include 4.0. * Clean up Changelog for 2.1 release. * Release 2.1.0 * Per @Andrew-Chen-Wang review Co-authored-by: Andrew Chen Wang <[email protected]> Co-authored-by: Andrew Chen Wang <[email protected]>
1 parent b94f69e commit 890657d

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

CHANGELOG.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616

1717
## [unreleased]
1818

19+
## [2.1.0] 2022-06-19
20+
21+
### WARNING
22+
23+
Issues caused by **Release 2.0.0 breaking changes** continue to be logged. Please **make sure to carefully read these release notes** before
24+
performing a MAJOR upgrade to 2.x.
25+
26+
These issues both result in `{"error": "invalid_client"}`:
27+
28+
1. The application client secret is now hashed upon save. You must copy it before it is saved. Using the hashed value will fail.
29+
30+
2. `PKCE_REQUIRED` is now `True` by default. You should use PKCE with your client or set `PKCE_REQUIRED=False` if you are unable to fix the client.
31+
1932
### Added
20-
* Support `prompt=login` for the OIDC Authorization Code Flow end user [Authentication Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest).
21-
* #1163 Adds French translations.
22-
* #1166 Add spanish (es) translations.
33+
* #1164 Support `prompt=login` for the OIDC Authorization Code Flow end user [Authentication Request](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest).
34+
* #1163 Add French (fr) translations.
35+
* #1166 Add Spanish (es) translations.
2336

2437
### Changed
2538
* #1152 `createapplication` management command enhanced to display an auto-generated secret before it gets hashed.
39+
* #1172, #1159, #1158 documentation improvements.
40+
41+
### Fixed
42+
* #1147 Fixed 2.0.0 implementation of [hashed](https://docs.djangoproject.com/en/stable/topics/auth/passwords/) client secret to work with swapped models.
2643

2744
## [2.0.0] 2022-04-24
2845

oauth2_provider/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import django
22

33

4-
__version__ = "2.0.0"
4+
__version__ = "2.1.0"
55

66
if django.VERSION < (3, 2):
77
default_app_config = "oauth2_provider.apps.DOTConfig"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ zip_safe = False
3232
# jwcrypto has a direct dependency on six, but does not list it yet in a release
3333
# Previously, cryptography also depended on six, so this was unnoticed
3434
install_requires =
35-
django >= 2.2, != 4.0.0
35+
django >= 2.2, <= 4.1
3636
requests >= 2.13.0
3737
oauthlib >= 3.1.0
3838
jwcrypto >= 0.8.0

0 commit comments

Comments
 (0)