flamingo icon indicating copy to clipboard operation
flamingo copied to clipboard

chore(deps): update module go.uber.org/zap to v1.23.0

Open renovate[bot] opened this issue 2 years ago • 2 comments

Mend Renovate

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

Compare Source

Enhancements:

  • #​1147: Add a zapcore.LevelOf function to determine the level of a LevelEnabler or Core.
  • #​1155: Add zap.Stringers field constructor to log arrays of objects that implement String() string.

v1.22.0

Compare Source

Enhancements:

  • #​1071: Add zap.Objects and zap.ObjectValues field constructors to log arrays of objects. With these two constructors, you don't need to implement zapcore.ArrayMarshaler for use with zap.Array if those objects implement zapcore.ObjectMarshaler.
  • #​1079: Add SugaredLogger.WithOptions to build a copy of an existing SugaredLogger with the provided options applied.
  • #​1080: Add *ln variants to SugaredLogger for each log level. These functions provide a string joining behavior similar to fmt.Println.
  • #​1088: Add zap.WithFatalHook option to control the behavior of the logger for Fatal-level log entries. This defaults to exiting the program.
  • #​1108: Add a zap.Must function that you can use with NewProduction or NewDevelopment 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

Compare Source

1.21.0 (7 Feb 2022)

Enhancements:

  • #​1047: Add zapcore.ParseLevel to parse a Level from a string.
  • #​1048: Add zap.ParseAtomicLevel to parse an AtomicLevel from a string.

Bugfixes:

  • #​1058: Fix panic in JSON encoder when EncodeLevel is unset.

Other changes:

  • #​1052: Improve encoding performance when the AddCaller and AddStacktrace options are used together.

Thanks to @​aerosol and @​Techassi for their contributions to this release.

v1.20.0

Compare Source

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:

Thanks to @​psrajat, @​lruggieri, @​sammyrnycreal for their contributions to this release.

v1.19.1

Compare Source

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

Compare Source

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

Compare Source

Bugfixes:

  • #​974: Fix nil dereference in logger constructed by zap.NewNop.

v1.18.0

Compare Source

Enhancements:

  • #​961: Add zapcore.BufferedWriteSyncer, a new WriteSyncer that buffers messages in-memory and flushes them periodically.
  • #​971: Add zapio.Writer to use a Zap logger as an io.Writer.
  • #​897: Add zap.WithClock option to control the source of time via the new zapcore.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 and io.ByteWriter in Zap's buffer.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.

renovate[bot] avatar May 17 '22 21:05 renovate[bot]

core/zap

bastianccm avatar May 18 '22 09:05 bastianccm

Code Coverage

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)

github-actions[bot] avatar Oct 26 '22 11:10 github-actions[bot]

Code Coverage

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)

github-actions[bot] avatar Nov 30 '22 20:11 github-actions[bot]