Skip to content

Commit f161a1e

Browse files
authored
Prepare 1.41.0 (#6635)
1 parent 910c7cc commit f161a1e

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

CHANGELOG.md

+43
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,49 @@
22

33
## Unreleased
44

5+
### API
6+
7+
* Move experimental suppress instrumentation context key to api internal package
8+
([#6546](https://github.com/open-telemetry/opentelemetry-java/pull/6546))
9+
10+
#### Incubator
11+
12+
* Fix bug in `ExtendedContextPropagators` preventing context extraction when case is incorrect.
13+
([#6569](https://github.com/open-telemetry/opentelemetry-java/pull/6569))
14+
15+
### SDK
16+
17+
* Extend `CompletableResultCode` with `failExceptionally(Throwable)`.
18+
([#6348](https://github.com/open-telemetry/opentelemetry-java/pull/6348))
19+
20+
#### Metrics
21+
22+
* Avoid allocations when experimental advice doesn't remove any attributes.
23+
([#6629](https://github.com/open-telemetry/opentelemetry-java/pull/6629))
24+
25+
#### Exporter
26+
27+
* Enable retry by default for OTLP exporters.
28+
([#6588](https://github.com/open-telemetry/opentelemetry-java/pull/6588))
29+
* Retry ConnectException, add retry logging.
30+
([#6614](https://github.com/open-telemetry/opentelemetry-java/pull/6614))
31+
* Extend `PrometheusHttpServer` with ability to configure default aggregation as function of
32+
instrument kind, including experimental env var support.
33+
([#6541](https://github.com/open-telemetry/opentelemetry-java/pull/6541))
34+
* Add exporter data model impl for profiling signal type.
35+
([#6498](https://github.com/open-telemetry/opentelemetry-java/pull/6498))
36+
* Add Marshalers for profiling signal type.
37+
([#6565](https://github.com/open-telemetry/opentelemetry-java/pull/6565))
38+
* Use generateCertificates() of CertificateFactory to process certificates.
39+
([#6579](https://github.com/open-telemetry/opentelemetry-java/pull/6579))
40+
41+
#### Extensions
42+
43+
* Add file configuration ComponentProvider support for exporters.
44+
([#6493](https://github.com/open-telemetry/opentelemetry-java/pull/6493))
45+
* Remove nullable from file config Factory contract.
46+
([#6612](https://github.com/open-telemetry/opentelemetry-java/pull/6612))
47+
548
## Version 1.40.0 (2024-07-05)
649

750
### API

sdk/common/src/main/java/io/opentelemetry/sdk/common/CompletableResultCode.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public static CompletableResultCode ofFailure() {
3737
/**
3838
* Returns a {@link CompletableResultCode} that has been {@link #failExceptionally(Throwable)
3939
* failed exceptionally}.
40+
*
41+
* @since 1.41.0
4042
*/
4143
public static CompletableResultCode ofExceptionalFailure(Throwable throwable) {
4244
return new CompletableResultCode().failExceptionally(throwable);
@@ -120,6 +122,8 @@ public CompletableResultCode fail() {
120122
/**
121123
* Completes this {@link CompletableResultCode} unsuccessfully if it is not already completed,
122124
* setting the {@link #getFailureThrowable() failure throwable} to {@code throwable}.
125+
*
126+
* @since 1.41.0
123127
*/
124128
public CompletableResultCode failExceptionally(Throwable throwable) {
125129
return failInternal(throwable);
@@ -156,7 +160,8 @@ public boolean isSuccess() {
156160
* via the {@link #whenComplete(Runnable)} method.
157161
*
158162
* @return the throwable if failed exceptionally, or null if: {@link #fail() failed without
159-
* exception}, {@link #succeed() succeeded}, or not complete.
163+
* exception}, {@link #succeed() succeeded}, or not complete.g
164+
* @since 1.41.0
160165
*/
161166
@Nullable
162167
public Throwable getFailureThrowable() {

0 commit comments

Comments
 (0)