Skip to content

fix(deps): update module go.uber.org/zap to v1.27.0 #31434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 27, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 27, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.uber.org/zap v1.26.0 -> v1.27.0 age adoption passing confidence

Release Notes

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

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.


Configuration

📅 Schedule: Branch creation - "on tuesday" (UTC), 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 Mend Renovate. View repository job log here.

Closes #31442

Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's breaking change in zap. See #31442.

@djaglowski djaglowski merged commit 7fa5060 into main Feb 27, 2024
@djaglowski djaglowski deleted the renovate/go.uber.org-zap-1.x branch February 27, 2024 18:04
@github-actions github-actions bot added this to the next release milestone Feb 27, 2024
XinRanZhAWS pushed a commit to XinRanZhAWS/opentelemetry-collector-contrib that referenced this pull request Mar 13, 2024
…1434)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [go.uber.org/zap](https://togithub.com/uber-go/zap) | `v1.26.0` ->
`v1.27.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.uber.org%2fzap/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.uber.org%2fzap/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.uber.org%2fzap/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.uber.org%2fzap/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uber-go/zap (go.uber.org/zap)</summary>

### [`v1.27.0`](https://togithub.com/uber-go/zap/releases/tag/v1.27.0)

[Compare
Source](https://togithub.com/uber-go/zap/compare/v1.26.0...v1.27.0)

Enhancements:

-   [#&open-telemetry#8203;1378][]: Add `WithLazy` method for `SugaredLogger`.
- [#&open-telemetry#8203;1399][]: zaptest: Add `NewTestingWriter` for customizing
TestingWriter with more flexibility than `NewLogger`.
- [#&open-telemetry#8203;1406][]: Add `Log`, `Logw`, `Logln` methods for
`SugaredLogger`.
-   [#&open-telemetry#8203;1416][]: Add `WithPanicHook` option for testing panic logs.

Thanks to [@&open-telemetry#8203;defval](https://togithub.com/defval),
[@&open-telemetry#8203;dimmo](https://togithub.com/dimmo),
[@&open-telemetry#8203;arxeiss](https://togithub.com/arxeiss), and
[@&open-telemetry#8203;MKrupauskas](https://togithub.com/MKrupauskas) for their
contributions to this release.

[#&open-telemetry#8203;1378]: https://togithub.com/uber-go/zap/pull/1378

[#&open-telemetry#8203;1399]: https://togithub.com/uber-go/zap/pull/1399

[#&open-telemetry#8203;1406]: https://togithub.com/uber-go/zap/pull/1406

[#&open-telemetry#8203;1416]: https://togithub.com/uber-go/zap/pull/1416

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), 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, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Closes open-telemetry#31442

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
Co-authored-by: Dan Jaglowski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[pkg/stanza] update module go.uber.org/zap to v1.27.0 breaks tests
5 participants