Skip to content

chore(release): promote next to main for v3.0.1 - #69

Merged
jasoet merged 1 commit into
mainfrom
next
Oct 5, 2026
Merged

jasoet merged 1 commit into
mainfrom
next

Conversation

@jasoet

@jasoet jasoet commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Promotes the one fix on next since v3.0.0:

Merge with a merge commit, never squash. A local simulation of this merge plus semantic-release --dry-run computes 3.0.1.

No breaking changes on the line, so MIGRATION.md is unchanged. task ci:check, tagged go vet and task test:integration passed on the fix before it merged into next.

## Why

`go.opentelemetry.io/otel/log` v0.21.0 removed `log.KeyValue`,
`log.Value` and their constructors (`log.String`, `log.StringValue`, …)
in favour of `attribute.KeyValue` / `attribute.Value`. Every release up
to v3.0.0 uses the old API, so a consumer that raises `otel/sdk/log` to
v0.21.0 — the release fixing GO-2026-6615 (BatchProcessor busy-spin when
the export buffer is full) — can no longer compile `otel`, `grpc` or
`rest`.

## What

- Raise `otel`, `otel/sdk`, `otel/metric`, `otel/trace`,
`otel/sdk/metric` to v1.45.0 and `otel/log`, `otel/sdk/log`,
`otlploghttp` to v0.21.0. This also clears GO-2026-6505 (`otel/sdk`).
- Port log record attributes and bodies in `otel`, `grpc` and `rest` to
the `attribute` package. No exported signature changes.
- The console exporter now renders slice and map attributes through
`attribute.Value.AsInterface()` (plain Go values) instead of the old
`log.Value` structs.
- The bump raises `golang.org/x/net` to v0.57.0, which deprecates
`http2/h2c`. `grpc/server.go` keeps it under `//nolint:staticcheck`:
`http.Server.Protocols` drops the HTTP/1.1 `Upgrade: h2c` path, so
replacing it is a behaviour change for its own PR.

## Not in this PR

`govulncheck` still reports advisories unrelated to OpenTelemetry (grpc
v1.83.0, x/crypto v0.54.0, moby/go-archive, argo-workflows, Go stdlib
1.26.1).

## Verification

`task ci:check`, `go vet -tags='example integration argo' ./...` and
`task test:integration` all pass locally.
@jasoet
jasoet merged commit 7ad684e into main Oct 5, 2026
4 checks passed
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