zap v1.17.0 Release Notes

Release Date: 2021-05-25 // almost 3 years ago
  • ๐Ÿ›  Bugfixes:

    • [#867][]: Encode <nil> for nil error instead of a panic.
    • โšก๏ธ [#931][], [#936][]: Update minimum version constraints to address vulnerabilities in dependencies.

    โœจ Enhancements:

    • [#865][]: Improve alignment of fields of the Logger struct, reducing its size from 96 to 80 bytes.
    • ๐Ÿ‘ [#881][]: Support grpclog.LoggerV2 in zapgrpc.
    • ๐Ÿ‘ [#903][]: Support URL-encoded POST requests to the AtomicLevel HTTP handler with the application/x-www-form-urlencoded content type.
    • ๐Ÿ‘ [#912][]: Support multi-field encoding with zap.Inline.
    • [#913][]: Speed up SugaredLogger for calls with a single string.
    • โœ… [#928][]: Add support for filtering by field name to zaptest/observer.

    ๐Ÿš€ Thanks to @ash2k, @FMLS, @jimmystewpot, @Oncilla, @tsoslow, @tylitianrui, @withshubh, and @wziww for their contributions to this release.