This repository was archived by the owner on Oct 29, 2021. It is now read-only.
Open
Conversation
89462c3 to
12efc51
Compare
12efc51 to
9ea59a2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.9.1->v1.19.1Release Notes
uber-go/zap
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.
v1.10.0Compare Source
Bugfixes:
MapObjectEncoder.AppendByteStringnot adding value as astring.
Enhancements:
zaptest.WrapOptionsto wrapzap.Optionfor creating testloggers.
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.
This PR has been generated by WhiteSource Renovate. View repository job log here.