Overview

Request 785908 accepted

- version update to 20.1.0
- This is the last version to support Python 2.7 (including PyPy) and 3.5.
All following versions will only support Python 3.6 or later.
- Added a new module ``structlog.contextvars`` that allows to have a global but context-local ``structlog`` context the same way as with ``structlog.threadlocal`` since 19.2.0.
`#201 `_,
`#236 `_
- Added a new module ``structlog.testing`` for first class testing support.
The first entry is the context manager ``capture_logs()`` that allows to make assertions about structured log calls.
`#14 `_,
`#234 `_
- Added ``structlog.threadlocal.unbind_threadlocal()``.
`#239 `_
- The logger created by ``structlog.get_logger()`` is not detected as an abstract method anymore, when attached to an abstract base class.
`#229 `_
- ``colorama`` isn't initialized lazily on Windows anymore because it breaks rendering.
`#232 `_,
`#242 `_

Request History
Petr Gajdos's avatar

pgajdos created request

- version update to 20.1.0
- This is the last version to support Python 2.7 (including PyPy) and 3.5.
All following versions will only support Python 3.6 or later.
- Added a new module ``structlog.contextvars`` that allows to have a global but context-local ``structlog`` context the same way as with ``structlog.threadlocal`` since 19.2.0.
`#201 `_,
`#236 `_
- Added a new module ``structlog.testing`` for first class testing support.
The first entry is the context manager ``capture_logs()`` that allows to make assertions about structured log calls.
`#14 `_,
`#234 `_
- Added ``structlog.threadlocal.unbind_threadlocal()``.
`#239 `_
- The logger created by ``structlog.get_logger()`` is not detected as an abstract method anymore, when attached to an abstract base class.
`#229 `_
- ``colorama`` isn't initialized lazily on Windows anymore because it breaks rendering.
`#232 `_,
`#242 `_


Michael Vetter's avatar

jubalh accepted request

thanks

openSUSE Build Service is sponsored by