All Versions
34
Latest Version
Avg Release Cycle
81 days
Latest Release
611 days ago

Changelog History
Page 2

  • v1.15.0 Changes

    April 23, 2020

    ๐Ÿ›  Bugfixes:

    • #804: Fix handling of Time values out of UnixNano range.
    • #812: Fix IncreaseLevel being reset after a call to With.

    โœจ Enhancements:

    • #806: Add WithCaller option to supersede the AddCaller option. This
      ๐Ÿ‘ allows disabling annotation of log entries with caller information if
      previously enabled with AddCaller.
    • ๐Ÿ—„ #813: Deprecate NewSampler constructor in favor of
      ๐Ÿ‘ NewSamplerWithOptions which supports a SamplerHook option. This option
      โž• adds support for monitoring sampling decisions through a hook.

    ๐Ÿš€ Thanks to @danielbprice for their contributions to this release.

  • v1.14.1 Changes

    March 14, 2020

    ๐Ÿ›  Bugfixes:

    • ๐Ÿ— #791: Fix panic on attempting to build a logger with an invalid Config.
    • #795: Vendoring Zap with go mod vendor no longer includes Zap's
      development-time dependencies.
    • #799: Fix issue introduced in 1.14.0 that caused invalid JSON output to
      be generated for arrays of time.Time objects when using string-based time
      formats.

    ๐Ÿš€ Thanks to @YashishDua for their contributions to this release.

  • v1.14.0 Changes

    February 20, 2020

    โœจ Enhancements:

    • โšก๏ธ #771: Optimize calls for disabled log levels.
    • #773: Add millisecond duration encoder.
    • #775: Add option to increase the level of a logger.
    • โšก๏ธ #786: Optimize time formatters using Time.AppendFormat where possible.

    ๐Ÿš€ Thanks to @caibirdme for their contributions to this release.

  • v1.13.0 Changes

    November 13, 2019

    โœจ Enhancements:

    • #758: Add Intp, Stringp, and other similar *p field constructors
      ๐ŸŒฒ to log pointers to primitives with support for nil values.

    ๐Ÿš€ Thanks to @jbizzle for their contributions to this release.

  • v1.12.0 Changes

    October 29, 2019

    โœจ Enhancements:

    • #751: Migrate to Go modules.
  • v1.11.0 Changes

    October 21, 2019

    โœจ 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 Changes

    April 29, 2019

    ๐Ÿ›  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 Changes

    August 06, 2018

    ๐Ÿ›  Bugfixes:

    • #614: MapObjectEncoder should not ignore empty slices.
  • v1.9.0 Changes

    July 19, 2018

    โœจ 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 Changes

    April 13, 2018

    โœจ 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.