Skip to content

Update dependency structlog to v26#209

Merged
bobh66 merged 1 commit into
mainfrom
renovate/structlog-26.x
Jun 6, 2026
Merged

Update dependency structlog to v26#209
bobh66 merged 1 commit into
mainfrom
renovate/structlog-26.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jun 6, 2026

This PR contains the following updates:

Package Change Age Confidence
structlog (changelog) ==25.*==26.* age confidence

Release Notes

hynek/structlog (structlog)

v26.1.0

Compare Source

Removed
  • Python 3.8 and 3.9 support.
Deprecated
Added
  • Python 3.15 support.
    #​813

  • structlog.dev.rich_monochrome_traceback for Rich-based monochrome exception rendering and add support for it throughout structlog.dev.ConsoleRenderer when the user asks for no colors.
    #​794

  • structlog.BytesLogger now has a name attribute which allows you to use it with the structlog.stdlib.add_logger_name() processor without using the standard library integration.
    #​786

  • structlog.processors.CallsiteParameterAdder now supports CallsiteParameter.QUAL_MODULE that adds the qualified import name of the module of the callsite, or __main__ if the module is the entry point.
    This is only available for structlog-originated events since the standard library has no equivalent (except for the convention of setting the logger's name to __name__).
    #​812

  • structlog.stdlib.BoundLogger now has is_enabled_for() and get_effective_level() methods that are snake_case aliases for its isEnabledFor() and getEffectiveLevel() methods.
    This makes it more compatible with the native structlog.typing.FilteringBoundLogger, so you can swap configurations without changing your call sites.
    #​818

Changed
  • structlog.dev.ConsoleRenderer does not warn anymore when the exception key has a rendered value despite having a fancy formatter configured.
    #​790
Fixed
  • structlog.BytesLogger, structlog.PrintLogger, and structlog.WriteLogger now hold weak references to the files they use for output.
    This prevents their leakage in long-running processes that open many logfiles, such as task executors that create a per-task BytesLogger or WriteLogger.
    #​807

  • structlog.WriteLogger is usable after unpickling.
    #​787

  • structlog.processors.CallsiteParameterAdder now reports the calling thread's id and name for async log methods, instead of the thread from the executor pool that runs the underlying sync logger.
    #​710
    #​805


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.


  • 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 requested review from bobh66 and negz as code owners June 6, 2026 09:35
@bobh66 bobh66 merged commit 11b617c into main Jun 6, 2026
6 checks passed
@renovate renovate Bot deleted the renovate/structlog-26.x branch June 6, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant