Update module github.com/sirupsen/logrus to v1.10.1 - #6
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/github.com-sirupsen-logrus-1.x
branch
from
January 16, 2026 00:05
9d81010 to
2d694a3
Compare
renovate
Bot
force-pushed
the
renovate/github.com-sirupsen-logrus-1.x
branch
from
August 16, 2026 03:43
2d694a3 to
287f9a1
Compare
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
renovate
Bot
force-pushed
the
renovate/github.com-sirupsen-logrus-1.x
branch
from
August 21, 2026 07:58
287f9a1 to
cb43f0e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.4.2→v1.10.1Release Notes
sirupsen/logrus (github.com/sirupsen/logrus)
v1.10.1Compare Source
Logrus v1.10.1
This patch release fixes two issues in field formatting and handling:
TextFormattercould panicwhen formatting nil or panicking
errorandfmt.Stringervalues.errorto be used withWithError,WithField, andWithFields.Dependency Changes
Full Changelog: sirupsen/logrus@v1.10.0...v1.10.1
v1.10.0Compare Source
Logrus v1.10.0
This release focuses on substantial performance improvements, concurrency correctness, and better interoperability with modern Go logging APIs.
🚀 Performance
Major improvements across
TextFormatter, entry handling, and common logger paths:WithErroris ~40% fasterTextFormatterpaths are up to ~40% fasterTextFormattercases, with the largest reductions in colored outputThe improvements also show up in complete logger paths:
TextFormatteris ~31% faster, with ~24% fewer allocationsJSONFormatteris ~21% faster, with ~10% fewer allocationsJSONFormatteritself remains largely unchanged in runtime performance, with small allocation reductions.🔄
log/sloginteroperabilityv1.10 adds bidirectional interoperability between Logrus and Go's
log/slog:sloghook can forward existing Logrus entries to ansloglogger.hooks/slog.NewHandlerimplementsslog.Handler, allowinglog/slogrecords to use an existing Logrus logger and its hooks, formatter, and output.ReportCalleroption.sloglevels can be mapped to Logrus levels.log/slogwithout requiring an all-at-once transition.This allows applications to migrate their logging API and logging backend independently: existing Logrus call sites can start using an
slogbackend, while newslogcode can continue using an established Logrus setup.🔒 Concurrency & Correctness
MarshalJSONor formatter code.Log,Logf,Logln, andLogFnmethods unexpectedly panicking when called withPanicLevel, contrary to their documented behavior.➕ Added
TextFormatternow automatically enables colors on Windows terminals with ANSI support, matching behavior on other platforms.Entry.Callercan now be set explicitly and is preserved across derived entries. When caller reporting is enabled, Logrus only detects and populates caller information when none was provided, allowing custom caller detection and wrapper-aware logging without adding additional caller configuration APIs.TextFormatternow renders[]byteas raw/quoted strings instead of numeric slices.If you relied on the previous slice-of-ints output, convert explicitly before logging.
TextFormatternow uses dim cyan for debug output and dim white for trace output in colorized TTY output.Entry.HasCalleris now deprecated in favor of checkingEntry.Callerdirectly. A//go:fix inlinedirective was added so existing uses can be updated automatically.MutexWrap, which was unintentionally exposed as public API, is deprecated. It remains available as an alias for compatibility but should not be used directly.v1.10 is primarily a performance, correctness, and interoperability release with no intentional breaking public API changes.
Benchmarks (sampled at 457e372460c7a80ca7c800b51ebeee5362aaa180)
Full Changelog: sirupsen/logrus@v1.9.4...v1.10.0
v1.9.4Compare Source
Notable changes
ioutilpackage #1472Full Changelog: sirupsen/logrus@v1.9.3...v1.9.4
v1.9.3Compare Source
f9291a5(re-apply #1376)d40e25cFull Changelog: sirupsen/logrus@v1.9.2...v1.9.3
v1.9.2Compare Source
Full Changelog: sirupsen/logrus@v1.9.1...v1.9.2
v1.9.1Compare Source
What's Changed
New Contributors
Full Changelog: sirupsen/logrus@v1.9.0...v1.9.1
v1.9.0Compare Source
v1.8.3Compare Source
What's Changed
New Contributors
Full Changelog: sirupsen/logrus@v1.8.2...v1.8.3
v1.8.2Compare Source
What's Changed
New Contributors
Full Changelog: sirupsen/logrus@v1.8.1...v1.8.2
v1.8.1Compare Source
v1.8.0Compare Source
Correct versioning number replacing v1.7.1
v1.7.1Compare Source
Code quality:
Fixes:
Features:
v1.7.0: Add new BufferPool and LogFunction APIsCompare Source
<LogLevel>Fn()functions have been addedv1.6.0Compare Source
Release v1.6.0
v1.5.0Compare Source
This new release introduces:
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.