Skip to content

Update module go.uber.org/zap to v1.28.0 - #34

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/go.uber.org-zap-1.x
Open

Update module go.uber.org/zap to v1.28.0#34
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/go.uber.org-zap-1.x

Conversation

@renovate

@renovate renovate Bot commented Nov 19, 2025

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
go.uber.org/zap v1.21.0v1.28.0 age confidence

Release Notes

uber-go/zap (go.uber.org/zap)

v1.28.0

Compare Source

Enhancements:

  • #​1534: Add zapcore.CheckPreWriteHook and CheckedEntry.Before method for transforming entries before they are written to any Cores.

v1.27.1

Compare Source

Enhancements:

  • #​1501: prevent Object from panicking on nils
  • #​1511: Fix a race condition in WithLazy.

Thanks to @​rabbbit, @​alshopov, @​jquirke, @​arukiidou for their contributions to this release.

v1.27.0

Compare Source

Enhancements:

  • #​1378: Add WithLazy method for SugaredLogger.
  • #​1399: zaptest: Add NewTestingWriter for customizing TestingWriter with more flexibility than NewLogger.
  • #​1406: Add Log, Logw, Logln methods for SugaredLogger.
  • #​1416: Add WithPanicHook option for testing panic logs.

Thanks to @​defval, @​dimmo, @​arxeiss, and @​MKrupauskas for their contributions to this release.

v1.26.0

Compare Source

Enhancements:

  • #​1297: Add Dict as a Field.
  • #​1319: Add WithLazy method to Logger which lazily evaluates the structured
    context.
  • #​1350: String encoding is much (~50%) faster now.

Thanks to @​hhk7734, @​jquirke, @​cdvr1993 for their contributions to this release.

v1.25.0

Compare Source

This release contains several improvements including performance, API additions,
and two new experimental packages whose APIs are unstable and may change in the
future.

Enhancements:

  • #​1246: Add zap/exp/zapslog package for integration with slog.
  • #​1273: Add Name to Logger which returns the Logger's name if one is set.
  • #​1281: Add zap/exp/expfield package which contains helper methods
    Str and Strs for constructing String-like zap.Fields.
  • #​1310: Reduce stack size on Any.

Thanks to @​knight42, @​dzakaammar, @​bcspragu, and @​rexywork for their contributions
to this release.

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: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title Update module go.uber.org/zap to v1.27.1 Update module go.uber.org/zap to v1.27.1 - autoclosed Mar 11, 2026
@renovate renovate Bot closed this Mar 11, 2026
@renovate
renovate Bot deleted the renovate/go.uber.org-zap-1.x branch March 11, 2026 15:57
@renovate renovate Bot changed the title Update module go.uber.org/zap to v1.27.1 - autoclosed Update module go.uber.org/zap to v1.27.1 Mar 11, 2026
@renovate renovate Bot reopened this Mar 11, 2026
@renovate
renovate Bot force-pushed the renovate/go.uber.org-zap-1.x branch 2 times, most recently from bd19356 to b3d7b10 Compare March 11, 2026 19:42
@renovate renovate Bot changed the title Update module go.uber.org/zap to v1.27.1 Update module go.uber.org/zap to v1.28.0 Apr 28, 2026
@renovate
renovate Bot force-pushed the renovate/go.uber.org-zap-1.x branch from b3d7b10 to 854f964 Compare April 28, 2026 07:42
@renovate renovate Bot changed the title Update module go.uber.org/zap to v1.28.0 Update module go.uber.org/zap to v1.28.0 - autoclosed Jul 4, 2026
@renovate renovate Bot closed this Jul 4, 2026
@renovate renovate Bot changed the title Update module go.uber.org/zap to v1.28.0 - autoclosed Update module go.uber.org/zap to v1.28.0 Jul 5, 2026
@renovate renovate Bot reopened this Jul 5, 2026
@renovate
renovate Bot force-pushed the renovate/go.uber.org-zap-1.x branch from 854f964 to f30f23a Compare July 5, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants