Update module go.uber.org/zap to v1.21.0 #4
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
prskr/nurse!4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/go.uber.org-zap-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.10.0->v1.21.0Release Notes
uber-go/zap
v1.21.0Compare Source
1.21.0 (7 Feb 2022)
Enhancements:
zapcore.ParseLevelto parse aLevelfrom a string.zap.ParseAtomicLevelto parse anAtomicLevelfrom astring.
Bugfixes:
EncodeLevelis unset.Other changes:
AddCallerandAddStacktraceoptions are used together.Thanks to @aerosol and @Techassi for their contributions to this release.
v1.20.0Compare Source
Enhancements:
EncoderConfig.SkipLineEndingflag to disable adding newlinecharacters between log statements.
EncoderConfig.NewReflectedEncoderfield to customize JSONencoding of reflected log fields.
Bugfixes:
MarshalLogObjectmethods when the methods return.
thereafteris zero.Other changes:
Thanks to @psrajat, @lruggieri, @sammyrnycreal for their contributions to this release.
v1.19.1Compare Source
Fixed
v1.19.0Compare Source
Enhancements:
better.
Thanks to @lancoLiu and @thockin for their contributions to this release.
v1.18.1Compare Source
Bugfixes:
zap.NewNop.v1.18.0Compare Source
Enhancements:
zapcore.BufferedWriteSyncer, a newWriteSyncerthat buffersmessages in-memory and flushes them periodically.
zapio.Writerto use a Zap logger as anio.Writer.zap.WithClockoption to control the source of time via thenew
zapcore.Clockinterface.zap.SugaredLoggerwhen arguments of*wmethods don't match expectations.
zaptest/observer.io.StringWriterandio.ByteWriterin Zap'sbuffer.Buffer.Thanks to @atrn0, @ernado, @heyanfu, @hnlq715, @zchee
for their contributions to this release.
v1.17.0Compare Source
Bugfixes:
<nil>for nilerrorinstead of a panic.vulnerabilities in dependencies.
Enhancements:
size from 96 to 80 bytes.
grpclog.LoggerV2in zapgrpc.with the
application/x-www-form-urlencodedcontent type.zap.Inline.zaptest/observer.Thanks to @ash2k, @FMLS, @jimmystewpot, @Oncilla, @tsoslow, @tylitianrui, @withshubh, and @wziww for their contributions to this release.
v1.16.0Compare Source
Bugfixes:
without specifying a time or duration encoder.
0666and rely on the umask instead.<nil>for nilStringerinstead of a panic error log.Enhancements:
zapcore.TimeEncoderOfLayoutto easily create time encodersfor custom layouts.
StackSkipfor 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.0Compare Source
Bugfixes:
Timevalues out ofUnixNanorange.IncreaseLevelbeing reset after a call toWith.Enhancements:
WithCalleroption to supersede theAddCalleroption. Thisallows disabling annotation of log entries with caller information if
previously enabled with
AddCaller.NewSamplerconstructor in favor ofNewSamplerWithOptionswhich supports aSamplerHookoption. This optionadds support for monitoring sampling decisions through a hook.
Thanks to @danielbprice for their contributions to this release.
v1.14.1Compare Source
Bugfixes:
go mod vendorno longer includes Zap'sdevelopment-time dependencies.
be generated for arrays of
time.Timeobjects when using string-based timeformats.
Thanks to @YashishDua for their contributions to this release.
v1.14.0Compare Source
Enhancements:
Time.AppendFormatwhere possible.Thanks to @caibirdme for their contributions to this release.
v1.13.0Compare Source
Enhancements:
Intp,Stringp, and other similar*pfield constructorsto log pointers to primitives with support for
nilvalues.Thanks to @jbizzle for their contributions to this release.
v1.12.0Compare Source
Enhancements:
v1.11.0Compare Source
Enhancements:
zapcore.OmitKeyto omit keys in anEncoderConfig.RFC3339andRFC3339Nanotime encoders.Thanks to @juicemia, @uhthomas 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.