github uber-go/zap v1.20.0

latest releases: v1.27.0, v1.26.0, exp/v0.2.0...
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.

Don't miss a new zap release

NewReleases is sending notifications on new releases.