Changelogο
0.9.1 (2026-04-23)ο
Bugfix release.
[#58] Fixed crash in application and logging code when logging bodies of gzipped/multi-chunk responses.
[#58] Fixed the response body content being loaded in memory for streawing responses.
[#58] Fixed metadata (content type, encoding) of response bodies not being logged if persistence/logging of the response body is skipped.
0.9.0 (2026-04-09)ο
Feature release.
New features
[#2] Added pretty-printing / syntax highlighting to request and response bodies.
0.8.0 (2026-04-08)ο
Feature release with some breaking changes.
π₯ Breaking changes
Dropped support for the end-of-life Django 3.2, 4.1 and 4.2 versions.
Dropped support for Python versions older than 3.12.
New features
Confirmed Django 5.2 support.
Confirmed Python 3.12+ support.
Renamed the log events emitted:
Outgoing requestis nowoutgoing_request_response_receivedOutgoing request erroris nowoutgoing_request_errored
[#48] Add support for structlog:
The emitted log events now use
snake_caseevents.Added an (opt-in) processor in
log_outgoing_requests.structlog.ExtractRequestAndResponseDetails. See the docs for details.
[#48] Added support for async database logging - see the updated quickstart documentation on how to apply this in your project.
Project maintenance
Switched to trusted publishing to PyPI.
Switched project configuration to
pyproject.toml.Replaced
bump2versionwithbump-my-version.Cleaned up and simplified CI configuration.
Replaced black, isort and flake8 with Ruff.
Github actions usage is now pinned to commit hashes to protect against supply chain attacks.
Removed obsoleted compatibility shims.
0.7.1 (2025-12-09)ο
Small bugfix release
Fixed saving logging entries with requests/responses containing text content
0.7.0 (2025-10-30)ο
[#13] Enabled JSON/XML prettifying of response body using JavaScript in admin
[#33] Added
reset_db_save_afteroption to config model[#43] Improved admin response body display by wrapping text over multiple lines for better readability
[#44] Added response body size column to admin list view
0.6.1 (2024-02-12)ο
Small bugfix release
[#34] Properly log data for error responses
0.6.0 (2023-12-11)ο
Small quality of life release
Added Celery task and management command to prune log records.
[#29] Changed request URL-field to textfield to handle arbitrary URL lengths.
0.5.2 (2023-09-22)ο
Improved robustness after observing (likely) an APM bug.
Crashes when trying to save the log records to the database are now suppressed. This means you lose the log record, but the application itself should continue to function properly.
0.5.1 (2023-08-17)ο
Fixed a bug causing request logging to happen multiple times.
0.5.0 (2023-08-15)ο
π₯ Breaking changes
This library now logs to the βlog_outgoing_requestsβ logger instead of βrequestsβ. Update your
settings.LOGGING["loggers"]accordingly.
Other changes
[#15] Ensure that requests are logged when request errors occur
[#11] Add changelog file
0.4.0 (2023-06-09)ο
Improved admin UX when viewing log records.
0.3.0 (2023-06-08)ο
Added Dutch translations
Implemented default settings
Namespace our requests monkeypatch
Confirmed Python 3.11 and Django 4.2 support
Fixed missing version bumps in a number of files
0.2.0 (2023-06-08)ο
Implemented options to log request/response bodies