New:
- add log_kwargs to :class:django_structlog.signals.bind_extra_request_metadata, :class:django_structlog.signals.bind_extra_request_finished_metadata, and :class:django_structlog.signals.bind_extra_request_failed_metadata. See [#484](https://github.com/jrobichaud/django-structlog/issues/484) <https://github.com/jrobichaud/django-structlog/issues/484>. Special thanks to @shtoltz <https://github.com/shtoltz>.
7.1.0 (December 20, 2023)
New:
- add asgi's async view cancellation event request_cancelled. See [#413](https://github.com/jrobichaud/django-structlog/issues/413) <https://github.com/jrobichaud/django-structlog/pull/413>_ and and :ref:request_events.
7.0.0 (December 13, 2023)
See: :ref:upgrade_7.0
New:
- (celery) add priority (if available) and routing_key to task_enqueued. See [#345](https://github.com/jrobichaud/django-structlog/issues/345) <https://github.com/jrobichaud/django-structlog/pull/345>_ and [#341](https://github.com/jrobichaud/django-structlog/issues/341) <https://github.com/jrobichaud/django-structlog/issues/341>. Special thanks to badziyoussef <https://github.com/badziyoussef>.
- Django 5.0 support. See [#350](https://github.com/jrobichaud/django-structlog/issues/350) <https://github.com/jrobichaud/django-structlog/pull/350>. Take note async view cancellation when using asgi does not work yet, see [#351](https://github.com/jrobichaud/django-structlog/issues/351) <https://github.com/jrobichaud/django-structlog/issues/351>.
- Add streaming response support (for both sync and async) and Django 5's async cancellation. See [#353](https://github.com/jrobichaud/django-structlog/issues/353) <https://github.com/jrobichaud/django-structlog/pull/353>_ and :ref:streaming_response_events.
Changes:
- Supports django-ipware 6+ only. See [#403](https://github.com/jrobichaud/django-structlog/issues/403) <https://github.com/jrobichaud/django-structlog/pull/403>. Special thanks to the maintainer @un33k <https://github.com/un33k>.
- Drop support of django 4.0. See [#338](https://github.com/jrobichaud/django-structlog/issues/338) <https://github.com/jrobichaud/django-structlog/pull/338>. Special thanks to @jairhenrique <https://github.com/jairhenrique>.
Other:
- Improved demo project
- Better UI
- Easy switch between runserver_plus, wsgi an asgi
- Front-end request feedbacks using toasts
6.0.1 (November 29, 2023)
Fixes:
- freeze django-ipware<6 for now due to breaking changes. See [#388](https://github.com/jrobichaud/django-structlog/issues/388) <https://github.com/jrobichaud/django-structlog/issues/388>_
6.0 (October 3, 2023)
See: :ref:upgrade_6.0
New:
- Python 3.12 support
... (truncated)
Commits
ff1d7ca Merge pull request #493 from jrobichaud/fix-readme
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps django-structlog from 5.3.0 to 8.0.0.
Changelog
Sourced from django-structlog's changelog.
... (truncated)
Commits
ff1d7ca
Merge pull request #493 from jrobichaud/fix-readmea1ac2ac
Fix readme for deployment1065fa2
Merge pull request #485 from jrobichaud/log_kwargs166903e
Merge pull request #490 from jrobichaud/dependabot/pip/requirements/pytest-8.1.136347f6
Merge pull request #488 from jrobichaud/dependabot/pip/requirements/black-24.3.0b47da15
Merge pull request #492 from jrobichaud/update/pre-commit-hooks6890bb0
Merge pull request #491 from jrobichaud/dependabot/github_actions/peter-evans...9b9e980
Merge pull request #489 from jrobichaud/dependabot/pip/requirements/djangores...b62dc33
chore(deps): bump pytest from 8.1.0 to 8.1.1 in /requirements6c005e6
chore(deps): bump black from 24.2.0 to 24.3.0 in /requirementsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show