uber-go/zap
### [`v1.21.0`](https://togithub.com/uber-go/zap/releases/v1.21.0)
[Compare Source](https://togithub.com/uber-go/zap/compare/v1.20.0...v1.21.0)
#### 1.21.0 (7 Feb 2022)
Enhancements:
- [#1047][]: Add `zapcore.ParseLevel` to parse a `Level` from a string.
- [#1048][]: Add `zap.ParseAtomicLevel` to parse an `AtomicLevel` from a
string.
Bugfixes:
- [#1058][]: Fix panic in JSON encoder when `EncodeLevel` is unset.
Other changes:
- [#1052][]: Improve encoding performance when the `AddCaller` and
`AddStacktrace` options are used together.
[#1047]: https://togithub.com/uber-go/zap/pull/1047
[#1048]: https://togithub.com/uber-go/zap/pull/1048
[#1052]: https://togithub.com/uber-go/zap/pull/1052
[#1058]: https://togithub.com/uber-go/zap/pull/1058
Thanks to [@aerosol](https://togithub.com/aerosol) and [@Techassi](https://togithub.com/Techassi) for their contributions to this release.
### [`v1.20.0`](https://togithub.com/uber-go/zap/releases/v1.20.0)
[Compare Source](https://togithub.com/uber-go/zap/compare/v1.19.1...v1.20.0)
Enhancements:
- [#989][]: Add `EncoderConfig.SkipLineEnding` flag to disable adding newline
characters between log statements.
- [#1039][]: Add `EncoderConfig.NewReflectedEncoder` field to customize JSON
encoding of reflected log fields.
Bugfixes:
- [#1011][]: Fix inaccurate precision when encoding complex64 as JSON.
- [#554][], [#1017][]: Close JSON namespaces opened in `MarshalLogObject`
methods when the methods return.
- [#1033][]: Avoid panicking in Sampler core if `thereafter` is zero.
Other changes:
- [#1028][]: Drop support for Go < 1.15.
[#554]: https://togithub.com/uber-go/zap/pull/554
[#989]: https://togithub.com/uber-go/zap/pull/989
[#1011]: https://togithub.com/uber-go/zap/pull/1011
[#1017]: https://togithub.com/uber-go/zap/pull/1017
[#1028]: https://togithub.com/uber-go/zap/pull/1028
[#1033]: https://togithub.com/uber-go/zap/pull/1033
[#1039]: https://togithub.com/uber-go/zap/pull/1039
Thanks to [@psrajat](https://togithub.com/psrajat), [@lruggieri](https://togithub.com/lruggieri), [@sammyrnycreal](https://togithub.com/sammyrnycreal) for their contributions to this release.
Configuration
π Schedule: At any time (no schedule defined).
π¦ Automerge: Disabled due to failing status checks.
β» 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, click this checkbox.
This PR contains the following updates:
v1.19.1
->v1.21.0
Release Notes
uber-go/zap
### [`v1.21.0`](https://togithub.com/uber-go/zap/releases/v1.21.0) [Compare Source](https://togithub.com/uber-go/zap/compare/v1.20.0...v1.21.0) #### 1.21.0 (7 Feb 2022) Enhancements: - [#1047][]: Add `zapcore.ParseLevel` to parse a `Level` from a string. - [#1048][]: Add `zap.ParseAtomicLevel` to parse an `AtomicLevel` from a string. Bugfixes: - [#1058][]: Fix panic in JSON encoder when `EncodeLevel` is unset. Other changes: - [#1052][]: Improve encoding performance when the `AddCaller` and `AddStacktrace` options are used together. [#1047]: https://togithub.com/uber-go/zap/pull/1047 [#1048]: https://togithub.com/uber-go/zap/pull/1048 [#1052]: https://togithub.com/uber-go/zap/pull/1052 [#1058]: https://togithub.com/uber-go/zap/pull/1058 Thanks to [@aerosol](https://togithub.com/aerosol) and [@Techassi](https://togithub.com/Techassi) for their contributions to this release. ### [`v1.20.0`](https://togithub.com/uber-go/zap/releases/v1.20.0) [Compare Source](https://togithub.com/uber-go/zap/compare/v1.19.1...v1.20.0) Enhancements: - [#989][]: Add `EncoderConfig.SkipLineEnding` flag to disable adding newline characters between log statements. - [#1039][]: Add `EncoderConfig.NewReflectedEncoder` field to customize JSON encoding of reflected log fields. Bugfixes: - [#1011][]: Fix inaccurate precision when encoding complex64 as JSON. - [#554][], [#1017][]: Close JSON namespaces opened in `MarshalLogObject` methods when the methods return. - [#1033][]: Avoid panicking in Sampler core if `thereafter` is zero. Other changes: - [#1028][]: Drop support for Go < 1.15. [#554]: https://togithub.com/uber-go/zap/pull/554 [#989]: https://togithub.com/uber-go/zap/pull/989 [#1011]: https://togithub.com/uber-go/zap/pull/1011 [#1017]: https://togithub.com/uber-go/zap/pull/1017 [#1028]: https://togithub.com/uber-go/zap/pull/1028 [#1033]: https://togithub.com/uber-go/zap/pull/1033 [#1039]: https://togithub.com/uber-go/zap/pull/1039 Thanks to [@psrajat](https://togithub.com/psrajat), [@lruggieri](https://togithub.com/lruggieri), [@sammyrnycreal](https://togithub.com/sammyrnycreal) for their contributions to this release.Configuration
π Schedule: At any time (no schedule defined).
π¦ Automerge: Disabled due to failing status checks.
β» 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 has been generated by WhiteSource Renovate. View repository job log here.