open-api-framework 0.14.1__tar.gz → 0.15.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/CHANGELOG.rst +21 -0
  2. {open_api_framework-0.14.1/open_api_framework.egg-info → open_api_framework-0.15.0}/PKG-INFO +3 -2
  3. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/README.rst +1 -1
  4. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/conf/base.py +9 -1
  5. {open_api_framework-0.14.1 → open_api_framework-0.15.0/open_api_framework.egg-info}/PKG-INFO +3 -2
  6. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework.egg-info/requires.txt +1 -0
  7. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/pyproject.toml +4 -3
  8. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/LICENSE +0 -0
  9. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/MANIFEST.in +0 -0
  10. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/__init__.py +0 -0
  11. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/admin.py +0 -0
  12. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/apps.py +0 -0
  13. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/conf/__init__.py +0 -0
  14. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/conf/utils.py +0 -0
  15. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/context_processors.py +0 -0
  16. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/py.typed +0 -0
  17. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/static/open_api_framework/css/admin.css +0 -0
  18. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/templates/open_api_framework/admin/base_site.html +0 -0
  19. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/templates/open_api_framework/components/environment.html +0 -0
  20. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/templates/open_api_framework/components/version.html +0 -0
  21. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/templates/open_api_framework/env_config.rst +0 -0
  22. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/templatetags/__init__.py +0 -0
  23. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/templatetags/doc_tags.py +0 -0
  24. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/templatetags/open_api_framework.py +0 -0
  25. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework/utils.py +0 -0
  26. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework.egg-info/SOURCES.txt +0 -0
  27. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework.egg-info/dependency_links.txt +0 -0
  28. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/open_api_framework.egg-info/top_level.txt +0 -0
  29. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/setup.cfg +0 -0
  30. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/tests/test_admin.py +0 -0
  31. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/tests/test_csp.py +0 -0
  32. {open_api_framework-0.14.1 → open_api_framework-0.15.0}/tests/test_settings.py +0 -0
@@ -1,6 +1,27 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 0.15.0 (2026-09-09)
5
+ -------------------
6
+
7
+ **New features**
8
+
9
+ * [:open-api-framework:`226`] ``SESSION_EXPIRE_AT_BROWSER_CLOSE`` environment variable can now be used to specify whether a user's
10
+ session should end when the browser closes (default ``False``).
11
+
12
+ **Maintenance**
13
+
14
+ * [:open-api-framework:`226`] Set the default value of ``SESSION_COOKIE_AGE`` to 8 hours.
15
+
16
+ 0.14.2 (2026-09-03)
17
+ -------------------
18
+
19
+ **Maintenance**
20
+
21
+ * [:open-klant:`656`] Pin ``notifications-api-common`` to 0.13.1 or higher,
22
+ because 0.13.0 introduced changes that allowed non-string kenmerken to be forwarded,
23
+ but the Notificaties API spec does not support this, so this change had to be reverted
24
+
4
25
  0.14.1 (2026-08-17)
5
26
  -------------------
6
27
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: open-api-framework
3
- Version: 0.14.1
3
+ Version: 0.15.0
4
4
  Summary: A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings
5
5
  Author-email: Maykin Media <support@maykinmedia.nl>
6
6
  License: Copyright © Maykin 2024
@@ -86,6 +86,7 @@ Provides-Extra: csp
86
86
  Requires-Dist: django-csp>=4.0; extra == "csp"
87
87
  Provides-Extra: commonground
88
88
  Requires-Dist: commonground-api-common>=2.7.0; extra == "commonground"
89
+ Requires-Dist: notifications-api-common>=0.13.1; extra == "commonground"
89
90
  Provides-Extra: inclusions
90
91
  Requires-Dist: djangorestframework-inclusions>=1.2.0; extra == "inclusions"
91
92
  Provides-Extra: sanitization
@@ -105,7 +106,7 @@ Dynamic: license-file
105
106
  Open API Framework
106
107
  ==================
107
108
 
108
- :Version: 0.14.1
109
+ :Version: 0.15.0
109
110
  :Source: https://github.com/maykinmedia/open-api-framework
110
111
  :Keywords: metapackage, dependencies
111
112
 
@@ -1,7 +1,7 @@
1
1
  Open API Framework
2
2
  ==================
3
3
 
4
- :Version: 0.14.1
4
+ :Version: 0.15.0
5
5
  :Source: https://github.com/maykinmedia/open-api-framework
6
6
  :Keywords: metapackage, dependencies
7
7
 
@@ -1078,12 +1078,20 @@ SESSION_COOKIE_NAME = f"{PROJECT_DIRNAME}_sessionid"
1078
1078
  SESSION_ENGINE = "django.contrib.sessions.backends.cache"
1079
1079
  SESSION_COOKIE_AGE = config(
1080
1080
  "SESSION_COOKIE_AGE",
1081
- default=1209600,
1081
+ default=28800, # 8 hours
1082
1082
  documentation=DocumentationParams(
1083
1083
  help_text="For how long, in seconds, the session cookie will be valid."
1084
1084
  ),
1085
1085
  )
1086
1086
 
1087
+ SESSION_EXPIRE_AT_BROWSER_CLOSE = config(
1088
+ "SESSION_EXPIRE_AT_BROWSER_CLOSE",
1089
+ default=False,
1090
+ documentation=DocumentationParams(
1091
+ help_text="Whether to expire the session when the user closes their browser."
1092
+ ),
1093
+ )
1094
+
1087
1095
  LOGIN_URL = "admin:login"
1088
1096
  LOGIN_REDIRECT_URL = reverse_lazy("admin:index")
1089
1097
  LOGOUT_REDIRECT_URL = reverse_lazy("admin:index")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: open-api-framework
3
- Version: 0.14.1
3
+ Version: 0.15.0
4
4
  Summary: A metapackage for registration components, that bundles the dependencies shared between these components and provides generic settings
5
5
  Author-email: Maykin Media <support@maykinmedia.nl>
6
6
  License: Copyright © Maykin 2024
@@ -86,6 +86,7 @@ Provides-Extra: csp
86
86
  Requires-Dist: django-csp>=4.0; extra == "csp"
87
87
  Provides-Extra: commonground
88
88
  Requires-Dist: commonground-api-common>=2.7.0; extra == "commonground"
89
+ Requires-Dist: notifications-api-common>=0.13.1; extra == "commonground"
89
90
  Provides-Extra: inclusions
90
91
  Requires-Dist: djangorestframework-inclusions>=1.2.0; extra == "inclusions"
91
92
  Provides-Extra: sanitization
@@ -105,7 +106,7 @@ Dynamic: license-file
105
106
  Open API Framework
106
107
  ==================
107
108
 
108
- :Version: 0.14.1
109
+ :Version: 0.15.0
109
110
  :Source: https://github.com/maykinmedia/open-api-framework
110
111
  :Keywords: metapackage, dependencies
111
112
 
@@ -26,6 +26,7 @@ flower>=2.0.1
26
26
 
27
27
  [commonground]
28
28
  commonground-api-common>=2.7.0
29
+ notifications-api-common>=0.13.1
29
30
 
30
31
  [cors]
31
32
  django-cors-headers>=4.4.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "open-api-framework"
7
- version = "0.14.1"
7
+ version = "0.15.0"
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"}
@@ -101,7 +101,8 @@ csp = [
101
101
  "django-csp>=4.0"
102
102
  ]
103
103
  commonground = [
104
- "commonground-api-common>=2.7.0"
104
+ "commonground-api-common>=2.7.0",
105
+ "notifications-api-common>=0.13.1"
105
106
  ]
106
107
  inclusions = [
107
108
  "djangorestframework-inclusions>=1.2.0"
@@ -139,7 +140,7 @@ env = [
139
140
  ]
140
141
 
141
142
  [tool.bumpversion]
142
- current_version = "0.14.1"
143
+ current_version = "0.15.0"
143
144
  files = [
144
145
  {filename = "pyproject.toml"},
145
146
  {filename = "README.rst"},