Skip to content

Commit bac1877

Browse files
committed
Merge branch 'main' of https://github.com/open-telemetry/opentelemetry-java into update-api-change-detection
2 parents 13503d5 + 6e3ea95 commit bac1877

70 files changed

Lines changed: 700 additions & 135 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 70 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,84 @@
22

33
## Unreleased
44

5+
## Version 1.62.0 (2026-05-08)
6+
7+
### API
8+
9+
#### Context
10+
11+
* Apply limits to baggage entries for `W3CBaggagePropagator`, `OtTracePropagator`, `JaegerPropagator`
12+
([#8378](https://github.com/open-telemetry/opentelemetry-java/pull/8378))
13+
514
### SDK
615

16+
#### Traces
17+
18+
* Avoid `parentContext` allocation on span start for the common case
19+
([#8332](https://github.com/open-telemetry/opentelemetry-java/pull/8332))
20+
21+
#### Metrics
22+
23+
* Add `setMaxExportBatchSize` to `PeriodicMetricReaderBuilder`
24+
([#8296](https://github.com/open-telemetry/opentelemetry-java/pull/8296))
25+
* Fix `PeriodicMetricReader` shutdown race that could drop the final flush
26+
([#8299](https://github.com/open-telemetry/opentelemetry-java/pull/8299))
27+
28+
#### Exporters
29+
30+
* **BREAKING** Prometheus: Change default server host from `0.0.0.0` to `localhost`
31+
([#8298](https://github.com/open-telemetry/opentelemetry-java/pull/8298))
32+
* **BREAKING** Prometheus: Stop converting unit `"1"` to `"ratio"`
33+
([#8252](https://github.com/open-telemetry/opentelemetry-java/pull/8252))
34+
* OTLP: Fix null input handling in `StringEncoder`
35+
([#8312](https://github.com/open-telemetry/opentelemetry-java/pull/8312))
36+
* OTLP: Align proto field types and wire tag names in marshalers
37+
([#8293](https://github.com/open-telemetry/opentelemetry-java/pull/8293))
38+
* OTLP: Fix `MarshalerUtil` `sizeRepeatedString` calculation
39+
([#8284](https://github.com/open-telemetry/opentelemetry-java/pull/8284))
40+
* OTLP: Bound `JdkHttpSender` thread pool size to prevent unbounded thread creation
41+
([#8276](https://github.com/open-telemetry/opentelemetry-java/pull/8276))
42+
* OTLP Profiles: Split profiles data model into separate `sdk-profiles` and JFR shim modules
43+
([#8207](https://github.com/open-telemetry/opentelemetry-java/pull/8207))
44+
* OTLP Profiles: Publish alpha release of `opentelemetry-sdk-profiles` and
45+
`opentelemetry-exporter-otlp-profiles`
46+
([#8351](https://github.com/open-telemetry/opentelemetry-java/pull/8351))
47+
48+
#### Extensions
49+
50+
* **BREAKING** Declarative config: Extract to new `opentelemetry-sdk-extension-declarative-config`
51+
artifact with new package `io.opentelemetry.sdk.autoconfigure.declarativeconfig`
52+
([#8265](https://github.com/open-telemetry/opentelemetry-java/pull/8265))
53+
* Autoconfigure: Add file size validation in `OtlpConfigUtil` to avoid unsafe cast to `int`
54+
([#8287](https://github.com/open-telemetry/opentelemetry-java/pull/8287))
55+
* Declarative config: Fix collection fields to not be initialized to empty by default
56+
([#8356](https://github.com/open-telemetry/opentelemetry-java/pull/8356))
57+
* Incubator: Add `EventToSpanEventBridge` to bridge log-based events to span events
58+
([#8372](https://github.com/open-telemetry/opentelemetry-java/pull/8372))
59+
760
#### Testing
861

62+
* Add `@Nullable` to `equalTo` value argument in `OpenTelemetryAssertions`
63+
([#8301](https://github.com/open-telemetry/opentelemetry-java/pull/8301))
964
* Add `hasValueSatisfying` to `LongPointAssert` and `DoublePointAssert` for fuzzy value matching
65+
([#8328](https://github.com/open-telemetry/opentelemetry-java/pull/8328))
1066
* Add `containsPointsSatisfying` to metric data asserts for "each given assertion must be
1167
satisfied by at least one point, extras allowed" checks on sum, gauge, histogram, exponential
1268
histogram, and summary data
69+
([#8329](https://github.com/open-telemetry/opentelemetry-java/pull/8329))
70+
71+
### Project tooling
72+
73+
* Add initial OSGi support
74+
([#7964](https://github.com/open-telemetry/opentelemetry-java/pull/7964))
75+
* Promote `ApiUsageLogger` to `opentelemetry-common` public API
76+
([#8318](https://github.com/open-telemetry/opentelemetry-java/pull/8318))
77+
* Establish exception logging guidelines and fix inconsistent patterns across exporters and SDK
78+
([#8231](https://github.com/open-telemetry/opentelemetry-java/pull/8231))
79+
* Add `*.impl.*` package naming convention for internal code with japicmp compatibility
80+
([#8325](https://github.com/open-telemetry/opentelemetry-java/pull/8325))
81+
* Add Sonatype dependency audit to build
82+
([#8365](https://github.com/open-telemetry/opentelemetry-java/pull/8365))
1383

1484
## Version 1.61.0 (2026-04-10)
1585

@@ -20,8 +90,6 @@
2090

2191
#### Incubating
2292

23-
* Add support for configuring `setMaxExportBatchSize` in `PeriodicMetricReader` ([#8296](https://github.com/open-telemetry/opentelemetry-java/pull/8296))
24-
2593
* **BREAKING** Update `EnvironmentGetter` and `EnvironmentSetter` key normalization to reflect spec
2694
changes
2795
([#8233](https://github.com/open-telemetry/opentelemetry-java/pull/8233))

0 commit comments

Comments
 (0)