Highlights
Quick release before my travel frenzy! It seems like the boring fix to type hints of bind()
et al is a fan favorite, though.
Full changelog below!
Special Thanks
This release would not be possible without my generous sponsors! Thank you to all of you making sustainable maintenance possible! If you would like to join them, go to https://github.com/sponsors/hynek and check out the sweet perks!
Above and Beyond
Variomedia AG (@variomedia), Tidelift (@tidelift), Ecosystems (@ecosyste-ms), Klaviyo (@klaviyo), Privacy Solutions GmbH (@privacy-solutions), FilePreviews (@filepreviews), nate nowack (@zzstoatzz), Daniel Fortunov (@asqui), and Kevin P. Fleming (@kpfleming).
Maintenance Sustainers
Buttondown (@buttondown), Christopher Dignam (@chdsbd), Magnus Watn (@magnuswatn), David Cramer (@dcramer), Jesse Snyder (@jessesnyder), Rivo Laks (@rivol), Polar (@polarsource), Mike Fiedler (@miketheman), Duncan Hill (@cricalix), Colin Marquardt (@cmarqu), Pieter Swinkels (@swinkels), Nick Libertini (@libertininick), Brian M. Dennis (@crossjam), Moving Content AG (@moving-content), ProteinQure (@ProteinQure), The Westervelt Company (@westerveltco), Sławomir Ehlert (@slafs), Mostafa Khalil (@khadrawy), Filip Mularczyk (@mukiblejlok), Thomas Klinger (@thmsklngr), Andreas Poehlmann (@ap--), August Trapper Bigelow (@atbigelow), Carlton Gibson (@carltongibson), and Roboflow (@roboflow).
Not to forget 14 more amazing humans who chose to be generous but anonymous!
Full Changelog
Added
structlog.tracebacks.Stack
now includes anexc_notes
field reflecting the notes attached to the exception. #684
Changed
-
structlog.stdlib.BoundLogger
's binding-related methods now also returnSelf
. #694 -
structlog.processors.TimeStamper
now produces internally timezone-awaredatetime
objects. Default output hasn't changed, but you can now use%z
in your fmt string. #709
Fixed
- Expose
structlog.dev.RichTracebackFormatter
for imports. #699 - Expose
structlog.processors.LogfmtRenderer
for imports. #701
This release contains contributions from @camillol, @hynek, @k4nar, @keongalvin, and @ttrei.
Artifact Attestations
You can verify this release's artifact attestions using GitHub's CLI tool by downloading the sdist and wheel from PyPI and running:
$ gh attestation verify --owner hynek structlog-25.2.0.tar.gz
and
$ gh attestation verify --owner hynek structlog-25.2.0-py3-none-any.whl