github uber-go/zap v1.21.0

latest releases: v1.27.0, v1.26.0, exp/v0.2.0...
2 years ago

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.

Thanks to @aerosol and @Techassi for their contributions to this release.

Don't miss a new zap release

NewReleases is sending notifications on new releases.