Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Update module go.uber.org/zap to v1.24.0 #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

self-hosted-renovatebot[bot]
Copy link
Contributor

@self-hosted-renovatebot self-hosted-renovatebot bot commented Jan 3, 2023

This PR contains the following updates:

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

Release Notes

uber-go/zap

v1.24.0

Compare Source

Enhancements:

  • #​1148: Add Level to both Logger and SugaredLogger that reports the
    current minimum enabled log level.
  • #​1185: SugaredLogger turns errors to zap.Error automatically.

Thanks to @​Abirdcfly, @​craigpastro, @​nnnkkk7, and @​sashamelentyev for their
contributions to this release.

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, check this box

This PR has been generated by Renovate Bot.

@self-hosted-renovatebot self-hosted-renovatebot bot requested a review from a team as a code owner January 3, 2023 21:33
@self-hosted-renovatebot self-hosted-renovatebot bot force-pushed the renovate/go.uber.org-zap-1.x branch 3 times, most recently from 43d2b90 to 15a3f01 Compare January 9, 2023 20:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants