flamingo
flamingo copied to clipboard
chore(deps): update module go.uber.org/zap to v1.23.0
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
go.uber.org/zap | require | minor | v1.17.0 -> v1.23.0 |
Release Notes
uber-go/zap
v1.23.0
Enhancements:
-
#1147: Add a
zapcore.LevelOf
function to determine the level of aLevelEnabler
orCore
. -
#1155: Add
zap.Stringers
field constructor to log arrays of objects that implementString() string
.
v1.22.0
Enhancements:
-
#1071: Add
zap.Objects
andzap.ObjectValues
field constructors to log arrays of objects. With these two constructors, you don't need to implementzapcore.ArrayMarshaler
for use withzap.Array
if those objects implementzapcore.ObjectMarshaler
. -
#1079: Add
SugaredLogger.WithOptions
to build a copy of an existingSugaredLogger
with the provided options applied. -
#1080: Add
*ln
variants toSugaredLogger
for each log level. These functions provide a string joining behavior similar tofmt.Println
. -
#1088: Add
zap.WithFatalHook
option to control the behavior of the logger forFatal
-level log entries. This defaults to exiting the program. -
#1108: Add a
zap.Must
function that you can use withNewProduction
orNewDevelopment
to panic if the system was unable to build the logger. -
#1118: Add a
Logger.Log
method that allows specifying the log level for a statement dynamically.
Thanks to @cardil, @craigpastro, @sashamelentyev, @shota3506, and @zhupeijun for their contributions to this release.
v1.21.0
1.21.0 (7 Feb 2022)
Enhancements:
-
#1047: Add
zapcore.ParseLevel
to parse aLevel
from a string. -
#1048: Add
zap.ParseAtomicLevel
to parse anAtomicLevel
from a string.
Bugfixes:
-
#1058: Fix panic in JSON encoder when
EncodeLevel
is unset.
Other changes:
-
#1052: Improve encoding performance when the
AddCaller
andAddStacktrace
options are used together.
Thanks to @aerosol and @Techassi for their contributions to this release.
v1.20.0
Enhancements:
-
#989: Add
EncoderConfig.SkipLineEnding
flag to disable adding newline characters between log statements. -
#1039: Add
EncoderConfig.NewReflectedEncoder
field to customize JSON encoding of reflected log fields.
Bugfixes:
- #1011: Fix inaccurate precision when encoding complex64 as JSON.
-
#554, #1017: Close JSON namespaces opened in
MarshalLogObject
methods when the methods return. -
#1033: Avoid panicking in Sampler core if
thereafter
is zero.
Other changes:
- #1028: Drop support for Go < 1.15.
Thanks to @psrajat, @lruggieri, @sammyrnycreal for their contributions to this release.
v1.19.1
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
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
Bugfixes:
-
#974: Fix nil dereference in logger constructed by
zap.NewNop
.
v1.18.0
Enhancements:
-
#961: Add
zapcore.BufferedWriteSyncer
, a newWriteSyncer
that buffers messages in-memory and flushes them periodically. -
#971: Add
zapio.Writer
to use a Zap logger as anio.Writer
. -
#897: Add
zap.WithClock
option to control the source of time via the newzapcore.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
andio.ByteWriter
in Zap'sbuffer.Buffer
.
Thanks to @atrn0, @ernado, @heyanfu, @hnlq715, @zchee 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.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
core/zap
Package | Line Rate | Health |
---|---|---|
flamingo.me/flamingo/v3/core/auth | 13% | ❌ |
flamingo.me/flamingo/v3/core/auth/fake | 50% | ➖ |
flamingo.me/flamingo/v3/core/auth/http | 40% | ❌ |
flamingo.me/flamingo/v3/core/auth/oauth | 47% | ❌ |
flamingo.me/flamingo/v3/core/cache | 52% | ➖ |
flamingo.me/flamingo/v3/core/gotemplate | 87% | ✔ |
flamingo.me/flamingo/v3/core/healthcheck/interfaces/controllers | 76% | ✔ |
flamingo.me/flamingo/v3/core/healthcheck | 64% | ➖ |
flamingo.me/flamingo/v3/core/internalauth/application | 100% | ✔ |
flamingo.me/flamingo/v3/core/internalauth | 100% | ✔ |
flamingo.me/flamingo/v3/core/locale/application | 87% | ✔ |
flamingo.me/flamingo/v3/core/locale/domain | 75% | ✔ |
flamingo.me/flamingo/v3/core/locale/interfaces/controllers | 100% | ✔ |
flamingo.me/flamingo/v3/core/locale/interfaces/templatefunctions | 92% | ✔ |
flamingo.me/flamingo/v3/core/locale | 59% | ➖ |
flamingo.me/flamingo/v3/core/oauth/application | 4% | ❌ |
flamingo.me/flamingo/v3/core/oauth/domain | 62% | ➖ |
flamingo.me/flamingo/v3/core/oauth | 55% | ➖ |
flamingo.me/flamingo/v3/core/requestlogger | 100% | ✔ |
flamingo.me/flamingo/v3/core/requesttask | 10% | ❌ |
flamingo.me/flamingo/v3/core/robotstxt | 50% | ➖ |
flamingo.me/flamingo/v3/core/runtime | 77% | ✔ |
flamingo.me/flamingo/v3/core/security/application/role | 95% | ✔ |
flamingo.me/flamingo/v3/core/security/application | 98% | ✔ |
flamingo.me/flamingo/v3/core/security/application/voter | 100% | ✔ |
flamingo.me/flamingo/v3/core/security/interface/controller | 100% | ✔ |
flamingo.me/flamingo/v3/core/security/interface/middleware | 72% | ➖ |
flamingo.me/flamingo/v3/core/security | 59% | ➖ |
flamingo.me/flamingo/v3/core/zap | 43% | ❌ |
flamingo.me/flamingo/v3/framework/cmd | 12% | ❌ |
flamingo.me/flamingo/v3/framework/config | 49% | ❌ |
flamingo.me/flamingo/v3/framework/flamingo | 30% | ❌ |
flamingo.me/flamingo/v3/framework | 29% | ❌ |
flamingo.me/flamingo/v3/framework/opencensus | 88% | ✔ |
flamingo.me/flamingo/v3/framework/prefixrouter | 43% | ❌ |
flamingo.me/flamingo/v3/framework/systemendpoint | 27% | ❌ |
flamingo.me/flamingo/v3/framework/testutil | 0% | ❌ |
flamingo.me/flamingo/v3/framework/web | 49% | ❌ |
Summary | 49% (3257 / 6651) | ❌ |
Package | Line Rate | Health |
---|---|---|
flamingo.me/flamingo/v3/core/auth | 13% | ❌ |
flamingo.me/flamingo/v3/core/auth/fake | 50% | ➖ |
flamingo.me/flamingo/v3/core/auth/http | 40% | ❌ |
flamingo.me/flamingo/v3/core/auth/oauth | 47% | ❌ |
flamingo.me/flamingo/v3/core/cache | 52% | ➖ |
flamingo.me/flamingo/v3/core/gotemplate | 87% | ✔ |
flamingo.me/flamingo/v3/core/healthcheck/interfaces/controllers | 76% | ✔ |
flamingo.me/flamingo/v3/core/healthcheck | 64% | ➖ |
flamingo.me/flamingo/v3/core/internalauth/application | 100% | ✔ |
flamingo.me/flamingo/v3/core/internalauth | 100% | ✔ |
flamingo.me/flamingo/v3/core/locale/application | 87% | ✔ |
flamingo.me/flamingo/v3/core/locale/domain | 75% | ✔ |
flamingo.me/flamingo/v3/core/locale/interfaces/controllers | 100% | ✔ |
flamingo.me/flamingo/v3/core/locale/interfaces/templatefunctions | 92% | ✔ |
flamingo.me/flamingo/v3/core/locale | 59% | ➖ |
flamingo.me/flamingo/v3/core/oauth/application | 4% | ❌ |
flamingo.me/flamingo/v3/core/oauth/domain | 62% | ➖ |
flamingo.me/flamingo/v3/core/oauth | 55% | ➖ |
flamingo.me/flamingo/v3/core/requestlogger | 100% | ✔ |
flamingo.me/flamingo/v3/core/requesttask | 10% | ❌ |
flamingo.me/flamingo/v3/core/robotstxt | 50% | ➖ |
flamingo.me/flamingo/v3/core/runtime | 77% | ✔ |
flamingo.me/flamingo/v3/core/security/application/role | 95% | ✔ |
flamingo.me/flamingo/v3/core/security/application | 98% | ✔ |
flamingo.me/flamingo/v3/core/security/application/voter | 100% | ✔ |
flamingo.me/flamingo/v3/core/security/interface/controller | 100% | ✔ |
flamingo.me/flamingo/v3/core/security/interface/middleware | 72% | ➖ |
flamingo.me/flamingo/v3/core/security | 59% | ➖ |
flamingo.me/flamingo/v3/core/zap | 43% | ❌ |
flamingo.me/flamingo/v3/framework/cmd | 12% | ❌ |
flamingo.me/flamingo/v3/framework/config | 49% | ❌ |
flamingo.me/flamingo/v3/framework/flamingo | 30% | ❌ |
flamingo.me/flamingo/v3/framework | 29% | ❌ |
flamingo.me/flamingo/v3/framework/opencensus | 88% | ✔ |
flamingo.me/flamingo/v3/framework/prefixrouter | 43% | ❌ |
flamingo.me/flamingo/v3/framework/systemendpoint | 27% | ❌ |
flamingo.me/flamingo/v3/framework/testutil | 0% | ❌ |
flamingo.me/flamingo/v3/framework/web | 49% | ❌ |
Summary | 49% (3259 / 6658) | ❌ |