Change8

25.2.0

📦 structlogView on GitHub →
3 features🐛 2 fixes🔧 5 symbols

Summary

This release adds an `exc_notes` field to `structlog.tracebacks.Stack`, makes `BoundLogger` methods return `Self`, and updates `TimeStamper` to produce timezone‑aware datetimes, while fixing import exposure for RichTracebackFormatter and LogfmtRenderer.

✨ New Features

  • `structlog.tracebacks.Stack` now includes an `exc_notes` field reflecting the notes attached to the exception.
  • `structlog.stdlib.BoundLogger`'s binding-related methods now also return `Self`.
  • `structlog.processors.TimeStamper` now produces internally timezone-aware `datetime` objects and supports `%z` in the format string.

🐛 Bug Fixes

  • Expose `structlog.dev.RichTracebackFormatter` for imports.
  • Expose `structlog.processors.LogfmtRenderer` for imports.

Affected Symbols