Skip to content
This repository was archived by the owner on Oct 29, 2021. It is now read-only.

Update module go.uber.org/zap to v1.19.1#13

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/go.uber.org-zap-1.x
Open

Update module go.uber.org/zap to v1.19.1#13
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/go.uber.org-zap-1.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Jul 28, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
go.uber.org/zap require minor v1.9.1 -> v1.19.1

Release Notes

uber-go/zap

v1.19.1

Compare Source

Fixed
  • #​1001: JSON: Fix complex number encoding with negative imaginary part. Thanks to @​hemantjadon.
  • #​1003: JSON: Fix inaccurate precision when encoding float32.

v1.19.0

Compare Source

Enhancements:

  • #​975: Avoid panicking in Sampler core if the level is out of bounds.
  • #​984: Reduce the size of BufferedWriteSyncer by aligning the fields
    better.

Thanks to @​lancoLiu and @​thockin for their contributions to this release.

v1.18.1

Compare Source

Bugfixes:

  • #​974: Fix nil dereference in logger constructed by zap.NewNop.

v1.18.0

Compare Source

Enhancements:

  • #​961: Add zapcore.BufferedWriteSyncer, a new WriteSyncer that buffers
    messages in-memory and flushes them periodically.
  • #​971: Add zapio.Writer to use a Zap logger as an io.Writer.
  • #​897: Add zap.WithClock option to control the source of time via the
    new zapcore.Clock interface.
  • #​949: Avoid panicking in zap.SugaredLogger when arguments of *w
    methods don't match expectations.
  • #​943: Add support for filtering by level or arbitrary matcher function to
    zaptest/observer.
  • #​691: Comply with io.StringWriter and io.ByteWriter in Zap's
    buffer.Buffer.

Thanks to @​atrn0, @​ernado, @​heyanfu, @​hnlq715, @​zchee
for their contributions to this release.

v1.17.0

Compare Source

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.

v1.16.0

Compare Source

Bugfixes:

  • #​828: Fix missing newline in IncreaseLevel error messages.
  • #​835: Fix panic in JSON encoder when encoding times or durations
    without specifying a time or duration encoder.
  • #​843: Honor CallerSkip when taking stack traces.
  • #​862: Fix the default file permissions to use 0666 and rely on the umask instead.
  • #​854: Encode <nil> for nil Stringer instead of a panic error log.

Enhancements:

  • #​629: Added zapcore.TimeEncoderOfLayout to easily create time encoders
    for custom layouts.
  • #​697: Added support for a configurable delimiter in the console encoder.
  • #​852: Optimize console encoder by pooling the underlying JSON encoder.
  • #​844: Add ability to include the calling function as part of logs.
  • #​843: Add StackSkip for including truncated stacks as a field.
  • #​861: Add options to customize Fatal behaviour for better testability.

Thanks to @​SteelPhase, @​tmshn, @​lixingwang, @​wyxloading, @​moul, @​segevfiner, @​andy-retailnext and @​jcorbin for their contributions to this release.

v1.15.0

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

Enhancements:

v1.11.0

Compare Source

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

Compare Source

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.


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from 89462c3 to 12efc51 Compare August 9, 2021 16:42
@renovate renovate bot changed the title Update module go.uber.org/zap to v1.18.1 Update module go.uber.org/zap to v1.19.0 Aug 9, 2021
@renovate renovate bot force-pushed the renovate/go.uber.org-zap-1.x branch from 12efc51 to 9ea59a2 Compare September 8, 2021 22:01
@renovate renovate bot changed the title Update module go.uber.org/zap to v1.19.0 Update module go.uber.org/zap to v1.19.1 Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants