fix(deps): update module go.uber.org/zap to v1.21.0 #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.14.1
->v1.21.0
Release Notes
uber-go/zap
v1.21.0
Compare Source
1.21.0 (7 Feb 2022)
Enhancements:
zapcore.ParseLevel
to parse aLevel
from a string.zap.ParseAtomicLevel
to parse anAtomicLevel
from astring.
Bugfixes:
EncodeLevel
is unset.Other changes:
AddCaller
andAddStacktrace
options are used together.Thanks to @aerosol and @Techassi for their contributions to this release.
v1.20.0
Compare Source
Enhancements:
EncoderConfig.SkipLineEnding
flag to disable adding newlinecharacters between log statements.
EncoderConfig.NewReflectedEncoder
field to customize JSONencoding of reflected log fields.
Bugfixes:
MarshalLogObject
methods when the methods return.
thereafter
is zero.Other changes:
Thanks to @psrajat, @lruggieri, @sammyrnycreal for their contributions to this release.
v1.19.1
Compare Source
Fixed
v1.19.0
Compare Source
Enhancements:
better.
Thanks to @lancoLiu and @thockin for their contributions to this release.
v1.18.1
Compare Source
Bugfixes:
zap.NewNop
.v1.18.0
Compare Source
Enhancements:
zapcore.BufferedWriteSyncer
, a newWriteSyncer
that buffersmessages in-memory and flushes them periodically.
zapio.Writer
to use a Zap logger as anio.Writer
.zap.WithClock
option to control the source of time via thenew
zapcore.Clock
interface.zap.SugaredLogger
when arguments of*w
methods don't match expectations.
zaptest/observer
.io.StringWriter
andio.ByteWriter
in Zap'sbuffer.Buffer
.Thanks to @atrn0, @ernado, @heyanfu, @hnlq715, @zchee
for their contributions to this release.
v1.17.0
Compare Source
Bugfixes:
<nil>
for nilerror
instead of a panic.vulnerabilities in dependencies.
Enhancements:
size from 96 to 80 bytes.
grpclog.LoggerV2
in zapgrpc.with the
application/x-www-form-urlencoded
content type.zap.Inline
.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:
without specifying a time or duration encoder.
0666
and rely on the umask instead.<nil>
for nilStringer
instead of a panic error log.Enhancements:
zapcore.TimeEncoderOfLayout
to easily create time encodersfor custom layouts.
StackSkip
for including truncated stacks as a field.Thanks to @SteelPhase, @tmshn, @lixingwang, @wyxloading, @moul, @segevfiner, @andy-retailnext and @jcorbin for their contributions to this release.
v1.15.0
Compare Source
Bugfixes:
Time
values out ofUnixNano
range.IncreaseLevel
being reset after a call toWith
.Enhancements:
WithCaller
option to supersede theAddCaller
option. Thisallows disabling annotation of log entries with caller information if
previously enabled with
AddCaller
.NewSampler
constructor in favor ofNewSamplerWithOptions
which supports aSamplerHook
option. This optionadds support for monitoring sampling decisions through a hook.
Thanks to @danielbprice for their contributions to this release.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.
This PR has been generated by Mend Renovate. View repository job log here.