Drop support for Go 1.24#7984
Conversation
Update documentation to drop support of Go 1.24.
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, 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:
|
### 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)
|
@MrAlias Why drop support for go1.24. The reason is not clear, and maybe not that enough. |
|
See our compatibility policy: https://github.com/open-telemetry/opentelemetry-go?tab=readme-ov-file#compatibility |
Thank you very much. |
No description provided.