Skip to content

build(deps): Bump github.com/rs/zerolog from 1.34.0 to 1.35.1 - #1306

Merged
lklimek merged 1 commit into
v1.6-devfrom
dependabot/go_modules/github.com/rs/zerolog-1.35.1
Jun 12, 2026
Merged

lklimek merged 1 commit into
v1.6-devfrom
dependabot/go_modules/github.com/rs/zerolog-1.35.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 5, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/rs/zerolog from 1.34.0 to 1.35.1.

Commits
  • 116c806 event: restore Err() logging when ErrorStackMarshaler returns nil (#763)
  • 1396655 Bump CI Go matrix minimum from 1.21 to 1.23
  • 4b65a2f Bump actions/cache from 4 to 5 (#741)
  • b835796 Bump actions/setup-go from 5 to 6 (#742)
  • 134caf8 Added sanitization of journald keys (#751)
  • e133b6a Added variadic StrsV, ObjectsV, and StringersV (#752)
  • 82017d8 Bump github.com/coreos/go-systemd/v22 from 22.6.0 to 22.7.0 (#753)
  • 2f5b8a9 fix: UpdateContext skips Nop and zero-value loggers (#754)
  • d64c9a7 Add slog.Handler implementation for zerolog (#755)
  • a0d61dc fix: return dict to Event pool (#749)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 5, 2026
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 5, 2026
@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions Bot added the Stale label Jun 6, 2026
@lklimek

lklimek commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Dependency Security Review: github.com/rs/zerolog 1.34.0 → 1.35.1

Verdict: SAFE — upgrade recommended.

The diff bumps go.mod/go.sum only, cleaning up several stale indirect entries (go-systemd/v22, go-colorable, go-isatty, godbus/dbus).

Key findings

  • No CVEs or GHSAs found in OSV.dev, GitHub Advisory Database, or NVD.
  • The library has no SECURITY.md and no formal CVE registration process — silent fixes are possible; manual release-note review is the reliable signal.
  • Notable improvements in v1.35.0–v1.35.1:
    • Pool state-clearing fix (security-relevant): putEvent()/putArray() pool-return logic was inverted in v1.34.0 — it discarded objects under 64 KiB and returned oversized ones. Fixed in v1.35.0. The new code clears all fields (w, done, stack, ch, ctx, buf) before pool return, eliminating any residual risk of log-event state cross-contamination. Tenderdash logs validator keys, peer addresses, and vote data, so this is a meaningful improvement.
    • unsafe → reflect nil check in isNilValue() — more portable, eliminates UB risk.
    • v1.35.1 regression fix: .Err() + ErrorStackMarshaler returning nil previously dropped the error entirely (does not affect Tenderdash since ErrorStackMarshaler is not set).

Tenderdash impact

No API-breaking changes. Tenderdash uses zerolog heavily via libs/log/default.go; the public API is unchanged. Dict()/Arr() are deprecated in favour of Event.CreateDict()/Event.CreateArray() but remain functional — migration is optional.

Recommendation

Merge. No code changes needed.


🤖 Co-authored by Claudius the Magnificent AI Agent

@lklimek

lklimek commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

@dependabot rebase

🤖 Co-authored by Claudius the Magnificent AI Agent

@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/rs/zerolog-1.35.1 branch from b7a14ea to c16f52d Compare June 12, 2026 10:02
@lklimek

lklimek commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

@dependabot rebase

🤖 Co-authored by Claudius the Magnificent AI Agent

Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.34.0 to 1.35.1.
- [Commits](rs/zerolog@v1.34.0...v1.35.1)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-version: 1.35.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/rs/zerolog-1.35.1 branch from c16f52d to 8eb7109 Compare June 12, 2026 10:44
@lklimek
lklimek merged commit 4924570 into v1.6-dev Jun 12, 2026
20 of 21 checks passed
@lklimek
lklimek deleted the dependabot/go_modules/github.com/rs/zerolog-1.35.1 branch June 12, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant