All Versions
28
Latest Version
Avg Release Cycle
140 days
Latest Release
943 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v0.4.2 Changes
July 26, 2014โ Removed
- โฌ๏ธ Drop support for Python 3.2. There is no justification to add complexity for a Python version that nobody uses. If you are one of the 0.350% that use Python 3.2, please stick to the 0.4 branch; critical bugs will still be fixed.
โ Added
- ๐ Officially support Python 3.4.
- ๐ Allow final processor to return a dictionary. See the adapting chapter. #26
- โ Test Twisted-related code on Python 3 (with some caveats).
๐ Fixed
- ๐ Fixed a memory leak in greenlet code that emulates thread locals. It shouldn't matter in practice unless you use multiple wrapped dicts within one program that is rather unlikely. #8
- ๐จ
structlog.PrintLogger
now is thread-safe. from structlog import *
works now (but you still shouldn't use it).
-
v0.4.1 Changes
December 19, 2013๐ Changes: ^
- Don't cache proxied methods in
structlog.threadlocal._ThreadLocalDictWrapper
. This doesn't affect regular users. - ๐ Various doc fixes.
- Don't cache proxied methods in
-
v0.4.0 Changes
November 10, 2013Backward-incompatible changes:
๐ Changes: ^
- โ Add
structlog.processors.StackInfoRenderer
for adding stack information to log entries without involving exceptions. Also added it to default processor chain.#6 <https://github.com/hynek/structlog/pull/6>
_ - ๐ Allow optional positional arguments for
structlog.get_logger
that are passed to logger factories. The standard library factory uses this for explicit logger naming.#12 <https://github.com/hynek/structlog/pull/12>
_ - โ Add
structlog.processors.ExceptionPrettyPrinter
for development and testing when multiline log entries aren't just acceptable but even helpful. - ๐ Allow the standard library name guesser to ignore certain frame names. This is useful together with frameworks.
- โ Add meta data (e.g. function names, line numbers) extraction for wrapped stdlib loggers.
#5 <https://github.com/hynek/structlog/pull/5>
_
- โ Add
-
v0.3.2 Changes
September 27, 2013๐ Changes: ^
- ๐ Fix stdlib's name guessing.
-
v0.3.1 Changes
September 26, 2013๐ Changes: ^
- โ Add forgotten
structlog.processors.TimeStamper
to API documentation.
- โ Add forgotten
-
v0.3.0 Changes
September 23, 2013๐ Changes: ^
- ๐ Greatly enhanced and polished the documentation and added a new theme based on Write The Docs, requests, and Flask.
- โ Add Python Standard Library-specific BoundLogger that has an explicit API instead of intercepting unknown method calls.
See
structlog.stdlib.BoundLogger
. structlog.ReturnLogger
now allows arbitrary positional and keyword arguments.- โ Add Twisted-specific BoundLogger that has an explicit API instead of intercepting unknown method calls.
See
structlog.twisted.BoundLogger
. - Allow logger proxies that are returned by
structlog.get_logger
andstructlog.wrap_logger
to cache the BoundLogger they assemble according to configuration on first use. See the chapter on performance and thecache_logger_on_first_use
argument ofstructlog.configure
andstructlog.wrap_logger
. - Extract a common base class for loggers that does nothing except keeping the context state.
This makes writing custom loggers much easier and more straight-forward.
See
structlog.BoundLoggerBase
.
-
v0.2.0 Changes
September 17, 2013๐ Changes: ^
- Promote to stable, thus henceforth a strict backwards-compatibility policy is put into effect.
- โ Add
key_order
option tostructlog.processors.KeyValueRenderer
for more predictable log entries with anydict
class. - ๐จ
structlog.PrintLogger
now uses proper I/O routines and is thus viable not only for examples but also for production. - โจ Enhance Twisted support by offering JSONification of non-structlog log entries.
- Allow for custom serialization in
structlog.twisted.JSONRenderer
without abusing__repr__
.
-
v0.1.0 Changes
September 16, 2013๐ Initial release.