Skip to content

Commit 2c63405

Browse files
authored
fix(deps): Update dependency structlog to v25.5.0 (#355)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [structlog](https://redirect.github.com/hynek/structlog) ([changelog](https://redirect.github.com/hynek/structlog/blob/main/CHANGELOG.md)) | minor | `==25.4.0` -> `==25.5.0` | --- ### Release Notes <details> <summary>hynek/structlog (structlog)</summary> ### [`v25.5.0`](https://redirect.github.com/hynek/structlog/blob/HEAD/CHANGELOG.md#2550---2025-10-27) [Compare Source](https://redirect.github.com/hynek/structlog/compare/25.4.0...25.5.0) ##### Deprecated - `structlog.dev.ConsoleRenderer()`'s *pad_event* argument has been renamed to *pad_event_to* to differentiate it from the boolean *pad_level* argument. *pad_event* is now deprecated. ##### Added - Added `structlog.dev.ConsoleRenderer.get_active()` that returns the currently active `structlog.dev.ConsoleRenderer()`. [#&#8203;749](https://redirect.github.com/hynek/structlog/pull/749) - `structlog.dev.ConsoleRenderer()` now supports setting the `exception_formatter` attribute. You can now disable the pretty-printing of exceptions by setting it to `structlog.dev.plain_traceback`: ```python cr = structlog.dev.ConsoleRenderer.get_active() cr.exception_formatter = structlog.dev.plain_traceback ``` Same goes for *sort_keys*, *columns*, *colors*, *force_colors*, *level_styles*, *pad_event_to*, *event_key*, *timestamp_key*, and *repr_native_str*. [#&#8203;749](https://redirect.github.com/hynek/structlog/pull/749) [#&#8203;756](https://redirect.github.com/hynek/structlog/pull/756) [#&#8203;757](https://redirect.github.com/hynek/structlog/pull/757) [#&#8203;759](https://redirect.github.com/hynek/structlog/pull/759) - Added `structlog.dev.ConsoleRenderer.get_default_column_styles()` for reuse the default column styles. [#&#8203;741](https://redirect.github.com/hynek/structlog/pull/741) - `structlog.testing.capture_logs()` now optionally accepts *processors* to apply before capture. [#&#8203;728](https://redirect.github.com/hynek/structlog/pull/728) - `structlog.dev.RichTracebackFormatter` now exposes the upstream *code_width* parameter. Default *width* is now `None` for full terminal width. Full terminal width is now handled by Rich itself, bringing support for reflow and `COLUMN` environment variable. Passing `-1` for *width* is now deprecated and automatically replaced by `None`. [#&#8203;717](https://redirect.github.com/hynek/structlog/pull/717) - Native loggers now allow the passing of a dictionary for dictionary-based interpolation `log.info("hello %(name)s!", {"name": "world"})`. [#&#8203;748](https://redirect.github.com/hynek/structlog/pull/748) - On Python 3.11+, `structlog.processors.CallsiteParameterAdder` now supports `CallsiteParameter.QUAL_NAME` that adds the qualified name of the callsite, including scope and class names. This is only available for *structlog*-originated events since the standard library has no equivalent. - `structlog.stdlib.LoggerFactory` now supports the *stacklevel* parameter. [#&#8203;763](https://redirect.github.com/hynek/structlog/pull/763) ##### Changed - `structlog.dev.rich_traceback()` now throws a more helpful error when Rich is missing. [#&#8203;735](https://redirect.github.com/hynek/structlog/pull/735) ##### Fixed - `structlog.processors.MaybeTimeStamper` now respects the *key* argument when determining whether to overwrite the timestamp field. [#&#8203;747](https://redirect.github.com/hynek/structlog/pull/747) - `structlog.tracebacks.extract()` no longer raises a `RecursionError` when the cause chain of an exception contains itself. [#&#8203;739](https://redirect.github.com/hynek/structlog/pull/739) - Default config now respects `FORCE_COLOR` on Windows. [#&#8203;758](https://redirect.github.com/hynek/structlog/pull/758) </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yMi4xIiwidXBkYXRlZEluVmVyIjoiNDAuMjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIl19-->
1 parent ac7b246 commit 2c63405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"python-dateutil>=2.8.1",
2929
"pytz==2025.2",
3030
"six==1.17.0",
31-
"structlog==25.4.0",
31+
"structlog==25.5.0",
3232
"tomli==2.2.1",
3333
"tzdata==2025.2",
3434
]

0 commit comments

Comments
 (0)