From a9342f46c7cbc43922824176757b8e308e8efb47 Mon Sep 17 00:00:00 2001 From: Tasos Katsoulas Date: Mon, 14 Nov 2022 16:01:29 +0200 Subject: [PATCH 1/2] Update HISTORY for 3.0.0 release --- HISTORY.rst | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index b22abace..8ce2e702 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,9 +3,31 @@ History ------- -pending -======= -* Fix bug in ``contrib.drf.OIDCAuthentication`` where ``error_description`` is assumed to be present in ``www-authenticate`` header despite it being optional in the spec. +3.0.0 (2022-11-14) +================== +* Gracefully handle ``www-authenticate`` header with missing ``error_description``. + Thanks `@vinitsharswat `_ and `@adamj9431 `_ +* Lint project with ``black``. +* Add support for Django 4 +* Document OIDC_OP_JWKS_ENDPOINT. + Thanks `@yoctozepto `_ +* Update typo in comments. + Thanks `@rabbit-aaron `_ +* LOGIN_REDIRECT_URL now accepts a named url pattern. + Thanks `@dispiste `_ +* Pass `OIDC_AUTH_REQUEST_EXTRA_PARAMS` to SessionRefresh + Thanks `@melanger `_ +* Remove state from from session after failed authentication attempts + Thanks `@cfra `_ +* Do not call auth.login() on session refresh. + Thanks `crgwbr `_ + +Backwards-incompatible changes: + +* Drop Python 3.6 support +* Drop Django 2.x Support +* Drop Django 3.1 support + 2.0.0 (2021-07-27) ================== From 714d0591e050c2ea607a663232cf600bf79f9659 Mon Sep 17 00:00:00 2001 From: Tasos Katsoulas Date: Mon, 14 Nov 2022 16:01:41 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Bump=20version:=202.0.0=20=E2=86=92=203.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mozilla_django_oidc/__init__.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla_django_oidc/__init__.py b/mozilla_django_oidc/__init__.py index 8c0d5d5b..528787cf 100644 --- a/mozilla_django_oidc/__init__.py +++ b/mozilla_django_oidc/__init__.py @@ -1 +1 @@ -__version__ = "2.0.0" +__version__ = "3.0.0" diff --git a/setup.cfg b/setup.cfg index 02fb467b..e8f7fb68 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2.0.0 +current_version = 3.0.0 commit = True tag = False