FAQ | This is a LIVE service | Changelog

Skip to content

fix(deps): update dependency structlog to v24

uis-devops-renovatebot requested to merge renovate/structlog-24.x into master

This MR contains the following updates:

Package Type Update Change
structlog (changelog) dependencies major ^23.1.0 -> ^24.0.0

Release Notes

hynek/structlog (structlog)

v24.4.0

Compare Source

Changed

No code changes since 24.3.0

v24.3.0

Compare Source

Added
  • Restore feature parity between structlog.traceback.ExceptionDictTransformer and Rich's traceback extractor:

    • When displaying locals, use Rich for formatting if it is available.
    • When displaying locals, call repr() on strings, too (improves handling of SecretStr implementations).
    • Add locals_max_length config option
    • Add locals_hide_sunder config option
    • Add locals_hide_dunder config option
    • Add suppress config option

    #​627

Changed
  • structlog.testing.capture_logs() now maps the exception log level to error (as it's elsewhere). #​628

v24.2.0

Compare Source

Added
  • It is now possible to disable log level-padding in structlog.dev.LogLevelColumnFormatter and structlog.dev.ConsoleRenderer. #​599

  • The structlog.processors.CallsiteParameterAdder can now be pickled. #​603

  • structlog.processors.CallsiteParameterAdder now also works with structlog.stdlib.BoundLogger's non-standard async methods (ainfo(), and so forth) #​618

Changed
  • structlog.processors.LogfmtRenderer now escapes newlines. #​592

  • structlog.processors.LogfmtRenderer now escapes backslashes and double quotes. #​594

  • structlog.processors.CallsiteParameterAdder has been optimized to be about 2x faster. #​606

Fixed
  • structlog.stdlib.render_to_log_kwargs now correctly passes stacklevel as a kwarg to stdlib logging. #​619

v24.1.0

Compare Source

Fixed
  • The lazy logger proxy returned by structlog.get_logger() now returns its initial values when asked for context. When asked for context before binding for the first time, it returned an empty dictionary in 23.3.0.

  • The displayed level name when using structlog.stdlib.BoundLogger.exception() is "error" instead of "exception". Fixes regression in 23.3.0. #​584

  • Don't ignore the width argument of RichTracebackFormatter. #​587


Configuration

📅 Schedule: Branch creation - "every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports

Loading