Skip to content

chore(deps)!: upgrade OpenTelemetry to v1.46.0/v0.22.0 and fix vulnerable deps - #4

Merged
rorua merged 1 commit into
masterfrom
chore/otel-v1.46
Sep 23, 2026
Merged

rorua merged 1 commit into
masterfrom
chore/otel-v1.46

Conversation

@rorua

@rorua rorua commented Sep 23, 2026

Copy link
Copy Markdown

Summary

  • Upgrade OpenTelemetry to v1.46.0 and the logs modules to v0.22.0.
  • Pick up security fixes in dependencies:
    • google.golang.org/grpc v1.84.0 (GO-2026-6348, GO-2026-6061, GO-2026-6441)
    • golang.org/x/crypto v0.57.0
    • golang.org/x/net v0.59.0 (GO-2026-5942)
    • golang.org/x/text v0.42.0 (GO-2026-5970)
    • klauspost/compress v1.20.0 (GO-2026-5841)
  • Also bumps NATS, RabbitMQ, testify and the other dependencies to their latest versions.

⚠️ Breaking change

otel/log v0.21.0 removed log.KeyValue/log.Value in favor of attribute.KeyValue/attribute.Value (open-telemetry/opentelemetry-go#8490). This library follows that change:

  • Log.Debug/Info/Warning/Error/Fatal now take ...attribute.KeyValue.
  • LogAttribute now returns attribute.KeyValue. It still maps the same Go types to the same value kinds.

Callers that only pass otelemetry.LogAttribute(...) inline need no changes. See MIGRATION.md for the cases that do.

Planned release: v0.2.0. The previous state is tagged v0.1.0.

Verification

  • go build ./..., go vet ./... and go test ./... pass for the root module and examples/.
  • govulncheck ./... with Go 1.26.6 finds 0 vulnerabilities reachable from our code.
  • Two reported vulnerabilities are not reachable from our code:
    • GO-2026-6443: gRPC server-side only; the fix is only in a dev build so far.
    • GO-2026-5932: x/crypto/openpgp, which has no fix and which we don't use.
  • The standard library fixes need Go 1.26.6 or newer.

…able deps

Upgrade OpenTelemetry to v1.46.0 (logs v0.22.0) and pick up security
fixes in grpc v1.84.0, x/crypto v0.57.0, x/net v0.59.0, x/text v0.42.0
and klauspost/compress v1.20.0.

otel/log v0.21.0 removed log.KeyValue/log.Value in favor of
attribute.KeyValue/attribute.Value (open-telemetry/opentelemetry-go#8490),
so the Log interface and LogAttribute now use attribute.KeyValue.

BREAKING CHANGE: Log.Debug/Info/Warning/Error/Fatal take
...attribute.KeyValue and LogAttribute returns attribute.KeyValue.
See MIGRATION.md.
@rorua
rorua merged commit 77a305c into master Sep 23, 2026
@rorua
rorua deleted the chore/otel-v1.46 branch September 23, 2026 05:55
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