Sourced from go.opentelemetry.io/otel/sdk's changelog.
[1.43.0/0.65.0/0.19.0] 2026-04-02
Added
- Add
IsRandomandWithRandomonTraceFlags, andIsRandomonSpanContextingo.opentelemetry.io/otel/tracefor W3C Trace Context Level 2 Random Trace ID Flag support. (#8012)- Add service detection with
WithServiceingo.opentelemetry.io/otel/sdk/resource. (#7642)- Add
DefaultWithContextandEnvironmentWithContextingo.opentelemetry.io/otel/sdk/resourceto support plumbingcontext.Contextthrough default and environment detectors. (#8051)- Support attributes with empty value (
attribute.EMPTY) ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#8038)- Support attributes with empty value (
attribute.EMPTY) ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#8038)- Support attributes with empty value (
attribute.EMPTY) ingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#8038)- Support attributes with empty value (
attribute.EMPTY) ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#8038)- Support attributes with empty value (
attribute.EMPTY) ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#8038)- Support attributes with empty value (
attribute.EMPTY) ingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#8038)- Support attributes with empty value (
attribute.EMPTY) ingo.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest. (#8038)- Add support for per-series start time tracking for cumulative metrics in
go.opentelemetry.io/otel/sdk/metric. SetOTEL_GO_X_PER_SERIES_START_TIMESTAMPS=trueto enable. (#8060)- Add
WithCardinalityLimitSelectorfor metric reader for configuring cardinality limits specific to the instrument kind. (#7855)Changed
- Introduce the
EMPTYType ingo.opentelemetry.io/otel/attributeto reflect that an empty value is now a valid value, withINVALIDremaining as a deprecated alias ofEMPTY. (#8038)- Improve slice handling in
go.opentelemetry.io/otel/attributeto optimize short slice values with fixed-size fast paths. (#8039)- Improve performance of span metric recording in
go.opentelemetry.io/otel/sdk/traceby returning early if self-observability is not enabled. (#8067)- Improve formatting of metric data diffs in
go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest. (#8073)Deprecated
- Deprecate
INVALIDingo.opentelemetry.io/otel/attribute. UseEMPTYinstead. (#8038)Fixed
- Return spec-compliant
TraceIdRatioBaseddescription. This is a breaking behavioral change, but it is necessary to make the implementation spec-compliant. (#8027)- Fix a race condition in
go.opentelemetry.io/otel/sdk/metricwhere the lastvalue aggregation could collect the value 0 even when no zero-value measurements were recorded. (#8056)- Limit HTTP response body to 4 MiB in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttpto mitigate excessive memory usage caused by a misconfigured or malicious server. Responses exceeding the limit are treated as non-retryable errors. (#8108)- Limit HTTP response body to 4 MiB in
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpto mitigate excessive memory usage caused by a misconfigured or malicious server. Responses exceeding the limit are treated as non-retryable errors. (#8108)- Limit HTTP response body to 4 MiB in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpto mitigate excessive memory usage caused by a misconfigured or malicious server. Responses exceeding the limit are treated as non-retryable errors. (#8108)WithHostIDdetector ingo.opentelemetry.io/otel/sdk/resourceto use full path forkenvcommand on BSD. (#8113)- Fix missing
request.GetBodyingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpto correctly handle HTTP2 GOAWAY frame. (#8096)[1.42.0/0.64.0/0.18.0/0.0.16] 2026-03-06
Added
- Add
go.opentelemetry.io/otel/semconv/v1.40.0package. The package contains semantic conventions from thev1.40.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.39.0. (#7985)
... (truncated)
9276201
Release v1.43.0 / v0.65.0 / v0.19.0 (#8128)61b8c94
chore(deps): update module github.com/mattn/go-runewidth to v0.0.22 (#8131)97a086e
chore(deps): update github.com/golangci/dupl digest to c99c5cf (#8122)5e363de
limit response body size for OTLP HTTP exporters (#8108)35214b6
Use an absolute path when calling bsd kenv (#8113)290024c
fix(deps): update module google.golang.org/grpc to v1.80.0 (#8121)e70658e
fix: support getBody in otelploghttp (#8096)4afe468
fix(deps): update googleapis to 9d38bb4 (#8117)b9ca729
chore(deps): update module github.com/go-git/go-git/v5 to v5.17.2 (#8115)69472ec
chore(deps): update fossas/fossa-action action to v1.9.0 (#8118)