Drop support for Go 1.24#7984
Merged
pellared merged 7 commits intoopen-telemetry:mainfrom Mar 2, 2026
Merged
Conversation
Update documentation to drop support of Go 1.24.
XSAM
approved these changes
Mar 2, 2026
dashpole
approved these changes
Mar 2, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR drops Go 1.24 compatibility across the repository by updating module minimum Go versions and removing Go 1.24 from the documented/CI-tested support matrix.
Changes:
- Bump
godirectives from1.24.0to1.25.0across all affected modules. - Remove Go 1.24 from CI compatibility-test matrix.
- Update documentation to reflect supported Go versions and note the removal in the changelog.
Reviewed changes
Copilot reviewed 30 out of 30 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| trace/internal/telemetry/test/go.mod | Bump module go directive to 1.25.0. |
| trace/go.mod | Bump module go directive to 1.25.0. |
| sdk/metric/go.mod | Bump module go directive to 1.25.0. |
| sdk/log/logtest/go.mod | Bump module go directive to 1.25.0. |
| sdk/log/go.mod | Bump module go directive to 1.25.0. |
| sdk/go.mod | Bump module go directive to 1.25.0. |
| schema/go.mod | Bump module go directive to 1.25.0. |
| metric/go.mod | Bump module go directive to 1.25.0. |
| log/logtest/go.mod | Bump module go directive to 1.25.0. |
| log/go.mod | Bump module go directive to 1.25.0. |
| internal/tools/go.mod | Bump module go directive to 1.25.0. |
| go.mod | Bump root module go directive to 1.25.0. |
| exporters/zipkin/go.mod | Bump module go directive to 1.25.0. |
| exporters/stdout/stdouttrace/go.mod | Bump module go directive to 1.25.0. |
| exporters/stdout/stdoutmetric/go.mod | Bump module go directive to 1.25.0. |
| exporters/stdout/stdoutlog/go.mod | Bump module go directive to 1.25.0. |
| exporters/prometheus/go.mod | Bump module go directive to 1.25.0. |
| exporters/otlp/otlptrace/otlptracehttp/go.mod | Bump module go directive to 1.25.0. |
| exporters/otlp/otlptrace/otlptracegrpc/go.mod | Bump module go directive to 1.25.0. |
| exporters/otlp/otlptrace/go.mod | Bump module go directive to 1.25.0. |
| exporters/otlp/otlpmetric/otlpmetrichttp/go.mod | Bump module go directive to 1.25.0. |
| exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod | Bump module go directive to 1.25.0. |
| exporters/otlp/otlplog/otlploghttp/go.mod | Bump module go directive to 1.25.0. |
| exporters/otlp/otlplog/otlploggrpc/go.mod | Bump module go directive to 1.25.0. |
| bridge/opentracing/go.mod | Bump module go directive to 1.25.0. |
| bridge/opencensus/test/go.mod | Bump module go directive to 1.25.0. |
| bridge/opencensus/go.mod | Bump module go directive to 1.25.0. |
| README.md | Remove Go 1.24 from the supported-environments table. |
| CHANGELOG.md | Add an Unreleased “Removed” entry for dropping Go 1.24 support. |
| .github/workflows/ci.yml | Remove Go 1.24 from the compatibility-test Go version matrix. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
MrAlias
commented
Mar 2, 2026
dmathieu
approved these changes
Mar 2, 2026
pellared
approved these changes
Mar 2, 2026
Member
|
@MrAlias, can you fix the linter issues? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7984 +/- ##
=======================================
- Coverage 81.7% 81.7% -0.1%
=======================================
Files 304 304
Lines 23339 23337 -2
=======================================
- Hits 19088 19083 -5
- Misses 3863 3865 +2
- Partials 388 389 +1
🚀 New features to boost your workflow:
|
pellared
approved these changes
Mar 2, 2026
pellared
added a commit
that referenced
this pull request
Mar 6, 2026
### Added - Add `go.opentelemetry.io/otel/semconv/v1.40.0` package. The package contains semantic conventions from the `v1.40.0` version of the OpenTelemetry Semantic Conventions. See the [migration documentation](./semconv/v1.40.0/MIGRATION.md) for information on how to upgrade from `go.opentelemetry.io/otel/semconv/v1.39.0`. (#7985) - Add `Err` and `SetErr` on `Record` in `go.opentelemetry.io/otel/log` to attach an error and set record exception attributes in `go.opentelemetry.io/otel/log/sdk`. (#7924) ### Changed - `TracerProvider.ForceFlush` in `go.opentelemetry.io/otel/sdk/trace` joins errors together and continues iteration through SpanProcessors as opposed to returning the first encountered error without attempting exports on subsequent SpanProcessors. (#7856) ### Fixed - Fix missing `request.GetBody` in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp` to correctly handle HTTP2 GOAWAY frame. (#7931) - Fix semconv v1.39.0 generated metric helpers skipping required attributes when extra attributes were empty. (#7964) - Preserve W3C TraceFlags bitmask (including the random Trace ID flag) during trace context extraction and injection in `go.opentelemetry.io/otel/propagation`. (#7834) ### Removed - Drop support for [Go 1.24]. (#7984)
This was referenced Mar 28, 2026
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.
No description provided.