Skip to content

Commit

Permalink
chore(deps): bump go.uber.org/zap from 1.24.0 to 1.27.0 (#28)
Browse files Browse the repository at this point in the history
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.24.0 to
1.27.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/uber-go/zap/releases">go.uber.org/zap's
releases</a>.</em></p>
<blockquote>
<h2>v1.27.0</h2>
<p>Enhancements:</p>
<ul>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1378">#1378</a>[]:
Add <code>WithLazy</code> method for <code>SugaredLogger</code>.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1399">#1399</a>[]:
zaptest: Add <code>NewTestingWriter</code> for customizing TestingWriter
with more flexibility than <code>NewLogger</code>.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1406">#1406</a>[]:
Add <code>Log</code>, <code>Logw</code>, <code>Logln</code> methods for
<code>SugaredLogger</code>.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1416">#1416</a>[]:
Add <code>WithPanicHook</code> option for testing panic logs.</li>
</ul>
<p>Thanks to <a
href="https://github.com/defval"><code>@​defval</code></a>, <a
href="https://github.com/dimmo"><code>@​dimmo</code></a>, <a
href="https://github.com/arxeiss"><code>@​arxeiss</code></a>, and <a
href="https://github.com/MKrupauskas"><code>@​MKrupauskas</code></a> for
their contributions to this release.</p>
<p><a
href="https://redirect.github.com/uber-go/zap/issues/1378">#1378</a>: <a
href="https://redirect.github.com/uber-go/zap/pull/1378">uber-go/zap#1378</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1399">#1399</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1399">uber-go/zap#1399</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1406">#1406</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1406">uber-go/zap#1406</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1416">#1416</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1416">uber-go/zap#1416</a></p>
<h2>v1.26.0</h2>
<p>Enhancements:</p>
<ul>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1297">#1297</a>[]:
Add <code>Dict</code> as a <code>Field</code>.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1319">#1319</a>[]:
Add <code>WithLazy</code> method to <code>Logger</code> which lazily
evaluates the structured
context.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1350">#1350</a>[]:
String encoding is much (~50%) faster now.</li>
</ul>
<p>Thanks to <a
href="https://github.com/hhk7734"><code>@​hhk7734</code></a>, <a
href="https://github.com/jquirke"><code>@​jquirke</code></a>, <a
href="https://github.com/cdvr1993"><code>@​cdvr1993</code></a> for their
contributions to this release.</p>
<p><a
href="https://redirect.github.com/uber-go/zap/issues/1297">#1297</a>: <a
href="https://redirect.github.com/uber-go/zap/pull/1297">uber-go/zap#1297</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1319">#1319</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1319">uber-go/zap#1319</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1350">#1350</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1350">uber-go/zap#1350</a></p>
<h2>v1.25.0</h2>
<p>This release contains several improvements including performance, API
additions,
and two new experimental packages whose APIs are unstable and may change
in the
future.</p>
<p>Enhancements:</p>
<ul>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1246">#1246</a>[]:
Add <code>zap/exp/zapslog</code> package for integration with slog.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1273">#1273</a>[]:
Add <code>Name</code> to <code>Logger</code> which returns the Logger's
name if one is set.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1281">#1281</a>[]:
Add <code>zap/exp/expfield</code> package which contains helper methods
<code>Str</code> and <code>Strs</code> for constructing String-like
zap.Fields.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1310">#1310</a>[]:
Reduce stack size on <code>Any</code>.</li>
</ul>
<p>Thanks to <a
href="https://github.com/knight42"><code>@​knight42</code></a>, <a
href="https://github.com/dzakaammar"><code>@​dzakaammar</code></a>, <a
href="https://github.com/bcspragu"><code>@​bcspragu</code></a>, and <a
href="https://github.com/rexywork"><code>@​rexywork</code></a> for their
contributions
to this release.</p>
<p><a
href="https://redirect.github.com/uber-go/zap/issues/1246">#1246</a>: <a
href="https://redirect.github.com/uber-go/zap/pull/1246">uber-go/zap#1246</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1273">#1273</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1273">uber-go/zap#1273</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1281">#1281</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1281">uber-go/zap#1281</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1310">#1310</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1310">uber-go/zap#1310</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/uber-go/zap/blob/master/CHANGELOG.md">go.uber.org/zap's
changelog</a>.</em></p>
<blockquote>
<h2>1.27.0 (20 Feb 2024)</h2>
<p>Enhancements:</p>
<ul>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1378">#1378</a>[]:
Add <code>WithLazy</code> method for <code>SugaredLogger</code>.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1399">#1399</a>[]:
zaptest: Add <code>NewTestingWriter</code> for customizing TestingWriter
with more flexibility than <code>NewLogger</code>.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1406">#1406</a>[]:
Add <code>Log</code>, <code>Logw</code>, <code>Logln</code> methods for
<code>SugaredLogger</code>.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1416">#1416</a>[]:
Add <code>WithPanicHook</code> option for testing panic logs.</li>
</ul>
<p>Thanks to <a
href="https://github.com/defval"><code>@​defval</code></a>, <a
href="https://github.com/dimmo"><code>@​dimmo</code></a>, <a
href="https://github.com/arxeiss"><code>@​arxeiss</code></a>, and <a
href="https://github.com/MKrupauskas"><code>@​MKrupauskas</code></a> for
their contributions to this release.</p>
<p><a
href="https://redirect.github.com/uber-go/zap/issues/1378">#1378</a>: <a
href="https://redirect.github.com/uber-go/zap/pull/1378">uber-go/zap#1378</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1399">#1399</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1399">uber-go/zap#1399</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1406">#1406</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1406">uber-go/zap#1406</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1416">#1416</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1416">uber-go/zap#1416</a></p>
<h2>1.26.0 (14 Sep 2023)</h2>
<p>Enhancements:</p>
<ul>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1297">#1297</a>[]:
Add Dict as a Field.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1319">#1319</a>[]:
Add <code>WithLazy</code> method to <code>Logger</code> which lazily
evaluates the structured
context.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1350">#1350</a>[]:
String encoding is much (~50%) faster now.</li>
</ul>
<p>Thanks to <a
href="https://github.com/hhk7734"><code>@​hhk7734</code></a>, <a
href="https://github.com/jquirke"><code>@​jquirke</code></a>, and <a
href="https://github.com/cdvr1993"><code>@​cdvr1993</code></a> for their
contributions to this release.</p>
<p><a
href="https://redirect.github.com/uber-go/zap/issues/1297">#1297</a>: <a
href="https://redirect.github.com/uber-go/zap/pull/1297">uber-go/zap#1297</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1319">#1319</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1319">uber-go/zap#1319</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1350">#1350</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1350">uber-go/zap#1350</a></p>
<h2>1.25.0 (1 Aug 2023)</h2>
<p>This release contains several improvements including performance, API
additions,
and two new experimental packages whose APIs are unstable and may change
in the
future.</p>
<p>Enhancements:</p>
<ul>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1246">#1246</a>[]:
Add <code>zap/exp/zapslog</code> package for integration with slog.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1273">#1273</a>[]:
Add <code>Name</code> to <code>Logger</code> which returns the Logger's
name if one is set.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1281">#1281</a>[]:
Add <code>zap/exp/expfield</code> package which contains helper methods
<code>Str</code> and <code>Strs</code> for constructing String-like
zap.Fields.</li>
<li><a
href="https://redirect.github.com/uber-go/zap/issues/1310">#1310</a>[]:
Reduce stack size on <code>Any</code>.</li>
</ul>
<p>Thanks to <a
href="https://github.com/knight42"><code>@​knight42</code></a>, <a
href="https://github.com/dzakaammar"><code>@​dzakaammar</code></a>, <a
href="https://github.com/bcspragu"><code>@​bcspragu</code></a>, and <a
href="https://github.com/rexywork"><code>@​rexywork</code></a> for their
contributions
to this release.</p>
<p><a
href="https://redirect.github.com/uber-go/zap/issues/1246">#1246</a>: <a
href="https://redirect.github.com/uber-go/zap/pull/1246">uber-go/zap#1246</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1273">#1273</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1273">uber-go/zap#1273</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1281">#1281</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1281">uber-go/zap#1281</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1310">#1310</a>:
<a
href="https://redirect.github.com/uber-go/zap/pull/1310">uber-go/zap#1310</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/uber-go/zap/commit/fcf8ee58669e358bbd6460bef5c2ee7a53c0803a"><code>fcf8ee5</code></a>
Release v1.27.0 (<a
href="https://redirect.github.com/uber-go/zap/issues/1419">#1419</a>)</li>
<li><a
href="https://github.com/uber-go/zap/commit/e5a56ee593d51f611de3a73cf3140f1c1927d68e"><code>e5a56ee</code></a>
Add WithPanicHook logger option for panic log tests (<a
href="https://redirect.github.com/uber-go/zap/issues/1416">#1416</a>)</li>
<li><a
href="https://github.com/uber-go/zap/commit/0e2aa4e0412dfb49d87f9ec96b47c8296189cfa3"><code>0e2aa4e</code></a>
assets: Fix logo color profile (<a
href="https://redirect.github.com/uber-go/zap/issues/1418">#1418</a>)</li>
<li><a
href="https://github.com/uber-go/zap/commit/956a21c19cf77ea7a78f9f08ca44b6f77f95053a"><code>956a21c</code></a>
Add methods for logging with level as argument (<a
href="https://redirect.github.com/uber-go/zap/issues/1406">#1406</a>)</li>
<li><a
href="https://github.com/uber-go/zap/commit/2a893f61347ef844d78dcb4ad3b454ee11ae7641"><code>2a893f6</code></a>
build(deps): bump golangci/golangci-lint-action from 3 to 4 (<a
href="https://redirect.github.com/uber-go/zap/issues/1417">#1417</a>)</li>
<li><a
href="https://github.com/uber-go/zap/commit/e5745d6095ecc2497281569e8713835f2c4a029f"><code>e5745d6</code></a>
ci: Test with Go 1.22 (<a
href="https://redirect.github.com/uber-go/zap/issues/1409">#1409</a>)</li>
<li><a
href="https://github.com/uber-go/zap/commit/7db06bc9b095571d3dc3d4eebdfbe4dd9bd20405"><code>7db06bc</code></a>
zapslog: rename Option to HandlerOption (<a
href="https://redirect.github.com/uber-go/zap/issues/1411">#1411</a>)</li>
<li><a
href="https://github.com/uber-go/zap/commit/35ded09102db8ce0b2eba3e87f54ba6ce14f2359"><code>35ded09</code></a>
zapslog: fix all with slogtest, support inline group, ignore empty
group. (<a
href="https://redirect.github.com/uber-go/zap/issues/1">#1</a>...</li>
<li><a
href="https://github.com/uber-go/zap/commit/27b96e378909082d0bf2f0c5802a9f648150fe98"><code>27b96e3</code></a>
Make zaptest.NewTestingWriter public (<a
href="https://redirect.github.com/uber-go/zap/issues/1399">#1399</a>)</li>
<li><a
href="https://github.com/uber-go/zap/commit/70f61bb342203a50f8192b05f7faf40a0f809a91"><code>70f61bb</code></a>
zapslog: Bump zap from v1.24.0 to v1.26.0 (<a
href="https://redirect.github.com/uber-go/zap/issues/1404">#1404</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/uber-go/zap/compare/v1.24.0...v1.27.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go.uber.org/zap&package-manager=go_modules&previous-version=1.24.0&new-version=1.27.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>
  • Loading branch information
tal-asulin authored Apr 30, 2024
2 parents bd809f5 + 25043e6 commit 6290ae1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.14.0
github.com/stretchr/testify v1.9.0
go.uber.org/zap v1.24.0
go.uber.org/zap v1.27.0
k8s.io/api v0.26.1
k8s.io/apimachinery v0.26.1
k8s.io/client-go v0.26.1
Expand Down Expand Up @@ -49,8 +49,7 @@ require (
github.com/prometheus/common v0.37.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/multierr v1.10.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect
golang.org/x/sys v0.13.0 // indirect
Expand Down
11 changes: 5 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuy
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
Expand Down Expand Up @@ -272,15 +271,15 @@ go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A=
go.uber.org/goleak v1.2.0 h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk=
go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ=
go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI=
go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60=
go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg=
go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8=
go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
Expand Down

0 comments on commit 6290ae1

Please sign in to comment.