Change Log¶
3.0.1 (August 2nd, 2022)¶
- Fixes:
- Others:
- Add
dependabot
to manage dependencies. See #83. Special thanks to @jairhenrique. - Upgrade various development packages
- Add
3.0.0 (August 1st, 2022)¶
See: Upgrading to 3.0+
- Changes:
django-structlog
now usesstructlog.contextvars
instead ofstructlog.threadlocal
. See the upgrade guide for more information (Upgrading to 3.0+) and #78. Special thanks to @AndrewGuenther and @shimizukawa.- removed
django_structlog.processors.inject_context_dict
- minimum requirements change to
python
3.7+ - minimum requirements change to
structlog
21.5
- removed
- New:
- Add python 3.10, celery 5.2 and django 4.0 to the test matrix.
- Others:
- Remove
wrapper_class
from the configuration
- Remove
2.2.0 (November 18, 2021)¶
2.1.3 (September 28, 2021)¶
- Fixes:
- Implement Celery Task.throws’ behaviour of logging expected exception as
INFO
with no tracebacks. See #62 and #70. Special thanks to @meunomemauricio.
- Implement Celery Task.throws’ behaviour of logging expected exception as
2.1.2 (August 31, 2021)¶
- Fixes:
django.core.exceptions.PermissionDenied
is no longer logged as 500 but 403. See #68. Special thanks to @rabbit-aaron.
2.1.1 (June 22, 2021)¶
- Others:
- Add
django
3.2 andpython
3.9 to the test matrix andpypi
metadata. See #65. Special thanks to @kashewnuts.
- Add
2.1.0 (November 26, 2020)¶
2.0.0 (November 25, 2020)¶
- Upgrade:
- There are necessary configuration changes needed. See Upgrading to 2.0+ for the details.
- Changes:
- No longer add
error
anderror_traceback
. See #55 and Upgrading to 2.0+. Special thanks to @debfx.
- No longer add
- Fixes:
- Fix crash when request’s user is
None
for django-oauth-toolkit. See #56. Special thanks to @nicholasamorim.
- Fix crash when request’s user is
1.6.3 (November 11, 2020)¶
1.6.2 (October 4, 2020)¶
- Fixes:
- Fix UUID as User pk causing issues. See #52 #45 and #51. Special thanks to @fadedDexofan.
1.6.1 (August 13, 2020)¶
- Fixes:
- Others:
- Add
django
3.0 and 3.1 to the test matrix andpypi
supported frameworks metadata - Fix reference of the previous ci in the documentation
- Add
1.6.0 (June 17, 2020)¶
- Changes:
task_succeed
is nowtask_succeeded
. Special thanks to @PawelMorawian.- Remove
result
fromtask_succeeded
log (may be added back, see below). Special thanks to @PawelMorawian as well. - Add
django_structlog.celery.signals.pre_task_succeeded
. To be able to bindresult
if someone really needs it.
1.5.5 (June 16, 2020)¶
1.5.4 (June 15, 2020)¶
- Improvements:
- Remove redundant
DJANGO_STRUCTLOG_LOG_USER_IN_REQUEST_FINISHED
setting and just always make sureuser_id
is inrequest_finished
andrequest_failed
instead. See #37.
- Remove redundant
1.5.3 (June 15, 2020)¶
- New:
- Add
DJANGO_STRUCTLOG_LOG_USER_IN_REQUEST_FINISHED
setting to support Django REST framework. See #37. Special thanks to @immortaleeb.
- Add
1.5.2 (April 2, 2020)¶
- New:
- Add
modify_context_before_task_publish
signal.
- Add
1.5.1 (March 18, 2020)¶
1.5.0 (March 6, 2020)¶
1.4.1 (February 8, 2020)¶
- New:
- Bind
X-Correlation-ID
HTTP header’s value ascorrelation_id
when provided in request.
- Bind
1.4.0 (February 7, 2020)¶
- New:
- Use
X-Request-ID
HTTP header’s value asrequest_id
when provided in request. See #22. Special thanks to @jairhenrique
- Use
1.3.5 (December 23, 2019)¶
- New:
- Add python 3.8, celery 4.4 and django 3.0 to the test matrix.
- Improvements:
- Extract
test_app
fromdjango_structlog_demo_app
in order to testdjango_structlog
all by itself - Improve CI execution speed by merging stages
- Upgrade a few development depencencies
- Extract
1.3.4 (November 27, 2019)¶
- Bugfix:
- Exception logging not working properly with
DEBUG = False
. See #19. Special thanks to @danpalmer
- Exception logging not working properly with
1.3.3 (October 6, 2019)¶
1.3.2 (September 21, 2019)¶
1.3.1 (September 4, 2019)¶
1.3.0 (September 3, 2019)¶
- Improvements:
- Improve django uncaught exception formatting. See #7. Special thanks to @paulstuartparker
1.2.3 (May 18, 2019)¶
- Bugfixes:
- Fix
structlog
dependency not being installed
- Fix
- Improvements:
- Use black code formatter
1.2.2 (May 13, 2019)¶
- Improvements:
- Use appropriate packaging
1.2.1 (May 8, 2019)¶
- Bugfixes:
- Fix missing license file to be included in distribution
1.2.0 (May 8, 2019)¶
- Changes:
- In the event
task_enqueued
,task_id
andtask_name
are renamedchild_task_id
andchild_task_name
respectively to avoid override oftask_id
in nested tasks.
- In the event
1.1.6 (May 8, 2019)¶
- New:
- Add
task_name
when a task is enqueued
- Add
1.1.5 (May 8, 2019)¶
- New:
- Add support of tasks calling other tasks (introducing
parent_task_id
)
- Add support of tasks calling other tasks (introducing
- Bugfixes:
- Fix missing packages
1.1.4 (April 22, 2019)¶
- Improvements:
- Wheel distribution
1.1.3 (April 22, 2019)¶
- Improvements:
- api documentation
- code documentation
1.1.2 (April 19, 2019)¶
- Changes:
- Rewrite the log texts as events
1.1.1 (April 18, 2019)¶
- New:
- Add
celery
signalsignals.bind_extra_task_metadata
- Add
1.1 (April 16, 2019)¶
- New:
- Add
celery
tasks support
- Add
1.0.4 to 1.0.7 (April 14, 2019)¶
- New:
- Automated releases with tags on
travis
- Automated releases with tags on
1.0.3 (April 14, 2019)¶
- Bugfixes:
- Add
bind_extra_request_metadata
documentation
- Add
1.0.2 (April 13, 2019)¶
- Bugfixes:
- Tweaked documentation.
1.0.0 (April 13, 2019)¶
- New:
- Fist public release.