Bump go.uber.org/zap from 1.26.0 to 1.27.0
Bumps go.uber.org/zap from 1.26.0 to 1.27.0.
Release notes
Sourced from go.uber.org/zap's releases.
v1.27.0
Enhancements:
- #1378[]: Add
WithLazymethod forSugaredLogger.- #1399[]: zaptest: Add
NewTestingWriterfor customizing TestingWriter with more flexibility thanNewLogger.- #1406[]: Add
Log,Logw,Loglnmethods forSugaredLogger.- #1416[]: Add
WithPanicHookoption for testing panic logs.Thanks to
@defval,@dimmo,@arxeiss, and@MKrupauskasfor their contributions to this release.#1378: uber-go/zap#1378 #1399: uber-go/zap#1399 #1406: uber-go/zap#1406 #1416: uber-go/zap#1416
Changelog
Sourced from go.uber.org/zap's changelog.
1.27.0 (20 Feb 2024)
Enhancements:
- #1378[]: Add
WithLazymethod forSugaredLogger.- #1399[]: zaptest: Add
NewTestingWriterfor customizing TestingWriter with more flexibility thanNewLogger.- #1406[]: Add
Log,Logw,Loglnmethods forSugaredLogger.- #1416[]: Add
WithPanicHookoption for testing panic logs.Thanks to
@defval,@dimmo,@arxeiss, and@MKrupauskasfor their contributions to this release.#1378: uber-go/zap#1378 #1399: uber-go/zap#1399 #1406: uber-go/zap#1406 #1416: uber-go/zap#1416
Commits
fcf8ee5Release v1.27.0 (#1419)e5a56eeAdd WithPanicHook logger option for panic log tests (#1416)0e2aa4eassets: Fix logo color profile (#1418)956a21cAdd methods for logging with level as argument (#1406)2a893f6build(deps): bump golangci/golangci-lint-action from 3 to 4 (#1417)e5745d6ci: Test with Go 1.22 (#1409)7db06bczapslog: rename Option to HandlerOption (#1411)35ded09zapslog: fix all with slogtest, support inline group, ignore empty group. (#1...27b96e3Make zaptest.NewTestingWriter public (#1399)70f61bbzapslog: Bump zap from v1.24.0 to v1.26.0 (#1404)- 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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@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)