diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c48c820..e36d6448 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ['3.8', '3.11', '3.12'] + python-version: ['3.12'] toxenv: [docs, quality, django42] steps: diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 0f1775db..ae9b8632 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -16,7 +16,7 @@ jobs: - name: setup python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.12 - name: Install pip run: pip install -r requirements/pip.txt diff --git a/.gitignore b/.gitignore index 6e3fb1ee..fd766bef 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ lib64 # Installer logs pip-log.txt +venv # Unit test / coverage reports .cache/ diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1eb48550..1ad4c890 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,6 +11,49 @@ Change Log .. There should always be an "Unreleased" section for changes pending release. +7.1.0 - 2024-12-05 +------------------ +Added +~~~~~ +* Added signals monitoring_support_process_request, monitoring_support_process_response, and monitoring_support_process_exception to the MonitoringSupportMiddleware to enable plugging in monitoring capabilities. + +7.0.1 - 2024-11-21 +------------------ +Fixed +~~~~~ +* Fix bug where code owner custom attributes were being defined, even when the CODE_OWNER_MAPPINGS setting was not defined. + +7.0.0 - 2024-10-16 +------------------ +Removed +~~~~~~~ +* Remove unused ``background_task`` monitoring function. +* Remove ``get_current_transaction`` (used internally only) from the public API. + +[6.1.0] - 2024-10-15 +--------------------- +Changed +~~~~~~~ +* Added Datadog implementation of ``set_monitoring_transaction_name`` and refactored the functionality. + +[6.0.0] - 2024-10-09 +--------------------- +Added +~~~~~ +* Added support for python3.12 +* Dropped support for python<3.12 versions + +[5.16.0] - 2024-09-27 +--------------------- +Added +~~~~~ +* Added a new method to backends for ``tag_root_span_with_error`` and added Datadog implementation of the functionality. +* Uses the new method to tag the root span when processing exceptions. + +Changed +~~~~~~~ +* Renamed ``CachedCustomMonitoringMiddleware`` to ``MonitoringSupportMiddleware`` and deprecated the old name. It will be removed in a future release. + [5.15.0] - 2024-07-29 --------------------- Added diff --git a/docs/decisions/0006-content-security-policy-middleware.rst b/docs/decisions/0006-content-security-policy-middleware.rst index 92a495b3..fa661759 100644 --- a/docs/decisions/0006-content-security-policy-middleware.rst +++ b/docs/decisions/0006-content-security-policy-middleware.rst @@ -17,7 +17,7 @@ Context - Gather reports of violations, allowing deployers to discover vulnerabilities even while CSP prevents them from being exploited - Enforce the use of a business process for adding new external scripts to the site -At the most basic level, CSP allows the server to tell the browser to refuse to load any Javascript that isn't on an allowlist. More advanced deployments can restrict other kinds of resources (including service workers, child frames, images, and XHR connections). A static set of headers can only support an allowlist that is based on domain names and paths, but features such as ``strict-dynamic`` and ``nonce`` allow the server to vouch for scripts individually. This is more secure but requires more integration with application code. +The most basic use of CSP is to allow the server to tell the browser to refuse to load any Javascript that isn't on an allowlist. More complete deployments can restrict other kinds of resources (including service workers, child frames, images, and XHR connections). A static set of headers can only support an allowlist that is based on domain names and paths, but features such as ``strict-dynamic`` and ``nonce`` allow the server to vouch for ``