zap v1.20.0 Release Notes
Release Date: 2022-01-04 // about 2 years ago-
โจ 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.
๐ Thanks to @psrajat, @lruggieri, @sammyrnycreal for their contributions to this release.
- #989: Add