← Back to Pull requests

chore(deps): bump go.uber.org/zap from 1.27.0 to 1.28.0 #6241

Open
unknown opened this pull request with 650 lines diff across 8 files
View on GitHub
unknown unknown commented on Nov 12, 2026 06:32 UTC
Author

Bumps go.uber.org/zap from 1.27.0 to 1.28.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/uber-go/zap/releases">go.uber.org/zap's releases</a>.</em></p>
<blockquote>
<h2>v1.28.0</h2>
<p>Enhancements:</p>
<ul>
<li><a href="https://redirect.github.com/uber-go/zap/issues/1534">#1534</a>[]: Add <code>zapcore.CheckPreWriteHook</code> and <code>CheckedEntry.Before</code> method for transforming entries before they are written to any Cores.</li>
</ul>
<p><a href="https://redirect.github.com/uber-go/zap/issues/1534">#1534</a>: <a href="https://redirect.github.com/uber-go/zap/pull/1534">uber-go/zap#1534</a></p>
<h2>v1.27.1</h2>
<p>Enhancements:</p>
<ul>
<li><a href="https://redirect.github.com/uber-go/zap/issues/1501">#1501</a>[]: prevent <code>Object</code> from panicking on nils</li>
<li><a href="https://redirect.github.com/uber-go/zap/issues/1511">#1511</a>[]: Fix a race condition in <code>WithLazy</code>.</li>
</ul>
<p>Thanks to <a href="https://github.com/rabbbit"><code>@​rabbbit</code></a>, <a href="https://github.com/alshopov"><code>@​alshopov</code></a>, <a href="https://github.com/jquirke"><code>@​jquirke</code></a>, <a href="https://github.com/arukiidou"><code>@​arukiidou</code></a> for their contributions to this release.</p>
<p><a href="https://redirect.github.com/uber-go/zap/issues/1501">#1501</a>: <a href="https://redirect.github.com/uber-go/zap/pull/1501">uber-go/zap#1501</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1511">#1511</a>: <a href="https://redirect.github.com/uber-go/zap/pull/1511">uber-go/zap#1511</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/uber-go/zap/blob/master/CHANGELOG.md">go.uber.org/zap's changelog</a>.</em></p>
<blockquote>
<h2>1.28.0 (27 Apr 2026)</h2>
<p>Enhancements:</p>
<ul>
<li><a href="https://redirect.github.com/uber-go/zap/issues/1534">#1534</a>[]: Add <code>zapcore.CheckPreWriteHook</code> and <code>CheckedEntry.Before</code> method for transforming entries before they are written to any Cores.</li>
</ul>
<h2>1.27.1 (19 Nov 2025)</h2>
<p>Enhancements:</p>
<ul>
<li><a href="https://redirect.github.com/uber-go/zap/issues/1501">#1501</a>[]: prevent <code>Object</code> from panicking on nils</li>
<li><a href="https://redirect.github.com/uber-go/zap/issues/1511">#1511</a>[]: Fix a race condition in <code>WithLazy</code>.</li>
</ul>
<p>Thanks to <a href="https://github.com/rabbbit"><code>@​rabbbit</code></a>, <a href="https://github.com/alshopov"><code>@​alshopov</code></a>, <a href="https://github.com/jquirke"><code>@​jquirke</code></a>, <a href="https://github.com/arukiidou"><code>@​arukiidou</code></a> for their contributions to this release.</p>
<p><a href="https://redirect.github.com/uber-go/zap/issues/1501">#1501</a>: <a href="https://redirect.github.com/uber-go/zap/pull/1501">uber-go/zap#1501</a>
<a href="https://redirect.github.com/uber-go/zap/issues/1511">#1511</a>: <a href="https://redirect.github.com/uber-go/zap/pull/1511">uber-go/zap#1511</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/uber-go/zap/commit/5b81b37b81b8e2ed447a6f57991e372ee4fa5c8f"><code>5b81b37</code></a> release v1.28.0 (<a href="https://redirect.github.com/uber-go/zap/issues/1547">#1547</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/0ab0d5aae5986395e2ca497385d977ccd7cdfc5e"><code>0ab0d5a</code></a> zapcore: Add PreWriteHook for transforming entries before write (<a href="https://redirect.github.com/uber-go/zap/issues/1534">#1534</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/d278c5962cb0f7423170c11a5da9b7a4edbf9b92"><code>d278c59</code></a> [chore] CI: test on Go 1.26 (<a href="https://redirect.github.com/uber-go/zap/issues/1535">#1535</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/16fb16b353f2e27bcd71eba69cbd346b3dcc471a"><code>16fb16b</code></a> chore(dep): replace archived gopkg.in/yaml.v3 with officially maintained go.y...</li>
<li><a href="https://github.com/uber-go/zap/commit/7b755a3910491932656b01f2013b8bf41e74d4e8"><code>7b755a3</code></a> release 1.27.1 (<a href="https://redirect.github.com/uber-go/zap/issues/1521">#1521</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/d6b395b76053053ec6ae18121c01e08718708bc3"><code>d6b395b</code></a> Update lazy logger not to materialize unless it's being written to (<a href="https://redirect.github.com/uber-go/zap/issues/1519">#1519</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/4b9cea0fee0414839ee5f8c69320c12f181c3d47"><code>4b9cea0</code></a> ci: Test with Go 1.24, Go 1.25 (<a href="https://redirect.github.com/uber-go/zap/issues/1508">#1508</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/7c80d7b53df6ed592d333998cbbfcd99ff52f3c2"><code>7c80d7b</code></a> Fix race condition in WithLazy implementation (<a href="https://redirect.github.com/uber-go/zap/issues/1426">#1426</a>) (<a href="https://redirect.github.com/uber-go/zap/issues/1511">#1511</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/07077a697f639389cc998ff91b8885feb25f520d"><code>07077a6</code></a> Prevent zap.Object from panicing on nils (<a href="https://redirect.github.com/uber-go/zap/issues/1501">#1501</a>)</li>
<li><a href="https://github.com/uber-go/zap/commit/a6afd05063133cc713487d6c883760decd673ca0"><code>a6afd05</code></a> Fix lint check name (<a href="https://redirect.github.com/uber-go/zap/issues/1502">#1502</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/uber-go/zap/compare/v1.27.0...v1.28.0">compare view</a></li>
</ul>
</details>
<br />

![Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR

  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it

  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency

  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: cheyang Review duration: 2869m
    All Vouch review confidence checks passed
    Residual risk 0.28 = Change Risk (0.52) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #6241"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 27.7% · Safe to merge
    27.7%