Originally created by: dependabot[bot]
Bumps structlog from 24.1.0 to 25.4.0.
Sourced from structlog's releases.
25.4.0
Highlights
The main feature is support for exception groups we
stoleadapted from Rich, however the main reason for this release at this point in time are backwards-incompatible changes in the upcoming Python 3.13.4. Update structlog before updating Python, if you usestructlog.stdlib.filter_by_level().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), Klaviyo (@klaviyo), Privacy Solutions GmbH (@privacy-solutions), FilePreviews (@filepreviews), Doist (@Doist), 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
Support for Python 3.14 and Python 3.13.4.
Python 3.14 has an backwards-incompatible change to
logging.Logger.isEnabledFor()(it now always returns False if a log entry is in flight) that has been backported to 3.13.4 (expected on 2025-06-03). It mainly affectsstructlog.stdlib.filter_by_level(). #723](https://github.com/href="https://redirect.github.com/hynek/structlog/pull/723">/issues/723)
structlog.tracebacksnow handles exception groups.structlog.tracebacks.Stackhas two new fields,is_group: boolandexceptions: list[Trace]. This works similarly to what Rich v14.0.0 does. #720](https://github.com/href="https://redirect.github.com/hynek/structlog/pull/720">/issues/720)Fixed
structlog.processors.ExceptionPrettyPrinternow respects the exception_formatter arguments instead of always using the default formatter. #724](https://github.com/href="https://redirect.github.com/hynek/structlog/pull/724">/issues/724)
This release contains contributions from
@anujdas,@hynek, and@sscherfke.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.4.0.tar.gz </tr></table>
... (truncated)
Sourced from structlog's changelog.
25.4.0 - 2025-06-02
Added
Support for Python 3.14 and Python 3.13.4.
Python 3.14 has an backwards-incompatible change to
logging.Logger.isEnabledFor()(it now always returns False if a log entry is in flight) that has been backported to 3.13.4 (expected on 2025-06-03). It mainly affectsstructlog.stdlib.filter_by_level(). #723](https://github.com/href="https://redirect.github.com/hynek/structlog/pull/723">/issues/723)
structlog.tracebacksnow handles exception groups.structlog.tracebacks.Stackhas two new fields,is_group: boolandexceptions: list[Trace]. This works similarly to what Rich v14.0.0 does. #720](https://github.com/href="https://redirect.github.com/hynek/structlog/pull/720">/issues/720)Fixed
structlog.processors.ExceptionPrettyPrinternow respects the exception_formatter arguments instead of always using the default formatter. #724](https://github.com/href="https://redirect.github.com/hynek/structlog/pull/724">/issues/724)25.3.0 - 2025-04-25
Fixed
structlog.processors.TimeStampernow again uses timestamps using UTC for custom format strings whenutc=True. #713](https://github.com/href="https://redirect.github.com/hynek/structlog/pull/713">/issues/713)25.2.0 - 2025-03-11
Added
structlog.tracebacks.Stacknow includes anexc_notesfield reflecting the notes attached to the exception. #684](https://github.com/href="https://redirect.github.com/hynek/structlog/pull/684">/issues/684)Changed
structlog.stdlib.BoundLogger's binding-related methods now also returnSelf. #694](https://github.com/href="https://redirect.github.com/hynek/structlog/pull/694">/issues/694)
structlog.processors.TimeStampernow produces internally timezone-awaredatetimeobjects. Default output hasn't changed, but you can now use%zin your fmt string. #709](https://github.com/href="https://redirect.github.com/hynek/structlog/pull/709">/issues/709)Fixed
... (truncated)
d38385c Prepare 25.4.057e165b Make Mypy 1.16 passe941e33 ci: work around weird new failure in Mypy 1.16d948027 Update Ruffea14fda Oxford!034f067 Add explanation5e57018 Make Dr Zizmor happybcc2df8 docs: add missing link5d9c7f8 docs: clarify compatf07c136 tracebacks: Handle ExceptionGroup (#720](https://github.com/href="https://redirect.github.com/hynek/structlog/issues/720">/issues/720))Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Originally posted by: dependabot[bot]
Labels
The following labels could not be found:
deps,python. Please create them before Dependabot can add them to a pull request.Please fix the above issues or remove invalid values from
dependabot.yml.