structlog v16.0.0 Release Notes

Release Date: 2016-01-28 // about 8 years ago
  • ➕ Added

    • ➕ Added structlog.dev.ConsoleRenderer that renders the event dictionary aligned and with colors.
    • ➕ Added structlog.processors.UnicodeDecoder that will decode all byte string values in an event dictionary to Unicode.
    • ➕ Added serializer parameter to structlog.processors.JSONRenderer which allows for using different (possibly faster) JSON encoders than the standard library.

    🔄 Changed

    • structlog.processors.ExceptionPrettyPrinter and structlog.processors.format_exc_info now support passing of Exceptions on Python 3.
    • six is now used for compatibility.

    🛠 Fixed

    • The context is now cleaned up when exiting structlog.threadlocal.tmp_bind in case of exceptions. #64
    • Be more more lenient about missing __name__s. #62