Skip to content

v1.21.0

Compare
Choose a tag to compare
@abhinav abhinav released this 07 Feb 16:55
· 50 commits to master since this release
6f34060

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.