Skip to content

Commit af5e5e1

Browse files
dependabot[bot]monty-botacabarbaye
authored
⬆️ Bump go.uber.org/zap from 1.24.0 to 1.25.0 in /utils (#299)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.24.0 to 1.25.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.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.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/56468e797f1dbf3905ad7c34b5513928206244bf"><code>56468e7</code></a> Release v1.25.0</li> <li><a href="https://github.com/uber-go/zap/commit/249507a8cf0294b844ad52d0707c83997d931205"><code>249507a</code></a> zap.Any: Reduce stack size with generics (<a href="https://redirect.github.com/uber-go/zap/issues/1310">#1310</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/50b2db4fdecf067666874bd2e323ae601cf32559"><code>50b2db4</code></a> zap.Any add benchmarks</li> <li><a href="https://github.com/uber-go/zap/commit/a0674c80b9adb6cf3ae1fa1853e6fb99100f3ad6"><code>a0674c8</code></a> Add direct coverage to zap.Any (<a href="https://redirect.github.com/uber-go/zap/issues/1309">#1309</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/131069186815d2515c6dac05bb1ccb979ec07395"><code>1310691</code></a> Table test TestFieldConstructors</li> <li><a href="https://github.com/uber-go/zap/commit/382e2511e51cda8afde24f9e6e741f934308edfa"><code>382e251</code></a> Swap expected and got fields (<a href="https://redirect.github.com/uber-go/zap/issues/1282">#1282</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/24b79770f15487182d38aec5d3fcb34c7fb8fe66"><code>24b7977</code></a> Add Name() to Logger (<a href="https://redirect.github.com/uber-go/zap/issues/1273">#1273</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/1155ed31d6c730acbade1eb0d8c4fac021dd20a6"><code>1155ed3</code></a> Introduce Str + Strs generic string helpers (<a href="https://redirect.github.com/uber-go/zap/issues/1281">#1281</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/4451b47c5e4c4263828b042d6fb12d6d14c6ca2e"><code>4451b47</code></a> exp: Update slog, adjust for changes (<a href="https://redirect.github.com/uber-go/zap/issues/1276">#1276</a>)</li> <li><a href="https://github.com/uber-go/zap/commit/845ca51d5b8d9fed9fe14f35ab13b6b160d5762d"><code>845ca51</code></a> internal: Add and use a generic pool instead of using sync.Pool directly (<a href="https://redirect.github.com/uber-go/zap/issues/1262">#1262</a>)</li> <li>Additional commits viewable in <a href="https://github.com/uber-go/zap/compare/v1.24.0...v1.25.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.25.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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 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> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Monty Bot <[email protected]> Co-authored-by: Adrien CABARBAYE <[email protected]>
1 parent 60bf3a8 commit af5e5e1

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

changes/20230908093729.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: zap-1.25.0

changes/20230908093730.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: zap-1.25.0

utils/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ require (
4141
github.com/zailic/slogr v0.0.2-alpha
4242
go.uber.org/atomic v1.11.0
4343
go.uber.org/goleak v1.2.1
44-
go.uber.org/zap v1.24.0
44+
go.uber.org/zap v1.25.0
4545
golang.org/x/exp v0.0.0-20230728194245-b0cb94b80691
4646
golang.org/x/crypto v0.13.0
4747
golang.org/x/net v0.15.0
@@ -88,7 +88,7 @@ require (
8888
github.com/tklauser/numcpus v0.6.1 // indirect
8989
github.com/xanzy/ssh-agent v0.3.3 // indirect
9090
github.com/yusufpapurcu/wmi v1.2.3 // indirect
91-
go.uber.org/multierr v1.8.0 // indirect
91+
go.uber.org/multierr v1.10.0 // indirect
9292
golang.org/x/sys v0.12.0 // indirect
9393
gopkg.in/ini.v1 v1.67.0 // indirect
9494
gopkg.in/warnings.v0 v0.1.2 // indirect

utils/go.sum

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496 h1:zV3ejI06
5656
github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496/go.mod h1:oGkLhpf+kjZl6xBf758TQhh5XrAeiJv/7FRz/2spLIg=
5757
github.com/avast/retry-go v3.0.0+incompatible h1:4SOWQ7Qs+oroOTQOYnAHqelpCO0biHSxpiH9JdtuBj0=
5858
github.com/avast/retry-go v3.0.0+incompatible/go.mod h1:XtSnn+n/sHqQIpZ10K1qAevBhOOCWBLXXy3hyiqqBrY=
59-
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
6059
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
60+
github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A=
6161
github.com/bmatcuk/doublestar/v3 v3.0.0 h1:TQtVPlDnAYwcrVNB2JiGuMc++H5qzWZd9PhkNo5WyHI=
6262
github.com/bmatcuk/doublestar/v3 v3.0.0/go.mod h1:6PcTVMw80pCY1RVuoqu3V++99uQB3vsSYKPTd8AWA0k=
6363
github.com/bombsimon/logrusr/v4 v4.0.0 h1:Pm0InGphX0wMhPqC02t31onlq9OVyJ98eP/Vh63t1Oo=
@@ -375,10 +375,11 @@ go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ
375375
go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A=
376376
go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4=
377377
go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
378-
go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8=
379-
go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak=
380-
go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60=
378+
go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ=
379+
go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
381380
go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg=
381+
go.uber.org/zap v1.25.0 h1:4Hvk6GtkucQ790dqmj7l1eEnRdKm3k3ZUrUMS2d5+5c=
382+
go.uber.org/zap v1.25.0/go.mod h1:JIAUzQIH94IC4fOJQm7gMmBJP5k7wQfdcnYdPoEXJYk=
382383
golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
383384
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
384385
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
@@ -751,7 +752,6 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
751752
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
752753
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
753754
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
754-
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
755755
gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
756756
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
757757
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)