Update module go.uber.org/zap to v1.22.0 #16

Merged
renovate[bot] merged 1 commit from renovate/go.uber.org-zap-1.x into main 2022-08-18 18:28:54 +00:00
renovate[bot] commented 2022-08-08 22:03:27 +00:00 (Migrated from github.com)

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

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 Mend Renovate. View repository job log here.

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [go.uber.org/zap](https://togithub.com/uber-go/zap) | require | minor | `v1.21.0` -> `v1.22.0` | --- ### Release Notes <details> <summary>uber-go/zap</summary> ### [`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: - [#&#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://togithub.com/cardil), [@&#8203;craigpastro](https://togithub.com/craigpastro), [@&#8203;sashamelentyev](https://togithub.com/sashamelentyev), [@&#8203;shota3506](https://togithub.com/shota3506), and [@&#8203;zhupeijun](https://togithub.com/zhupeijun) for their contributions to this release. [#&#8203;1071]: https://togithub.com/uber-go/zap/pull/1071 [#&#8203;1079]: https://togithub.com/uber-go/zap/pull/1079 [#&#8203;1080]: https://togithub.com/uber-go/zap/pull/1080 [#&#8203;1088]: https://togithub.com/uber-go/zap/pull/1088 [#&#8203;1108]: https://togithub.com/uber-go/zap/pull/1108 [#&#8203;1118]: https://togithub.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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/baez90/kreaper). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTAuNCIsInVwZGF0ZWRJblZlciI6IjMyLjE1NC40In0=-->
codecov-commenter commented 2022-08-08 22:07:45 +00:00 (Migrated from github.com)

Codecov Report

Merging #16 (eb81183) into main (e2f5120) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage   75.70%   75.70%           
=======================================
  Files           2        2           
  Lines         107      107           
=======================================
  Hits           81       81           
  Misses         19       19           
  Partials        7        7           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

# [Codecov](https://codecov.io/gh/baez90/kreaper/pull/16?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=baez90) Report > Merging [#16](https://codecov.io/gh/baez90/kreaper/pull/16?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=baez90) (eb81183) into [main](https://codecov.io/gh/baez90/kreaper/commit/e2f512046e826fabd1c5788504224f2d88e4dc5c?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=baez90) (e2f5120) will **not change** coverage. > The diff coverage is `n/a`. ```diff @@ Coverage Diff @@ ## main #16 +/- ## ======================================= Coverage 75.70% 75.70% ======================================= Files 2 2 Lines 107 107 ======================================= Hits 81 81 Misses 19 19 Partials 7 7 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=baez90). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=baez90)
This repo is archived. You cannot comment on pull requests.
No description provided.