Skip to content

Commit 45496ed

Browse files
authored
Prepare for 1.61.0 release (#8273)
1 parent f3cefbd commit 45496ed

File tree

16 files changed

+97
-4
lines changed

16 files changed

+97
-4
lines changed

CHANGELOG.md

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,69 @@
22

33
## Unreleased
44

5+
### API
6+
7+
* Stabilize `isEnabled()` on `Tracer`, `Logger`, and metric instruments
8+
([#8200](https://github.com/open-telemetry/opentelemetry-java/pull/8200))
9+
10+
#### Incubating
11+
12+
* **BREAKING** Update `EnvironmentGetter` and `EnvironmentSetter` key normalization to reflect spec
13+
changes
14+
([#8233](https://github.com/open-telemetry/opentelemetry-java/pull/8233))
15+
516
### SDK
617

18+
#### Traces
19+
20+
* Retain propagated context when generating random trace IDs
21+
([#8263](https://github.com/open-telemetry/opentelemetry-java/pull/8263))
22+
* Add rate-limited warning log when `BatchSpanProcessor` drops spans
23+
([#8167](https://github.com/open-telemetry/opentelemetry-java/pull/8167))
24+
25+
#### Metrics
26+
27+
* Track series start time per aggregator rather than at `SdkMeterProvider` creation time
28+
([#8180](https://github.com/open-telemetry/opentelemetry-java/pull/8180))
29+
* Capture context class loader during async callback registration
30+
([#8091](https://github.com/open-telemetry/opentelemetry-java/pull/8091))
31+
* Make include/exclude work correctly with empty (but non-null) lists
32+
([#8185](https://github.com/open-telemetry/opentelemetry-java/pull/8185))
33+
34+
#### Logs
35+
36+
* Fix condition for recording successful log processing metrics
37+
([#8226](https://github.com/open-telemetry/opentelemetry-java/pull/8226))
38+
39+
#### Exporters
40+
41+
* OTLP: add configurable bounds to response body reading
42+
([#8224](https://github.com/open-telemetry/opentelemetry-java/pull/8224), [#8277](https://github.com/open-telemetry/opentelemetry-java/pull/8277))
43+
* OTLP: only throw invalid response exception when gRPC response size < 5 bytes
44+
([#8194](https://github.com/open-telemetry/opentelemetry-java/pull/8194))
45+
* OTLP: remove duplicate FINEST-level error logging in gRPC exporter
46+
([#8216](https://github.com/open-telemetry/opentelemetry-java/pull/8216))
47+
* OTLP Profiles: clean up profile signal exporters for consistency
48+
([#8172](https://github.com/open-telemetry/opentelemetry-java/pull/8172))
49+
750
#### Extensions
851

9-
* Autoconfigure: fix warning always emitted
10-
([#8157](https://github.com/open-telemetry/opentelemetry-java/pull/8157))
52+
* **BREAKING** Autoconfigure: remove deprecated `ComponentLoader` class (use
53+
`io.opentelemetry.common.ComponentLoader` instead)
54+
([#8243](https://github.com/open-telemetry/opentelemetry-java/pull/8243))
55+
* Declarative config: fix `DeclarativeConfigProperties` javadoc to not throw exceptions
56+
([#8079](https://github.com/open-telemetry/opentelemetry-java/pull/8079))
57+
* Declarative config: resource attribute filtering should include attributes by default
58+
([#8177](https://github.com/open-telemetry/opentelemetry-java/pull/8177))
59+
* Declarative config: enforce IncludedExcludeModel .included and .excluded are not empty
60+
([#8266](https://github.com/open-telemetry/opentelemetry-java/pull/8266))
61+
* Autoconfigure: restructure SDK incubator to not depend on autoconfigure internals
62+
([#8242](https://github.com/open-telemetry/opentelemetry-java/pull/8242))
63+
64+
### Project tooling
65+
66+
* Disable Gradle build cache on releases to mitigate supply chain risk
67+
([#8254](https://github.com/open-telemetry/opentelemetry-java/pull/8254))
1168

1269
## Version 1.60.1 (2026-03-08)
1370

api/all/src/main/java/io/opentelemetry/api/logs/Logger.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,18 @@ public interface Logger {
3030
* <p>This allows callers to avoid unnecessary compute when nothing is consuming the data. Because
3131
* the response is subject to change over the application, callers should call this before each
3232
* call to {@link #logRecordBuilder()}.
33+
*
34+
* @since 1.61.0
3335
*/
3436
default boolean isEnabled(Severity severity, Context context) {
3537
return true;
3638
}
3739

38-
/** Overload of {@link #isEnabled(Severity, Context)} assuming {@link Context#current()}. */
40+
/**
41+
* Overload of {@link #isEnabled(Severity, Context)} assuming {@link Context#current()}.
42+
*
43+
* @since 1.61.0
44+
*/
3945
default boolean isEnabled(Severity severity) {
4046
return isEnabled(severity, Context.current());
4147
}

api/all/src/main/java/io/opentelemetry/api/metrics/DoubleCounter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ public interface DoubleCounter {
2424
* the response is subject to change over the application, callers should call this before each
2525
* call to {@link #add(double)}, {@link #add(double, Attributes)}, or {@link #add(double,
2626
* Attributes, Context)}.
27+
*
28+
* @since 1.61.0
2729
*/
2830
default boolean isEnabled() {
2931
return true;

api/all/src/main/java/io/opentelemetry/api/metrics/DoubleGauge.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ public interface DoubleGauge {
2424
* the response is subject to change over the application, callers should call this before each
2525
* call to {@link #set(double)}, {@link #set(double, Attributes)}, or {@link #set(double,
2626
* Attributes, Context)}.
27+
*
28+
* @since 1.61.0
2729
*/
2830
default boolean isEnabled() {
2931
return true;

api/all/src/main/java/io/opentelemetry/api/metrics/DoubleHistogram.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ public interface DoubleHistogram {
2424
* the response is subject to change over the application, callers should call this before each
2525
* call to {@link #record(double)}, {@link #record(double, Attributes)}, or {@link #record(double,
2626
* Attributes, Context)}.
27+
*
28+
* @since 1.61.0
2729
*/
2830
default boolean isEnabled() {
2931
return true;

api/all/src/main/java/io/opentelemetry/api/metrics/DoubleUpDownCounter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ public interface DoubleUpDownCounter {
2424
* the response is subject to change over the application, callers should call this before each
2525
* call to {@link #add(double)}, {@link #add(double, Attributes)}, or {@link #add(double,
2626
* Attributes, Context)}.
27+
*
28+
* @since 1.61.0
2729
*/
2830
default boolean isEnabled() {
2931
return true;

api/all/src/main/java/io/opentelemetry/api/metrics/LongCounter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ public interface LongCounter {
2424
* the response is subject to change over the application, callers should call this before each
2525
* call to {@link #add(long)}, {@link #add(long, Attributes)}, or {@link #add(long, Attributes,
2626
* Context)}.
27+
*
28+
* @since 1.61.0
2729
*/
2830
default boolean isEnabled() {
2931
return true;

api/all/src/main/java/io/opentelemetry/api/metrics/LongGauge.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ public interface LongGauge {
2424
* the response is subject to change over the application, callers should call this before each
2525
* call to {@link #set(long)}, {@link #set(long, Attributes)}, or {@link #set(long, Attributes,
2626
* Context)}.
27+
*
28+
* @since 1.61.0
2729
*/
2830
default boolean isEnabled() {
2931
return true;

api/all/src/main/java/io/opentelemetry/api/metrics/LongHistogram.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ public interface LongHistogram {
2424
* the response is subject to change over the application, callers should call this before each
2525
* call to {@link #record(long)}, {@link #record(long, Attributes)}, or {@link #record(long,
2626
* Attributes, Context)}.
27+
*
28+
* @since 1.61.0
2729
*/
2830
default boolean isEnabled() {
2931
return true;

api/all/src/main/java/io/opentelemetry/api/metrics/LongUpDownCounter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ public interface LongUpDownCounter {
2424
* the response is subject to change over the application, callers should call this before each
2525
* call to {@link #add(long)}, {@link #add(long, Attributes)}, or {@link #add(long, Attributes,
2626
* Context)}.
27+
*
28+
* @since 1.61.0
2729
*/
2830
default boolean isEnabled() {
2931
return true;

0 commit comments

Comments
 (0)