Skip to content

chore(deps): bump github.com/sirupsen/logrus v1.10.0 - #16

Merged
mxpv merged 1 commit into
containerd:mainfrom
thaJeztah:bump_logrus1.10
Aug 14, 2026
Merged

chore(deps): bump github.com/sirupsen/logrus v1.10.0#16
mxpv merged 1 commit into
containerd:mainfrom
thaJeztah:bump_logrus1.10

Conversation

@thaJeztah

@thaJeztah thaJeztah commented Apr 27, 2026

Copy link
Copy Markdown
Member

Notable changes:

  • Add bidirectional log/slog integration with a Logrus hook and slog.Handler.
  • Add minimal, composable logging interfaces for individual log levels.
  • Fix reentrant logging deadlocks and improve concurrency safety around formatters, hooks, and entries.
  • Fix generic Log, Logf, Logln, and LogFn methods unexpectedly panicking at PanicLevel.
  • Allow Entry.Caller to be set explicitly and preserved across derived entries.
  • Improve TextFormatter performance and reduce allocations significantly.
  • Improve common Logger and Entry hot paths and caller-reporting performance.
  • Update TextFormatter handling for []byte, debug/trace colors, and Windows ANSI terminals.
  • Raise the minimum supported Go version to Go 1.23.
  • Deprecate Entry.HasCaller and MutexWrap.

release-notes: https://github.com/sirupsen/logrus/releases/tag/v1.10.0
full diff: sirupsen/logrus@v1.9.4...v1.10.0

@thaJeztah
thaJeztah marked this pull request as draft April 27, 2026 12:56
@thaJeztah
thaJeztah force-pushed the bump_logrus1.10 branch 9 times, most recently from f8ff82f to ca1069a Compare August 13, 2026 15:54
Notable changes:

- Add bidirectional `log/slog` integration with a Logrus hook and `slog.Handler`.
- Add minimal, composable logging interfaces for individual log levels.
- Fix reentrant logging deadlocks and improve concurrency safety around formatters, hooks, and entries.
- Fix generic `Log`, `Logf`, `Logln`, and `LogFn` methods unexpectedly panicking at `PanicLevel`.
- Allow `Entry.Caller` to be set explicitly and preserved across derived entries.
- Improve `TextFormatter` performance and reduce allocations significantly.
- Improve common Logger and Entry hot paths and caller-reporting performance.
- Update `TextFormatter` handling for `[]byte`, debug/trace colors, and Windows ANSI terminals.
- Raise the minimum supported Go version to Go 1.23.
- Deprecate `Entry.HasCaller` and `MutexWrap`.

release-notes: https://github.com/sirupsen/logrus/releases/tag/v1.10.0
full diff: sirupsen/logrus@v1.9.4...v1.10.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
thaJeztah marked this pull request as ready for review August 13, 2026 16:24
@mxpv
mxpv merged commit e0999fb into containerd:main Aug 14, 2026
7 checks passed
@thaJeztah
thaJeztah deleted the bump_logrus1.10 branch August 14, 2026 17:33
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.

3 participants