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…
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.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.
v1.14.1
Compare Source
Bugfixes:
go mod vendor
no longer includes Zap'sdevelopment-time dependencies.
be generated for arrays of
time.Time
objects when using string-based timeformats.
Thanks to @YashishDua for their contributions to this release.
v1.14.0
Compare Source
Enhancements:
Time.AppendFormat
where possible.Thanks to @caibirdme for their contributions to this release.
v1.13.0
Compare Source
Enhancements:
Intp
,Stringp
, and other similar*p
field constructorsto 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:
zapcore.OmitKey
to omit keys in anEncoderConfig
.RFC3339
andRFC3339Nano
time 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.