File tree 5 files changed +28
-6
lines changed
5 files changed +28
-6
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
+ 0.7.1 (2024-08-16)
5
+ ------------------
6
+
7
+ **Bugfixes **
8
+
9
+ * Add missing help_text for SESSION_COOKIE_SAMESITE and CSRF_COOKIE_SAMESITE envvars
10
+
4
11
0.7.0 (2024-08-15)
5
12
------------------
6
13
Original file line number Diff line number Diff line change 1
1
Open API Framework
2
2
==================
3
3
4
- :Version: 0.7.0
4
+ :Version: 0.7.1
5
5
:Source: https://github.com/maykinmedia/open-api-framework
6
6
:Keywords: metapackage, dependencies
7
7
Original file line number Diff line number Diff line change 26
26
author = "Maykin Media"
27
27
28
28
# The full version, including alpha/beta/rc tags
29
- release = "0.7.0 "
29
+ release = "0.7.1 "
30
30
31
31
32
32
# -- General configuration ---------------------------------------------------
Original file line number Diff line number Diff line change 539
539
#
540
540
SESSION_COOKIE_SECURE = IS_HTTPS
541
541
SESSION_COOKIE_HTTPONLY = True
542
- SESSION_COOKIE_SAMESITE = config ("SESSION_COOKIE_SAMESITE" , "Strict" )
542
+ SESSION_COOKIE_SAMESITE = config (
543
+ "SESSION_COOKIE_SAMESITE" ,
544
+ "Strict" ,
545
+ help_text = (
546
+ "The value of the SameSite flag on the session cookie. This flag prevents the "
547
+ "cookie from being sent in cross-site requests thus preventing CSRF attacks and "
548
+ "making some methods of stealing session cookie impossible."
549
+ ),
550
+ )
543
551
544
552
CSRF_COOKIE_SECURE = IS_HTTPS
545
- CSRF_COOKIE_SAMESITE = config ("CSRF_COOKIE_SAMESITE" , "Strict" )
553
+ CSRF_COOKIE_SAMESITE = config (
554
+ "CSRF_COOKIE_SAMESITE" ,
555
+ "Strict" ,
556
+ help_text = (
557
+ "The value of the SameSite flag on the CSRF cookie. This flag prevents the cookie "
558
+ "from being sent in cross-site requests."
559
+ ),
560
+ )
546
561
547
562
X_FRAME_OPTIONS = "DENY"
548
563
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " open_api_framework"
7
- version = " 0.7.0 "
7
+ version = " 0.7.1 "
8
8
description = " A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings"
9
9
authors = [
10
10
{name = " Maykin Media" , email = " support@maykinmedia.nl" }
@@ -100,7 +100,7 @@ testpaths = ["tests"]
100
100
DJANGO_SETTINGS_MODULE = " testapp.settings"
101
101
102
102
[tool .bumpversion ]
103
- current_version = " 0.7.0 "
103
+ current_version = " 0.7.1 "
104
104
files = [
105
105
{filename = " pyproject.toml" },
106
106
{filename = " README.rst" },
You can’t perform that action at this time.
0 commit comments