Releases: adamalton/django-csp-reports
Releases · adamalton/django-csp-reports
Bugfix to avoid migration caused by AutoField vs BigAutoField
Fix Django 4.0 support
Fix a bug in version 1.7 where the deprecated django.conf.urls.url
was still being used in urls.py.
Django 4.0 support
Adds support for Django 4.0.
Fix missing summary.txt template
This template got accidentally removed in the previous release.
Integer casting. Filter for browser extension reports.
- Improved the way that values from the CSP report JSON are parsed, so that (for example) integer values supplied as strings get cast to the correct type before we try to put them into the database.
- Add a
filter_browser_extensions
filter which can be used to ignore reports triggered by browser extensions trying to load disallowed content into the page.
Python 3.8 and Django 3.0 support.
- Officially added Python 3.8 and Django 3.0 support.
- Added new
CSP_REPORTS_FILTER_FUNCTION
setting to allow control of which (if any) reports to ignore.
Added official support for Django 2.0, 2.1 and 2.2
Added official support for Django 2.0, 2.1 and 2.2.
1.2
- Added support for Django 2.x.
- Added support for Python 3.
- Added individual report fields to
CSPReport
model to allow more fine-grained filtering of data. - Added storage of the user agent with the report.
- Added Django
AppConfig
to properly register Django app. - Added a Django management command to delete old
CSPReport
objects from the database. - Added a Django management command to display a summary of recent reports.