uber-go/zap (go.uber.org/zap)
### [`v1.27.0`](https://togithub.com/uber-go/zap/releases/tag/v1.27.0)
[Compare Source](https://togithub.com/uber-go/zap/compare/v1.26.0...v1.27.0)
Enhancements:
- [#1378][]: Add `WithLazy` method for `SugaredLogger`.
- [#1399][]: zaptest: Add `NewTestingWriter` for customizing TestingWriter with more flexibility than `NewLogger`.
- [#1406][]: Add `Log`, `Logw`, `Logln` methods for `SugaredLogger`.
- [#1416][]: Add `WithPanicHook` option for testing panic logs.
Thanks to [@defval](https://togithub.com/defval), [@dimmo](https://togithub.com/dimmo), [@arxeiss](https://togithub.com/arxeiss), and [@MKrupauskas](https://togithub.com/MKrupauskas) for their contributions to this release.
[#1378]: https://togithub.com/uber-go/zap/pull/1378
[#1399]: https://togithub.com/uber-go/zap/pull/1399
[#1406]: https://togithub.com/uber-go/zap/pull/1406
[#1416]: https://togithub.com/uber-go/zap/pull/1416
### [`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:
- [#1297][]: Add `Dict` as a `Field`.
- [#1319][]: Add `WithLazy` method to `Logger` which lazily evaluates the structured
context.
- [#1350][]: String encoding is much (~50%) faster now.
Thanks to [@hhk7734](https://togithub.com/hhk7734), [@jquirke](https://togithub.com/jquirke), [@cdvr1993](https://togithub.com/cdvr1993) for their contributions to this release.
[#1297]: https://togithub.com/uber-go/zap/pull/1297
[#1319]: https://togithub.com/uber-go/zap/pull/1319
[#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:
- [#1246][]: Add `zap/exp/zapslog` package for integration with slog.
- [#1273][]: Add `Name` to `Logger` which returns the Logger's name if one is set.
- [#1281][]: Add `zap/exp/expfield` package which contains helper methods
`Str` and `Strs` for constructing String-like zap.Fields.
- [#1310][]: Reduce stack size on `Any`.
Thanks to [@knight42](https://togithub.com/knight42), [@dzakaammar](https://togithub.com/dzakaammar), [@bcspragu](https://togithub.com/bcspragu), and [@rexywork](https://togithub.com/rexywork) for their contributions
to this release.
[#1246]: https://togithub.com/uber-go/zap/pull/1246
[#1273]: https://togithub.com/uber-go/zap/pull/1273
[#1281]: https://togithub.com/uber-go/zap/pull/1281
[#1310]: https://togithub.com/uber-go/zap/pull/1310
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.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v1.24.0
->v1.27.0
Release Notes
uber-go/zap (go.uber.org/zap)
### [`v1.27.0`](https://togithub.com/uber-go/zap/releases/tag/v1.27.0) [Compare Source](https://togithub.com/uber-go/zap/compare/v1.26.0...v1.27.0) Enhancements: - [#1378][]: Add `WithLazy` method for `SugaredLogger`. - [#1399][]: zaptest: Add `NewTestingWriter` for customizing TestingWriter with more flexibility than `NewLogger`. - [#1406][]: Add `Log`, `Logw`, `Logln` methods for `SugaredLogger`. - [#1416][]: Add `WithPanicHook` option for testing panic logs. Thanks to [@defval](https://togithub.com/defval), [@dimmo](https://togithub.com/dimmo), [@arxeiss](https://togithub.com/arxeiss), and [@MKrupauskas](https://togithub.com/MKrupauskas) for their contributions to this release. [#1378]: https://togithub.com/uber-go/zap/pull/1378 [#1399]: https://togithub.com/uber-go/zap/pull/1399 [#1406]: https://togithub.com/uber-go/zap/pull/1406 [#1416]: https://togithub.com/uber-go/zap/pull/1416 ### [`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: - [#1297][]: Add `Dict` as a `Field`. - [#1319][]: Add `WithLazy` method to `Logger` which lazily evaluates the structured context. - [#1350][]: String encoding is much (~50%) faster now. Thanks to [@hhk7734](https://togithub.com/hhk7734), [@jquirke](https://togithub.com/jquirke), [@cdvr1993](https://togithub.com/cdvr1993) for their contributions to this release. [#1297]: https://togithub.com/uber-go/zap/pull/1297 [#1319]: https://togithub.com/uber-go/zap/pull/1319 [#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: - [#1246][]: Add `zap/exp/zapslog` package for integration with slog. - [#1273][]: Add `Name` to `Logger` which returns the Logger's name if one is set. - [#1281][]: Add `zap/exp/expfield` package which contains helper methods `Str` and `Strs` for constructing String-like zap.Fields. - [#1310][]: Reduce stack size on `Any`. Thanks to [@knight42](https://togithub.com/knight42), [@dzakaammar](https://togithub.com/dzakaammar), [@bcspragu](https://togithub.com/bcspragu), and [@rexywork](https://togithub.com/rexywork) for their contributions to this release. [#1246]: https://togithub.com/uber-go/zap/pull/1246 [#1273]: https://togithub.com/uber-go/zap/pull/1273 [#1281]: https://togithub.com/uber-go/zap/pull/1281 [#1310]: https://togithub.com/uber-go/zap/pull/1310Configuration
📅 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.
This PR was generated by Mend Renovate. View the repository job log.