API
Context
- Fix GHSA-rcgg-9c38-7xpx: Apply limits to baggage entries for
W3CBaggagePropagator,OtTracePropagator,JaegerPropagator
(#8378)
SDK
Traces
- Avoid
parentContextallocation on span start for the common case (#8332)
Metrics
- Add
setMaxExportBatchSizetoPeriodicMetricReaderBuilder(#8296) - Fix
PeriodicMetricReadershutdown race that could drop the final flush (#8299)
Exporters
- BREAKING Prometheus: Change default server host from
0.0.0.0tolocalhost(#8298) - BREAKING Prometheus: Stop converting unit
"1"to"ratio"(#8252) - OTLP: Fix null input handling in
StringEncoder(#8312) - OTLP: Align proto field types and wire tag names in marshalers (#8293)
- OTLP: Fix
MarshalerUtilsizeRepeatedStringcalculation (#8284) - OTLP: Bound
JdkHttpSenderthread pool size to prevent unbounded thread creation (#8276) - OTLP Profiles: Split profiles data model into separate
sdk-profilesand JFR shim modules (#8207) - OTLP Profiles: Publish alpha release of
opentelemetry-sdk-profilesandopentelemetry-exporter-otlp-profiles(#8351)
Extensions
- BREAKING Declarative config: Extract to new
opentelemetry-sdk-extension-declarative-configartifact with new packageio.opentelemetry.sdk.autoconfigure.declarativeconfig(#8265) - Autoconfigure: Add file size validation in
OtlpConfigUtilto avoid unsafe cast toint(#8287) - Declarative config: Fix collection fields to not be initialized to empty by default (#8356)
- Incubator: Add
EventToSpanEventBridgeto bridge log-based events to span events (#8372)
Testing
- Add
@NullabletoequalTovalue argument inOpenTelemetryAssertions(#8301) - Add
hasValueSatisfyingtoLongPointAssertandDoublePointAssertfor fuzzy value matching (#8328) - Add
containsPointsSatisfyingto metric data asserts for "each given assertion must be satisfied by at least one point, extras allowed" checks on sum, gauge, histogram, exponential histogram, and summary data (#8329)
Project tooling
- Add initial OSGi support (#7964)
- Promote
ApiUsageLoggertoopentelemetry-commonpublic API (#8318) - Establish exception logging guidelines and fix inconsistent patterns across exporters and SDK (#8231)
- Add
*.impl.*package naming convention for internal code with japicmp compatibility (#8325) - Add Sonatype dependency audit to build (#8365)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@abdessattar23
@anuq
@breedx-splk
@cijothomas
@dashpole
@jack-berg
@jaydeluca
@jhalliday
@jkwatson
@jsuereth
@laeubi
@laurit
@maxiking203
@opentelemetrybot
@psx95
@robsunday
@royteeuwen
@Sandared
@stbischof
@SylvainJuge
@trask
@utafrali
@VamshikrishnaMonagari
@zeitlinger