From 251364179aeca54b6d4ed940df36b414194fd994 Mon Sep 17 00:00:00 2001 From: Giuseppe Date: Thu, 30 Jul 2020 14:58:43 +0200 Subject: [PATCH] v0.30.0 --- CHANGES | 6 ++++++ setup.py | 2 +- tests/settings.py | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index f06c3d82..ad8b9c49 100644 --- a/CHANGES +++ b/CHANGES @@ -1,7 +1,13 @@ Changes ======= +0.30.0 (2020-07-30) +------------------- +- SameSite cookie handled in a separate context (request.saml_session) +- local logout happens even if SAML2 SLO have troubles + 0.20.0 (2020-06-29) +------------------- - Bugfix: Always save newly created users when ATTRIBUTE_MAPPING is missing in the config - pySAML2 v5.3.0 diff --git a/setup.py b/setup.py index 8a5f66a5..36516a99 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def read(*rnames): setup( name='djangosaml2', - version='0.20.0', + version='0.30.0', description='pysaml2 integration for Django', long_description=read('README.rst'), classifiers=[ diff --git a/tests/settings.py b/tests/settings.py index 97c4c200..f5c13348 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -26,7 +26,7 @@ INSTALLED_APPS = ( 'testprofiles', - + 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', @@ -45,6 +45,8 @@ 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', + + 'djangosaml2.middleware.SamlSessionMiddleware' ) ROOT_URLCONF = 'testprofiles.urls'