Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(deps): update dependency structlog to v25.5.0 #1296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
renovate merged 1 commit into main from renovate/structlog-25.x-lockfile
Nov 3, 2025

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 3, 2025

This PR contains the following updates:

Package Change Age Confidence
structlog (changelog) 25.4.0 -> 25.5.0 age confidence

Release Notes

hynek/structlog (structlog)

v25.5.0

Compare Source

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().
    #​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:

    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.

    #​749
    #​756
    #​757
    #​759

  • Added structlog.dev.ConsoleRenderer.get_default_column_styles() for reuse the default column styles.
    #​741

  • structlog.testing.capture_logs() now optionally accepts processors to apply before capture.
    #​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.
    #​717

  • Native loggers now allow the passing of a dictionary for dictionary-based interpolation log.info("hello %(name)s!", {"name": "world"}).
    #​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.
    #​763

Changed
  • structlog.dev.rich_traceback() now throws a more helpful error when Rich is missing.
    #​735
Fixed
  • structlog.processors.MaybeTimeStamper now respects the key argument when determining whether to overwrite the timestamp field.
    #​747

  • structlog.tracebacks.extract() no longer raises a RecursionError when the cause chain of an exception contains itself.
    #​739

  • Default config now respects FORCE_COLOR on Windows.
    #​758


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 3, 2025
@renovate renovate bot enabled auto-merge November 3, 2025 01:13
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 3, 2025
@renovate renovate bot force-pushed the renovate/structlog-25.x-lockfile branch from 9a1bc7f to 32cd06b Compare November 3, 2025 01:19
@renovate renovate bot force-pushed the renovate/structlog-25.x-lockfile branch from 32cd06b to 7b5b451 Compare November 3, 2025 01:24
@renovate renovate bot added this pull request to the merge queue Nov 3, 2025
Merged via the queue into main with commit 77ddd2b Nov 3, 2025
28 checks passed
@renovate renovate bot deleted the renovate/structlog-25.x-lockfile branch November 3, 2025 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@renovate-approve renovate-approve[bot] renovate-approve[bot] approved these changes

Assignees

No one assigned

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /