Skip to content

vendor: github.com/sirupsen/logrus v1.10.1 - #7222

Merged
vvoland merged 1 commit into
docker:masterfrom
thaJeztah:bump_logrus
Aug 19, 2026
Merged

vendor: github.com/sirupsen/logrus v1.10.1#7222
vvoland merged 1 commit into
docker:masterfrom
thaJeztah:bump_logrus

Conversation

@thaJeztah

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
release-notes: https://github.com/sirupsen/logrus/releases/tag/v1.10.1
full diff: sirupsen/logrus@v1.9.4...v1.10.1

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

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
release-notes: https://github.com/sirupsen/logrus/releases/tag/v1.10.1
full diff: sirupsen/logrus@v1.9.4...v1.10.1

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@vvoland
vvoland merged commit 55e4a7e into docker:master Aug 19, 2026
103 checks passed
@thaJeztah
thaJeztah deleted the bump_logrus branch August 19, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants