Skip to content

Commit c2d6229

Browse files
authored
Prepare for 1.59.0 release (#8052)
1 parent 4335cf2 commit c2d6229

File tree

20 files changed

+108
-4
lines changed

20 files changed

+108
-4
lines changed

CHANGELOG.md

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,66 @@
22

33
## Unreleased
44

5-
* Add AlwaysRecordSampler
5+
### API
6+
7+
* Stabilize complex attributes
8+
([#7973](https://github.com/open-telemetry/opentelemetry-java/pull/7973))
9+
* Limit init valid hex array to range that can be true
10+
([#7809](https://github.com/open-telemetry/opentelemetry-java/pull/7809))
11+
12+
#### Extensions
13+
14+
* Trace propagators: Deprecate OtTracePropagator
15+
([#8020](https://github.com/open-telemetry/opentelemetry-java/pull/8020))
16+
* Trace propagators: Deprecate JaegerPropagator
17+
([#8019](https://github.com/open-telemetry/opentelemetry-java/pull/8019))
18+
19+
### SDK
20+
21+
* Move io.opentelemetry.sdk.internal to io.opentelemetry.sdk.common.internal
22+
([#8003](https://github.com/open-telemetry/opentelemetry-java/pull/8003))
23+
* Always return ExtendedOpenTelemetry when incubator is available
24+
([#7991](https://github.com/open-telemetry/opentelemetry-java/pull/7991))
25+
26+
#### Traces
27+
28+
* Fix memory leak in SdkSpan#spanEndingThread
29+
([#7984](https://github.com/open-telemetry/opentelemetry-java/pull/7984))
30+
31+
#### Metrics
32+
33+
* Rework and publish metric benchmarks
34+
([#8000](https://github.com/open-telemetry/opentelemetry-java/pull/8000))
35+
* Update LongLastValueAggregator algo to avoid allocations
36+
([#8017](https://github.com/open-telemetry/opentelemetry-java/pull/8017))
37+
38+
#### Testing
39+
40+
* Fix OTel JUnit5 Extension cleanup when using Nested test classes
41+
([#7999](https://github.com/open-telemetry/opentelemetry-java/pull/7999))
42+
* Add assertion support for Span hasException(null)
43+
([#8033](https://github.com/open-telemetry/opentelemetry-java/pull/8033))
44+
45+
#### Exporters
46+
47+
* **DEPRECATION**: `opentelemetry-exporter-zipkin` is now deprecated with the
48+
last release planned for 1.65.0 (August 2026)
49+
([#7974](https://github.com/open-telemetry/opentelemetry-java/pull/7974))
50+
* Refactor http, grpc senders and promote to public API
51+
([#7782](https://github.com/open-telemetry/opentelemetry-java/pull/7782))
52+
53+
#### Extensions
54+
55+
* Jaeger remote sampler: Remove unused code
56+
([#7970](https://github.com/open-telemetry/opentelemetry-java/pull/7970))
57+
* Incubator: Add AlwaysRecordSampler
658
([#7877](https://github.com/open-telemetry/opentelemetry-java/pull/7877))
759

60+
### Project tooling
61+
62+
* Align generate release contributors
63+
([#8023](https://github.com/open-telemetry/opentelemetry-java/pull/8023))
64+
865
## Version 1.58.0 (2026-01-09)
966

1067
### API

api/all/src/main/java/io/opentelemetry/api/common/AttributeKey.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ static AttributeKey<List<Double>> doubleArrayKey(String key) {
8181
* that backends do not index individual properties of complex attributes, that querying or
8282
* aggregating on such properties is inefficient and complicated, and that reporting complex
8383
* attributes carries higher performance overhead.
84+
*
85+
* @since 1.59.0
8486
*/
8587
static AttributeKey<Value<?>> valueKey(String key) {
8688
return InternalAttributeKeyImpl.create(key, AttributeType.VALUE);

api/all/src/main/java/io/opentelemetry/api/common/AttributeType.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,10 @@ public enum AttributeType {
1818
BOOLEAN_ARRAY,
1919
LONG_ARRAY,
2020
DOUBLE_ARRAY,
21+
/**
22+
* {@link Value}-based attributes.
23+
*
24+
* @since 1.59.0
25+
*/
2126
VALUE
2227
}

api/all/src/main/java/io/opentelemetry/api/common/AttributesBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ default AttributesBuilder put(String key, boolean... value) {
208208
* your keys, if possible.
209209
*
210210
* @return this Builder
211+
* @since 1.59.0
211212
*/
212213
default AttributesBuilder put(String key, Value<?> value) {
213214
return put(valueKey(key), value);

api/all/src/main/java/io/opentelemetry/api/common/Empty.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
/**
99
* A singleton class representing an empty value, used as the generic type parameter for {@link
1010
* Value} when representing empty values.
11+
*
12+
* @since 1.59.0
1113
*/
1214
public final class Empty {
1315

api/all/src/main/java/io/opentelemetry/api/common/Value.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ static Value<List<KeyValue>> of(Map<String, Value<?>> value) {
8585
return KeyValueList.createFromMap(value);
8686
}
8787

88-
/** Returns an empty {@link Value}. */
88+
/**
89+
* Returns an empty {@link Value}.
90+
*
91+
* @since 1.59.0
92+
*/
8993
static Value<Empty> empty() {
9094
return ValueEmpty.create();
9195
}

api/all/src/main/java/io/opentelemetry/api/common/ValueType.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,10 @@ public enum ValueType {
2020
ARRAY,
2121
KEY_VALUE_LIST,
2222
BYTES,
23+
/**
24+
* Empty value.
25+
*
26+
* @since 1.59.0
27+
*/
2328
EMPTY
2429
}

sdk/common/src/main/java/io/opentelemetry/sdk/common/export/Compressor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
/**
1313
* A service provider interface (SPI) for compression. Implementation MUST be thread safe as the
1414
* same instance is expected to be used many times and concurrently.
15+
*
16+
* @since 1.59.0
1517
*/
1618
@ThreadSafe
1719
public interface Compressor {

sdk/common/src/main/java/io/opentelemetry/sdk/common/export/GrpcResponse.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* A gRPC response.
1414
*
1515
* @see GrpcSender#send(MessageWriter, Consumer, Consumer)
16+
* @since 1.59.0
1617
*/
1718
@Immutable
1819
public interface GrpcResponse {

sdk/common/src/main/java/io/opentelemetry/sdk/common/export/GrpcSender.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* cases.
1818
*
1919
* @see GrpcSenderProvider
20+
* @since 1.59.0
2021
*/
2122
public interface GrpcSender {
2223

0 commit comments

Comments
 (0)