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

Merged
Kichiyaki merged 1 commits from renovate/go.uber.org-zap-1.x into master 2022-09-16 18:47:06 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
go.uber.org/zap require minor v1.21.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.


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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [go.uber.org/zap](https://github.com/uber-go/zap) | require | minor | `v1.21.0` -> `v1.23.0` | --- ### Release Notes <details> <summary>uber-go/zap</summary> ### [`v1.23.0`](https://github.com/uber-go/zap/releases/tag/v1.23.0) [Compare Source](https://github.com/uber-go/zap/compare/v1.22.0...v1.23.0) Enhancements: - [#&#8203;1147][]: Add a `zapcore.LevelOf` function to determine the level of a `LevelEnabler` or `Core`. - [#&#8203;1155][]: Add `zap.Stringers` field constructor to log arrays of objects that implement `String() string`. [#&#8203;1147]: https://github.com/uber-go/zap/pull/1147 [#&#8203;1155]: https://github.com/uber-go/zap/pull/1155 ### [`v1.22.0`](https://github.com/uber-go/zap/releases/tag/v1.22.0) [Compare Source](https://github.com/uber-go/zap/compare/v1.21.0...v1.22.0) Enhancements: - [#&#8203;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`. - [#&#8203;1079][]: Add `SugaredLogger.WithOptions` to build a copy of an existing `SugaredLogger` with the provided options applied. - [#&#8203;1080][]: Add `*ln` variants to `SugaredLogger` for each log level. These functions provide a string joining behavior similar to `fmt.Println`. - [#&#8203;1088][]: Add `zap.WithFatalHook` option to control the behavior of the logger for `Fatal`-level log entries. This defaults to exiting the program. - [#&#8203;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. - [#&#8203;1118][]: Add a `Logger.Log` method that allows specifying the log level for a statement dynamically. Thanks to [@&#8203;cardil](https://github.com/cardil), [@&#8203;craigpastro](https://github.com/craigpastro), [@&#8203;sashamelentyev](https://github.com/sashamelentyev), [@&#8203;shota3506](https://github.com/shota3506), and [@&#8203;zhupeijun](https://github.com/zhupeijun) for their contributions to this release. [#&#8203;1071]: https://github.com/uber-go/zap/pull/1071 [#&#8203;1079]: https://github.com/uber-go/zap/pull/1079 [#&#8203;1080]: https://github.com/uber-go/zap/pull/1080 [#&#8203;1088]: https://github.com/uber-go/zap/pull/1088 [#&#8203;1108]: https://github.com/uber-go/zap/pull/1108 [#&#8203;1118]: https://github.com/uber-go/zap/pull/1118 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTQuMyIsInVwZGF0ZWRJblZlciI6IjMyLjE5NC4zIn0=-->
renovate added 1 commit 2022-09-16 16:00:26 +00:00
continuous-integration/drone/pr Build is passing Details
167c55b4dc
chore(deps): update module go.uber.org/zap to v1.23.0
Kichiyaki merged commit 225af787c7 into master 2022-09-16 18:47:06 +00:00
Kichiyaki deleted branch renovate/go.uber.org-zap-1.x 2022-09-16 18:47:07 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Kichiyaki/chizap#6
No description provided.