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.