Skip to content

Releases: uber-go/zap

v1.11.0

21 Oct 20:37
0065243
Compare
Choose a tag to compare

Enhancements:

  • #725: Add zapcore.OmitKey to omit keys in an EncoderConfig.
  • #736: Add RFC3339 and RFC3339Nano time encoders.

Thanks to @juicemia, @uhthomas for their contributions to this release.

v1.10.0

30 Apr 01:51
Compare
Choose a tag to compare

Bugfixes:

  • #657: Fix MapObjectEncoder.AppendByteString not adding value as a
    string.
  • #706: Fix incorrect call depth to determine caller in Go 1.12.

Enhancements:

  • #610: Add zaptest.WrapOptions to wrap zap.Option for creating test
    loggers.
  • #675: Don't panic when encoding a String field.
  • #704: Disable HTML escaping for JSON objects encoded using the
    reflect-based encoder.

Thanks to @iaroslav-ciupin, @lelenanam, @joa, @NWilson for their contributions
to this release.

v1.9.1

06 Aug 18:07
Compare
Choose a tag to compare

Bugfixes:

  • #614: MapObjectEncoder should not ignore empty slices.

v1.9.0

19 Jul 21:46
Compare
Choose a tag to compare

Enhancements:

  • #602: Reduce number of allocations when logging with reflection.
  • #572, #606: Expose a registry for third-party logging sinks.

Thanks to @nfarah86, @AlekSi, @JeanMertz, @philippgille, @etsangsplk, and
@dimroc for their contributions to this release.

v1.8.0

13 Apr 23:09
Compare
Choose a tag to compare

Enhancements:

  • #508: Make log level configurable when redirecting the standard library's logger.
  • #518: Add a logger that writes to a *testing.TB.
  • #577: Add a top-level alias for zapcore.Field to clean up GoDoc.

Bugfixes:

  • #574: Add a missing import comment to go.uber.org/zap/buffer.

Thanks to @disiqueira and @djui for their contributions to this release.

v1.7.1

25 Sep 19:56
Compare
Choose a tag to compare

Bugfixes:

  • #504: Store strings when using AddByteString with the map encoder.

v1.7.0

21 Sep 19:10
Compare
Choose a tag to compare

Enhancements:

  • #439: Add NewStdLogAt, which extends NewStdLog by allowing the user to specify the level of the logged messages.

Thanks to @delicb for contributing to this release.

v1.6.0

31 Aug 06:47
Compare
Choose a tag to compare

Enhancements:

  • #491: Omit zap stack frames from stacktraces.
  • #490: Add a ContextMap method to observer logs for simpler field validation in tests.

v1.5.0

23 Jul 00:17
Compare
Choose a tag to compare

Enhancements:

  • #460 and #470: Support errors produced by go.uber.org/multierr.
  • #465: Support user-supplied encoders for logger names.

Bugfixes:

  • #477: Fix a bug that incorrectly truncated deep stacktraces.

Thanks to @richard-tunein and @pavius for their contributions to this release.

v1.4.1

08 Jun 15:37
Compare
Choose a tag to compare

This release fixes two bugs.

Bugfixes:

  • #435: Support a variety of case conventions when unmarshaling levels.
  • #444: Fix a panic in the observer.