Repository navigation
chore(deps)!: upgrade OpenTelemetry to v1.46.0/v0.22.0 and fix vulnerable deps - #4
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
google.golang.org/grpcv1.84.0 (GO-2026-6348, GO-2026-6061, GO-2026-6441)golang.org/x/cryptov0.57.0golang.org/x/netv0.59.0 (GO-2026-5942)golang.org/x/textv0.42.0 (GO-2026-5970)klauspost/compressv1.20.0 (GO-2026-5841)otel/logv0.21.0 removedlog.KeyValue/log.Valuein favor ofattribute.KeyValue/attribute.Value(open-telemetry/opentelemetry-go#8490). This library follows that change:Log.Debug/Info/Warning/Error/Fatalnow take...attribute.KeyValue.LogAttributenow returnsattribute.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 ./...andgo test ./...pass for the root module andexamples/.govulncheck ./...with Go 1.26.6 finds 0 vulnerabilities reachable from our code.x/crypto/openpgp, which has no fix and which we don't use.