Skip to content

deps: bump go.uber.org/zap from 1.21.0 to 1.27.1#59

Merged
ako merged 1 commit intomainfrom
dependabot/go_modules/go.uber.org/zap-1.27.1
Mar 30, 2026
Merged

deps: bump go.uber.org/zap from 1.21.0 to 1.27.1#59
ako merged 1 commit intomainfrom
dependabot/go_modules/go.uber.org/zap-1.27.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 30, 2026

Bumps go.uber.org/zap from 1.21.0 to 1.27.1.

Release notes

Sourced from go.uber.org/zap's releases.

v1.27.1

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.

#1501: uber-go/zap#1501 #1511: uber-go/zap#1511

v1.27.0

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.

#1378: uber-go/zap#1378 #1399: uber-go/zap#1399 #1406: uber-go/zap#1406 #1416: uber-go/zap#1416

v1.26.0

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.

#1297: uber-go/zap#1297 #1319: uber-go/zap#1319 #1350: uber-go/zap#1350

v1.25.0

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.

... (truncated)

Changelog

Sourced from go.uber.org/zap's changelog.

1.27.1 (19 Nov 2025)

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.

#1501: uber-go/zap#1501 #1511: uber-go/zap#1511

1.27.0 (20 Feb 2024)

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.

#1378: uber-go/zap#1378 #1399: uber-go/zap#1399 #1406: uber-go/zap#1406 #1416: uber-go/zap#1416

1.26.0 (14 Sep 2023)

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, and @​cdvr1993 for their contributions to this release.

#1297: uber-go/zap#1297 #1319: uber-go/zap#1319 #1350: uber-go/zap#1350

1.25.0 (1 Aug 2023)

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.

... (truncated)

Commits

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Mar 30, 2026

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions
Copy link
Copy Markdown

AI Code Review

What Looks Good

-Dependency update is straightforward and within the same major version (v1.x), minimizing breaking change risk

  • Release notes show only enhancements and bug fixes (nil pointer panic prevention, race condition fix) - no breaking changes mentioned
  • Indirect dependency updates (go.uber.org/multierr, go.uber.org/goleak) are appropriate and compatible
  • No code changes beyond go.mod/go.sum, keeping the update isolated and atomic- Zap is a logging library - updates are unlikely to affect core Mendix functionality

RecommendationApprove. The dependency update is safe, follows semantic versioning, and includes beneficial bug fixes. No additional testing or changes are required beyond what's shown in the PR.


Automated review via OpenRouter (Nemotron Super 120B) — workflow source

@dependabot dependabot bot force-pushed the dependabot/go_modules/go.uber.org/zap-1.27.1 branch from 1b1d0e4 to 6280790 Compare March 30, 2026 12:57
@github-actions
Copy link
Copy Markdown

AI Code Review

What Looks Good

ThisPR is a straightforward dependency update that brings meaningful improvements:

  • Bug fixes: Resolves nil pointer panic in Object (#1501) and race condition in WithLazy (#1511)
  • Performance: String encoding is ~50% faster (v1.26.0)
  • New features: Adds WithLazy for lazy evaluation, Dict as Field, enhanced testing utilities, and SugaredLogger improvements- Transitive updates: Also updates go.uber.org/multierr (v1.8.0 → v1.10.0) and go.uber.org/goleak (v1.1.11 → v1.3.0) as dependencies
  • Clean implementation: Only modifies go.mod and go.sum with appropriate version bumps and hash updates
  • Backward compatible: Same major version (1.x) ensures no breaking changes

Recommendation

Approve - This is a beneficial dependency update that fixes known issues, improves performance, and adds useful features without introducing risk. The changes are limited to dependency management files as expected for this type of update.


Automated review via OpenRouter (Nemotron Super 120B) — workflow source

@dependabot dependabot bot force-pushed the dependabot/go_modules/go.uber.org/zap-1.27.1 branch from 6280790 to 32eed04 Compare March 30, 2026 12:59
@github-actions
Copy link
Copy Markdown

AI Code Review

Critical Issues

None

Moderate IssuesNone

Minor Issues

None

What Looks Good

  • Dependency update is well-scoped (only go.mod and go.sum changes)
  • Update includes valuable bug fixes:
    • Prevents panics on nil objects (fixes #1501)
    • Resolves race condition in WithLazy (fixes #1511)
  • Includes performance improvements (~50% faster string encoding from v1.26.0)
  • Maintains backward compatibility (no breaking changes in main API per release notes)
  • Updates indirect dependencies appropriately (multierr v1.8.0 → v1.10.0, removes unused deps)

Recommendation

Approve. The dependency update is safe, provides meaningful improvements, and follows semantic versioning principles. No code changes are needed as the update maintains API compatibility. The project should continue to build and function correctly with these updated dependencies.


Automated review via OpenRouter (Nemotron Super 120B) — workflow source

Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.21.0 to 1.27.1.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](uber-go/zap@v1.21.0...v1.27.1)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-version: 1.27.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/go.uber.org/zap-1.27.1 branch from 32eed04 to a182968 Compare March 30, 2026 13:28
@ako ako merged commit ffabe93 into main Mar 30, 2026
4 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/go.uber.org/zap-1.27.1 branch March 30, 2026 13:29
@github-actions
Copy link
Copy Markdown

AI Code Review

What Looks Good

  • Dependency updatefrom go.uber.org/zap v1.21.0 to v1.27.1 and indirect update of go.uber.org/multierr from v1.8.0 to v1.10.0
  • Includes important bug fixes: nil panic prevention in Object and race condition fix in WithLazy
  • Updates are within the same major version (v1) with no indicated breaking changes in release notes
  • PR is narrowly scoped to dependency updates only
  • No code changes beyond dependency files, maintaining full-stack consistency requirements

Recommendation

Approve the PR. The dependency updates provide valuable bug fixes and performance improvements without introducing breaking changes or requiring additional code modifications. The update follows semantic versioning principles and maintains project compatibility.


Automated review via OpenRouter (Nemotron Super 120B) — workflow source

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.

1 participant