database64128 / swgp-go

🐉 Simple WireGuard proxy with minimal overhead for WireGuard traffic.
GNU Affero General Public License v3.0
224 stars 23 forks source link

🔼 Update module go.uber.org/zap to v1.22.0 - autoclosed #13

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

uber-go/zap ### [`v1.22.0`](https://togithub.com/uber-go/zap/releases/tag/v1.22.0) [Compare Source](https://togithub.com/uber-go/zap/compare/v1.21.0...v1.22.0) 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](https://togithub.com/cardil), [@​craigpastro](https://togithub.com/craigpastro), [@​sashamelentyev](https://togithub.com/sashamelentyev), [@​shota3506](https://togithub.com/shota3506), and [@​zhupeijun](https://togithub.com/zhupeijun) for their contributions to this release. [#​1071]: https://togithub.com/uber-go/zap/pull/1071 [#​1079]: https://togithub.com/uber-go/zap/pull/1079 [#​1080]: https://togithub.com/uber-go/zap/pull/1080 [#​1088]: https://togithub.com/uber-go/zap/pull/1088 [#​1108]: https://togithub.com/uber-go/zap/pull/1108 [#​1118]: https://togithub.com/uber-go/zap/pull/1118

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.