midare
midare copied to clipboard
Bump go.uber.org/zap from 1.21.0 to 1.26.0 in /backend
Bumps go.uber.org/zap from 1.21.0 to 1.26.0.
Release notes
Sourced from go.uber.org/zap's releases.
v1.26.0
Enhancements:
- #1297[]: Add
Dict
as aField
.- #1319[]: Add
WithLazy
method toLogger
which lazily evaluates the structured context.- #1350[]: String encoding is much (~50%) faster now.
Thanks to
@hhk7734
,@jquirke
,@cdvr1993
for their contributions to this release.#1297: uber-go/zap#1297 #1319: uber-go/zap#1319 #1350: uber-go/zap#1350
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/zapslog
package for integration with slog.- #1273[]: Add
Name
toLogger
which returns the Logger's name if one is set.- #1281[]: Add
zap/exp/expfield
package which contains helper methodsStr
andStrs
for constructing String-like zap.Fields.- #1310[]: Reduce stack size on
Any
.Thanks to
@knight42
,@dzakaammar
,@bcspragu
, and@rexywork
for 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
Level
to bothLogger
andSugaredLogger
that reports the current minimum enabled log level.- #1185[]:
SugaredLogger
turns errors to zap.Error automatically.Thanks to
@Abirdcfly
,@craigpastro
,@nnnkkk7
, and@sashamelentyev
for their contributions to this release.#1148: uber-go/zap#1148 #1185: uber-go/zap#1185
v1.23.0
Enhancements:
- #1147[]: Add a
zapcore.LevelOf
function to determine the level of a
... (truncated)
Changelog
Sourced from go.uber.org/zap's changelog.
1.26.0 (14 Sep 2023)
Enhancements:
- #1319[]: Add
WithLazy
method toLogger
which lazily evaluates the structured context.- #1350[]: String encoding is much (~50%) faster now.
Thanks to
@jquirke
,@cdvr1993
for their contributions to this release.#1319: uber-go/zap#1319 #1350: uber-go/zap#1350
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/zapslog
package for integration with slog.- #1273[]: Add
Name
toLogger
which returns the Logger's name if one is set.- #1281[]: Add
zap/exp/expfield
package which contains helper methodsStr
andStrs
for constructing String-like zap.Fields.- #1310[]: Reduce stack size on
Any
.Thanks to
@knight42
,@dzakaammar
,@bcspragu
, and@rexywork
for 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
Level
to bothLogger
andSugaredLogger
that reports the current minimum enabled log level.- #1185[]:
SugaredLogger
turns errors to zap.Error automatically.Thanks to
@Abirdcfly
,@craigpastro
,@nnnkkk7
, and@sashamelentyev
for 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.LevelOf
function to determine the level of aLevelEnabler
orCore
.
... (truncated)
Commits
96038b7
Prepare for release v1.26.0 (#1355)c17272e
Add WithLazy Logger method (#1319)99f1811
exp: Add a changelog (#1353)7728f39
chore(CHANGELOG): Move reference links to sections (#1352)5a27bab
perf: Faster string encoding (#1350)82c728b
Replace benbjohnson/clock with custom MockClock (#1349)b7aed24
zapslog: Handle empty attrs centrally (#1351)2b35963
lint: Enable errcheck, fix failures (#1345)9a36792
test: improve slog coverage (#1347)e5e8b70
build(deps): bump actions/checkout from 3 to 4 (#1346)- 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)