open-api-framework 0.13.0__tar.gz → 0.13.2__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.
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/CHANGELOG.rst +20 -4
- {open_api_framework-0.13.0/open_api_framework.egg-info → open_api_framework-0.13.2}/PKG-INFO +2 -2
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/README.rst +1 -1
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/conf/base.py +8 -3
- {open_api_framework-0.13.0 → open_api_framework-0.13.2/open_api_framework.egg-info}/PKG-INFO +2 -2
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/pyproject.toml +2 -2
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/tests/test_generate_envvar_docs.py +1 -1
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/LICENSE +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/MANIFEST.in +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/__init__.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/admin.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/apps.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/conf/__init__.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/conf/utils.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/context_processors.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/management/__init__.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/management/commands/__init__.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/management/commands/generate_envvar_docs.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/py.typed +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/static/open_api_framework/css/admin.css +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/templates/open_api_framework/admin/base_site.html +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/templates/open_api_framework/components/environment.html +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/templates/open_api_framework/components/version.html +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/templates/open_api_framework/env_config.rst +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/templatetags/__init__.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/templatetags/doc_tags.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/templatetags/open_api_framework.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/utils.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework.egg-info/SOURCES.txt +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework.egg-info/dependency_links.txt +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework.egg-info/requires.txt +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework.egg-info/top_level.txt +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/setup.cfg +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/tests/test_admin.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/tests/test_config_helpers.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/tests/test_csp.py +0 -0
- {open_api_framework-0.13.0 → open_api_framework-0.13.2}/tests/test_settings.py +0 -0
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
0.13.2 (2025-11-13)
|
|
5
|
+
-------------------
|
|
6
|
+
|
|
7
|
+
**Documentation**
|
|
8
|
+
|
|
9
|
+
* Updated the help text of ``DB_POOL_ENABLED`` to indicate that connection pooling is experimental and not recommended for production use.
|
|
10
|
+
* Added a reference to the connection pooling documentation.
|
|
11
|
+
|
|
12
|
+
0.13.1 (2025-10-03)
|
|
13
|
+
-------------------
|
|
14
|
+
|
|
15
|
+
**Bugfixes**
|
|
16
|
+
|
|
17
|
+
* Avoid duplicate ``commonground_api_common`` logs by setting propagate to ``False`` and
|
|
18
|
+
use the correct handlers for this logger
|
|
19
|
+
|
|
4
20
|
0.13.0 (2025-09-18)
|
|
5
21
|
-------------------
|
|
6
22
|
|
|
@@ -16,7 +32,7 @@ Changelog
|
|
|
16
32
|
* **structlog**: ``structlog``, ``django-structlog``
|
|
17
33
|
* **structlog-celery**: ``structlog``, ``django-structlog[celery]``
|
|
18
34
|
|
|
19
|
-
* [#178] Add option to configure whether to use structlog or standard logging (default: stdlib logging).
|
|
35
|
+
* [#178] Add option to configure whether to use structlog or standard logging (default: stdlib logging).
|
|
20
36
|
To enable structlog, downstream projects can do the following in their base settings:
|
|
21
37
|
|
|
22
38
|
.. code-block:: python
|
|
@@ -34,9 +50,9 @@ Changelog
|
|
|
34
50
|
* Pin ```django-csp``` to 4.0 or higher.
|
|
35
51
|
|
|
36
52
|
.. warning::
|
|
37
|
-
|
|
38
|
-
The CSP environment variables function the same as with 3.8, but if any changes are made to
|
|
39
|
-
CSP settings for downstream projects (like adding extra values to directives via the old 3.8 settings),
|
|
53
|
+
|
|
54
|
+
The CSP environment variables function the same as with 3.8, but if any changes are made to
|
|
55
|
+
CSP settings for downstream projects (like adding extra values to directives via the old 3.8 settings),
|
|
40
56
|
manual action is needed to make sure it works with 4.0
|
|
41
57
|
(`see documentation <https://django-csp.readthedocs.io/en/latest/configuration.html#migrating-from-django-csp-3-8>`_)
|
|
42
58
|
|
{open_api_framework-0.13.0/open_api_framework.egg-info → open_api_framework-0.13.2}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: open-api-framework
|
|
3
|
-
Version: 0.13.
|
|
3
|
+
Version: 0.13.2
|
|
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
|
|
@@ -96,7 +96,7 @@ Dynamic: license-file
|
|
|
96
96
|
Open API Framework
|
|
97
97
|
==================
|
|
98
98
|
|
|
99
|
-
:Version: 0.13.
|
|
99
|
+
:Version: 0.13.2
|
|
100
100
|
:Source: https://github.com/maykinmedia/open-api-framework
|
|
101
101
|
:Keywords: metapackage, dependencies
|
|
102
102
|
|
|
@@ -164,7 +164,12 @@ DATABASES["default"]["CONN_MAX_AGE"] = config(
|
|
|
164
164
|
DB_POOL_ENABLED = config(
|
|
165
165
|
"DB_POOL_ENABLED",
|
|
166
166
|
default=False,
|
|
167
|
-
help_text=(
|
|
167
|
+
help_text=(
|
|
168
|
+
"**Experimental:** Whether to use connection pooling. "
|
|
169
|
+
"This feature is not yet recommended for production use. "
|
|
170
|
+
"See the documentation for details: "
|
|
171
|
+
"https://open-api-framework.readthedocs.io/en/latest/connection_pooling.html"
|
|
172
|
+
),
|
|
168
173
|
group="Database",
|
|
169
174
|
)
|
|
170
175
|
|
|
@@ -716,9 +721,9 @@ if _USE_STRUCTLOG:
|
|
|
716
721
|
"propagate": False,
|
|
717
722
|
},
|
|
718
723
|
"vng_api_common": {
|
|
719
|
-
"handlers":
|
|
724
|
+
"handlers": logging_root_handlers,
|
|
720
725
|
"level": LOG_LEVEL,
|
|
721
|
-
"propagate":
|
|
726
|
+
"propagate": False,
|
|
722
727
|
},
|
|
723
728
|
"django.db.backends": {
|
|
724
729
|
"handlers": ["console_db"] if LOG_QUERIES else [],
|
{open_api_framework-0.13.0 → open_api_framework-0.13.2/open_api_framework.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: open-api-framework
|
|
3
|
-
Version: 0.13.
|
|
3
|
+
Version: 0.13.2
|
|
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
|
|
@@ -96,7 +96,7 @@ Dynamic: license-file
|
|
|
96
96
|
Open API Framework
|
|
97
97
|
==================
|
|
98
98
|
|
|
99
|
-
:Version: 0.13.
|
|
99
|
+
:Version: 0.13.2
|
|
100
100
|
:Source: https://github.com/maykinmedia/open-api-framework
|
|
101
101
|
:Keywords: metapackage, dependencies
|
|
102
102
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "open-api-framework"
|
|
7
|
-
version = "0.13.
|
|
7
|
+
version = "0.13.2"
|
|
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"}
|
|
@@ -129,7 +129,7 @@ env = [
|
|
|
129
129
|
]
|
|
130
130
|
|
|
131
131
|
[tool.bumpversion]
|
|
132
|
-
current_version = "0.13.
|
|
132
|
+
current_version = "0.13.2"
|
|
133
133
|
files = [
|
|
134
134
|
{filename = "pyproject.toml"},
|
|
135
135
|
{filename = "README.rst"},
|
|
@@ -34,7 +34,7 @@ Database
|
|
|
34
34
|
* ``DB_HOST``: hostname of the PostgreSQL database. Defaults to ``db`` for the docker environment, otherwise defaults to ``localhost``.
|
|
35
35
|
* ``DB_PORT``: port number of the database. Defaults to: ``5432``.
|
|
36
36
|
* ``DB_CONN_MAX_AGE``: The lifetime of a database connection, as an integer of seconds. Use 0 to close database connections at the end of each request — Django’s historical behavior. This setting is ignored if connection pooling is used. Defaults to: ``60``.
|
|
37
|
-
* ``DB_POOL_ENABLED``: Whether to use connection pooling. Defaults to: ``False``.
|
|
37
|
+
* ``DB_POOL_ENABLED``: **Experimental:** Whether to use connection pooling. This feature is not yet recommended for production use. See the documentation for details: https://open-api-framework.readthedocs.io/en/latest/connection_pooling.html. Defaults to: ``False``.
|
|
38
38
|
* ``DB_POOL_MIN_SIZE``: The minimum number of connection the pool will hold. The pool will actively try to create new connections if some are lost (closed, broken) and will try to never go below min_size. Defaults to: ``4``.
|
|
39
39
|
* ``DB_POOL_MAX_SIZE``: The maximum number of connections the pool will hold. If None, or equal to min_size, the pool will not grow or shrink. If larger than min_size, the pool can grow if more than min_size connections are requested at the same time and will shrink back after the extra connections have been unused for more than max_idle seconds. Defaults to: ``None``.
|
|
40
40
|
* ``DB_POOL_TIMEOUT``: The default maximum time in seconds that a client can wait to receive a connection from the pool (using connection() or getconn()). Note that these methods allow to override the timeout default. Defaults to: ``30``.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/context_processors.py
RENAMED
|
File without changes
|
{open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/management/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/templatetags/__init__.py
RENAMED
|
File without changes
|
{open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework/templatetags/doc_tags.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework.egg-info/requires.txt
RENAMED
|
File without changes
|
{open_api_framework-0.13.0 → open_api_framework-0.13.2}/open_api_framework.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|