Skip to content

Commit

Permalink
Update module go.uber.org/zap to v1.26.0 (#49)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [go.uber.org/zap](https://togithub.com/uber-go/zap) | require | minor
| `v1.24.0` -> `v1.26.0` |

---

### Release Notes

<details>
<summary>uber-go/zap (go.uber.org/zap)</summary>

### [`v1.26.0`](https://togithub.com/uber-go/zap/releases/tag/v1.26.0)

[Compare
Source](https://togithub.com/uber-go/zap/compare/v1.25.0...v1.26.0)

Enhancements:

-   [#&#8203;1297][]: Add `Dict` as a `Field`.
- [#&#8203;1319][]: Add `WithLazy` method to `Logger` which lazily
evaluates the structured
    context.
-   [#&#8203;1350][]: String encoding is much (~50%) faster now.

Thanks to [@&#8203;hhk7734](https://togithub.com/hhk7734),
[@&#8203;jquirke](https://togithub.com/jquirke),
[@&#8203;cdvr1993](https://togithub.com/cdvr1993) for their
contributions to this release.

[#&#8203;1297]: https://togithub.com/uber-go/zap/pull/1297

[#&#8203;1319]: https://togithub.com/uber-go/zap/pull/1319

[#&#8203;1350]: https://togithub.com/uber-go/zap/pull/1350

### [`v1.25.0`](https://togithub.com/uber-go/zap/releases/tag/v1.25.0)

[Compare
Source](https://togithub.com/uber-go/zap/compare/v1.24.0...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:

- [#&#8203;1246][]: Add `zap/exp/zapslog` package for integration with
slog.
- [#&#8203;1273][]: Add `Name` to `Logger` which returns the Logger's
name if one is set.
- [#&#8203;1281][]: Add `zap/exp/expfield` package which contains helper
methods
    `Str` and `Strs` for constructing String-like zap.Fields.
-   [#&#8203;1310][]: Reduce stack size on `Any`.

Thanks to [@&#8203;knight42](https://togithub.com/knight42),
[@&#8203;dzakaammar](https://togithub.com/dzakaammar),
[@&#8203;bcspragu](https://togithub.com/bcspragu), and
[@&#8203;rexywork](https://togithub.com/rexywork) for their
contributions
to this release.

[#&#8203;1246]: https://togithub.com/uber-go/zap/pull/1246

[#&#8203;1273]: https://togithub.com/uber-go/zap/pull/1273

[#&#8203;1281]: https://togithub.com/uber-go/zap/pull/1281

[#&#8203;1310]: https://togithub.com/uber-go/zap/pull/1310

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/infratographer/location-api).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Oct 26, 2023
1 parent 356436e commit 55d45f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ require (
github.com/wundergraph/graphql-go-tools v1.63.0
go.infratographer.com/permissions-api v0.1.14
go.infratographer.com/x v0.3.4
go.uber.org/zap v1.24.0
go.uber.org/zap v1.26.0
)

require (
Expand Down Expand Up @@ -144,7 +144,7 @@ require (
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
go.step.sm/crypto v0.31.2 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
go.uber.org/multierr v1.10.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/mod v0.12.0 // indirect
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -598,12 +598,16 @@ go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+
go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU=
go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI=
go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ=
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/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA=
go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM=
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.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo=
go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE=
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
Expand Down

0 comments on commit 55d45f7

Please sign in to comment.