Bump go.uber.org/zap from 1.21.0 to 1.25.0
Bumps go.uber.org/zap from 1.21.0 to 1.25.0.
Release notes
Sourced from go.uber.org/zap's releases.
v1.25.0
This release contains several improvements including performance, API additions, and two new experimental packages whose APIs are unstable and may change in the future.
Enhancements:
- #1246[]: Add
zap/exp/zapslogpackage for integration with slog.- #1273[]: Add
NametoLoggerwhich returns the Logger's name if one is set.- #1281[]: Add
zap/exp/expfieldpackage which contains helper methodsStrandStrsfor constructing String-like zap.Fields.- #1310[]: Reduce stack size on
Any.Thanks to
@knight42,@dzakaammar,@bcspragu, and@rexyworkfor their contributions to this release.#1246: uber-go/zap#1246 #1273: uber-go/zap#1273 #1281: uber-go/zap#1281 #1310: uber-go/zap#1310
v1.24.0
Enhancements:
- #1148[]: Add
Levelto bothLoggerandSugaredLoggerthat reports the current minimum enabled log level.- #1185[]:
SugaredLoggerturns errors to zap.Error automatically.Thanks to
@Abirdcfly,@craigpastro,@nnnkkk7, and@sashamelentyevfor their contributions to this release.#1148: uber-go/zap#1148 #1185: uber-go/zap#1185
v1.23.0
Enhancements:
- #1147[]: Add a
zapcore.LevelOffunction to determine the level of aLevelEnablerorCore.- #1155[]: Add
zap.Stringersfield constructor to log arrays of objects that implementString() string.#1147: uber-go/zap#1147 #1155: uber-go/zap#1155
v1.22.0
Enhancements:
- #1071[]: Add
zap.Objectsandzap.ObjectValuesfield constructors to log arrays of objects. With these two constructors, you don't need to implement
... (truncated)
Changelog
Sourced from go.uber.org/zap's changelog.
1.25.0 (1 Aug 2023)
This release contains several improvements including performance, API additions, and two new experimental packages whose APIs are unstable and may change in the future.
Enhancements:
- #1246[]: Add
zap/exp/zapslogpackage for integration with slog.- #1273[]: Add
NametoLoggerwhich returns the Logger's name if one is set.- #1281[]: Add
zap/exp/expfieldpackage which contains helper methodsStrandStrsfor constructing String-like zap.Fields.- #1310[]: Reduce stack size on
Any.Thanks to
@knight42,@dzakaammar,@bcspragu, and@rexyworkfor their contributions to this release.#1246: uber-go/zap#1246 #1273: uber-go/zap#1273 #1281: uber-go/zap#1281 #1310: uber-go/zap#1310
1.24.0 (30 Nov 2022)
Enhancements:
- #1148[]: Add
Levelto bothLoggerandSugaredLoggerthat reports the current minimum enabled log level.- #1185[]:
SugaredLoggerturns errors to zap.Error automatically.Thanks to
@Abirdcfly,@craigpastro,@nnnkkk7, and@sashamelentyevfor their contributions to this release.#1148: https://github.coml/uber-go/zap/pull/1148 #1185: https://github.coml/uber-go/zap/pull/1185
1.23.0 (24 Aug 2022)
Enhancements:
- #1147[]: Add a
zapcore.LevelOffunction to determine the level of aLevelEnablerorCore.- #1155[]: Add
zap.Stringersfield constructor to log arrays of objects that implementString() string.#1147: uber-go/zap#1147 #1155: uber-go/zap#1155
1.22.0 (8 Aug 2022)
Enhancements:
- #1071[]: Add
zap.Objectsandzap.ObjectValuesfield constructors to log
... (truncated)
Commits
56468e7Release v1.25.0249507azap.Any: Reduce stack size with generics (#1310)50b2db4zap.Any add benchmarksa0674c8Add direct coverage to zap.Any (#1309)1310691Table test TestFieldConstructors382e251Swap expected and got fields (#1282)24b7977Add Name() to Logger (#1273)1155ed3Introduce Str + Strs generic string helpers (#1281)4451b47exp: Update slog, adjust for changes (#1276)845ca51internal: Add and use a generic pool instead of using sync.Pool directly (#1262)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)