vshn / espejo

OpenShift and Kubernetes Object Syncer
BSD 3-Clause "New" or "Revised" License
11 stars 2 forks source link

Update module go.uber.org/zap to v1.21.0 - autoclosed #104

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 3 years ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
go.uber.org/zap require minor v1.16.0 -> v1.21.0

Release Notes

uber-go/zap ### [`v1.21.0`](https://togithub.com/uber-go/zap/releases/tag/v1.21.0) [Compare Source](https://togithub.com/uber-go/zap/compare/v1.20.0...v1.21.0) #### 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. [#​1047]: https://togithub.com/uber-go/zap/pull/1047 [#​1048]: https://togithub.com/uber-go/zap/pull/1048 [#​1052]: https://togithub.com/uber-go/zap/pull/1052 [#​1058]: https://togithub.com/uber-go/zap/pull/1058 Thanks to [@​aerosol](https://togithub.com/aerosol) and [@​Techassi](https://togithub.com/Techassi) for their contributions to this release. ### [`v1.20.0`](https://togithub.com/uber-go/zap/releases/tag/v1.20.0) [Compare Source](https://togithub.com/uber-go/zap/compare/v1.19.1...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. [#​554]: https://togithub.com/uber-go/zap/pull/554 [#​989]: https://togithub.com/uber-go/zap/pull/989 [#​1011]: https://togithub.com/uber-go/zap/pull/1011 [#​1017]: https://togithub.com/uber-go/zap/pull/1017 [#​1028]: https://togithub.com/uber-go/zap/pull/1028 [#​1033]: https://togithub.com/uber-go/zap/pull/1033 [#​1039]: https://togithub.com/uber-go/zap/pull/1039 Thanks to [@​psrajat](https://togithub.com/psrajat), [@​lruggieri](https://togithub.com/lruggieri), [@​sammyrnycreal](https://togithub.com/sammyrnycreal) for their contributions to this release. ### [`v1.19.1`](https://togithub.com/uber-go/zap/releases/tag/v1.19.1) [Compare Source](https://togithub.com/uber-go/zap/compare/v1.19.0...v1.19.1) ##### Fixed - [#​1001][]: JSON: Fix complex number encoding with negative imaginary part. Thanks to [@​hemantjadon](https://togithub.com/hemantjadon). - [#​1003][]: JSON: Fix inaccurate precision when encoding float32. [#​1001]: https://togithub.com/uber-go/zap/pull/1001 [#​1003]: https://togithub.com/uber-go/zap/pull/1003 ### [`v1.19.0`](https://togithub.com/uber-go/zap/releases/tag/v1.19.0) [Compare Source](https://togithub.com/uber-go/zap/compare/v1.18.1...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. [#​975]: https://togithub.com/uber-go/zap/pull/975 [#​984]: https://togithub.com/uber-go/zap/pull/984 Thanks to [@​lancoLiu](https://togithub.com/lancoLiu) and [@​thockin](https://togithub.com/thockin) for their contributions to this release. ### [`v1.18.1`](https://togithub.com/uber-go/zap/releases/tag/v1.18.1) [Compare Source](https://togithub.com/uber-go/zap/compare/v1.18.0...v1.18.1) Bugfixes: - [#​974][]: Fix nil dereference in logger constructed by `zap.NewNop`. [#​974]: https://togithub.com/uber-go/zap/pull/974 ### [`v1.18.0`](https://togithub.com/uber-go/zap/releases/tag/v1.18.0) [Compare Source](https://togithub.com/uber-go/zap/compare/v1.17.0...v1.18.0) 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](https://togithub.com/atrn0), [@​ernado](https://togithub.com/ernado), [@​heyanfu](https://togithub.com/heyanfu), [@​hnlq715](https://togithub.com/hnlq715), [@​zchee](https://togithub.com/zchee) for their contributions to this release. [#​691]: https://togithub.com/uber-go/zap/pull/691 [#​897]: https://togithub.com/uber-go/zap/pull/897 [#​943]: https://togithub.com/uber-go/zap/pull/943 [#​949]: https://togithub.com/uber-go/zap/pull/949 [#​961]: https://togithub.com/uber-go/zap/pull/961 [#​971]: https://togithub.com/uber-go/zap/pull/971 ### [`v1.17.0`](https://togithub.com/uber-go/zap/releases/tag/v1.17.0) [Compare Source](https://togithub.com/uber-go/zap/compare/v1.16.0...v1.17.0) Bugfixes: - [#​867][]: Encode `` for nil `error` instead of a panic. - [#​931][], [#​936][]: Update minimum version constraints to address vulnerabilities in dependencies. Enhancements: - [#​865][]: Improve alignment of fields of the Logger struct, reducing its size from 96 to 80 bytes. - [#​881][]: Support `grpclog.LoggerV2` in zapgrpc. - [#​903][]: Support URL-encoded POST requests to the AtomicLevel HTTP handler with the `application/x-www-form-urlencoded` content type. - [#​912][]: Support multi-field encoding with `zap.Inline`. - [#​913][]: Speed up SugaredLogger for calls with a single string. - [#​928][]: Add support for filtering by field name to `zaptest/observer`. Thanks to [@​ash2k](https://togithub.com/ash2k), [@​FMLS](https://togithub.com/FMLS), [@​jimmystewpot](https://togithub.com/jimmystewpot), [@​Oncilla](https://togithub.com/Oncilla), [@​tsoslow](https://togithub.com/tsoslow), [@​tylitianrui](https://togithub.com/tylitianrui), [@​withshubh](https://togithub.com/withshubh), and [@​wziww](https://togithub.com/wziww) for their contributions to this release. [#​865]: https://togithub.com/uber-go/zap/pull/865 [#​867]: https://togithub.com/uber-go/zap/pull/867 [#​881]: https://togithub.com/uber-go/zap/pull/881 [#​903]: https://togithub.com/uber-go/zap/pull/903 [#​912]: https://togithub.com/uber-go/zap/pull/912 [#​913]: https://togithub.com/uber-go/zap/pull/913 [#​928]: https://togithub.com/uber-go/zap/pull/928 [#​931]: https://togithub.com/uber-go/zap/pull/931 [#​936]: https://togithub.com/uber-go/zap/pull/936

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.



This PR has been generated by Mend Renovate. View repository job log here.