fix(deps): update dependency structlog to v24
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
Changed
No code changes since 24.3.0
v24.3.0
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 ofSecretStr
implementations). - Add
locals_max_length
config option - Add
locals_hide_sunder
config option - Add
locals_hide_dunder
config option - Add
suppress
config option
Changed
-
structlog.testing.capture_logs()
now maps theexception
log level toerror
(as it's elsewhere). #628
v24.2.0
Added
-
It is now possible to disable log level-padding in
structlog.dev.LogLevelColumnFormatter
andstructlog.dev.ConsoleRenderer
. #599 -
The
structlog.processors.CallsiteParameterAdder
can now be pickled. #603 -
structlog.processors.CallsiteParameterAdder
now also works withstructlog.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
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 ofRichTracebackFormatter
. #587
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.