Django-structlog

Latest version: v9.0.1

Safety actively analyzes 723166 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 10

2.1.0

-------------------------

*New:*
- :class:`django_structlog.processors.inject_context_dict` for standard python loggers. See `24 <https://github.com/jrobichaud/django-structlog/issues/24>`_. Special thanks to `debfx <https://github.com/debfx>`_.

2.0.0

-------------------------

*Upgrade:*
- There are necessary configuration changes needed. See :ref:`upgrade_2.0` for the details.

*Changes:*
- No longer add ``error`` and ``error_traceback``. See `55 <https://github.com/jrobichaud/django-structlog/issues/55>`_ and :ref:`upgrade_2.0`. Special thanks to `debfx <https://github.com/debfx>`_.

*Fixes:*
- Fix crash when request's user is ``None`` for `django-oauth-toolkit <https://github.com/jazzband/django-oauth-toolkit>`_. See `#56 <https://github.com/jrobichaud/django-structlog/issues/56>`_. Special thanks to `nicholasamorim <https://github.com/nicholasamorim>`_.

1.6.3

-------------------------

*Improvements:*
- Call stack of exception in log is now an appropriate string. See `54 <https://github.com/jrobichaud/django-structlog/pull/54>`_. Special thanks to `debfx <https://github.com/debfx>`_.

1.6.2

-----------------------

*Fixes:*
- Fix UUID as User pk causing issues. See `52 <https://github.com/jrobichaud/django-structlog/pull/52>`_ `#45 <https://github.com/jrobichaud/django-structlog/pull/45>`_ and `#51 <https://github.com/jrobichaud/django-structlog/issues/51>`_. Special thanks to `fadedDexofan <https://github.com/fadedDexofan>`_.

1.6.1

-----------------------

*Fixes:*
- Removed ``providing_args`` from signals to fix django 4.0 deprecation warnings introduced by django 3.1. See `44 <https://github.com/jrobichaud/django-structlog/pull/44>`_. Special thanks to `ticosax <https://github.com/ticosax>`_.
- Fix ``sender`` of ``signals.pre_task_succeeded``
- Documented signal parameters in doc strings and ``API documentation`` to replace ``providing_args``

*Others:*
- Add ``django`` 3.0 and 3.1 to the test matrix and ``pypi`` supported frameworks metadata
- Fix reference of the previous ci in the documentation

1.6.0

---------------------

*Changes:*
- ``task_succeed`` is now ``task_succeeded``. Special thanks to `PawelMorawian <https://github.com/PawelMorawian>`_.
- Remove ``result`` from ``task_succeeded`` log (may be added back, see below). Special thanks to `PawelMorawian <https://github.com/PawelMorawian>`_ as well.
- Add ``django_structlog.celery.signals.pre_task_succeeded``. To be able to bind ``result`` if someone really needs it.

Page 5 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.