Prepare 1.41.0 (#6635)

This commit is contained in:
jack-berg 2024-08-09 09:55:32 -05:00 committed by GitHub
parent 910c7cc218
commit f161a1e039
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 49 additions and 1 deletions

View File

@ -2,6 +2,49 @@
## Unreleased
### API
* Move experimental suppress instrumentation context key to api internal package
([#6546](https://github.com/open-telemetry/opentelemetry-java/pull/6546))
#### Incubator
* Fix bug in `ExtendedContextPropagators` preventing context extraction when case is incorrect.
([#6569](https://github.com/open-telemetry/opentelemetry-java/pull/6569))
### SDK
* Extend `CompletableResultCode` with `failExceptionally(Throwable)`.
([#6348](https://github.com/open-telemetry/opentelemetry-java/pull/6348))
#### Metrics
* Avoid allocations when experimental advice doesn't remove any attributes.
([#6629](https://github.com/open-telemetry/opentelemetry-java/pull/6629))
#### Exporter
* Enable retry by default for OTLP exporters.
([#6588](https://github.com/open-telemetry/opentelemetry-java/pull/6588))
* Retry ConnectException, add retry logging.
([#6614](https://github.com/open-telemetry/opentelemetry-java/pull/6614))
* Extend `PrometheusHttpServer` with ability to configure default aggregation as function of
instrument kind, including experimental env var support.
([#6541](https://github.com/open-telemetry/opentelemetry-java/pull/6541))
* Add exporter data model impl for profiling signal type.
([#6498](https://github.com/open-telemetry/opentelemetry-java/pull/6498))
* Add Marshalers for profiling signal type.
([#6565](https://github.com/open-telemetry/opentelemetry-java/pull/6565))
* Use generateCertificates() of CertificateFactory to process certificates.
([#6579](https://github.com/open-telemetry/opentelemetry-java/pull/6579))
#### Extensions
* Add file configuration ComponentProvider support for exporters.
([#6493](https://github.com/open-telemetry/opentelemetry-java/pull/6493))
* Remove nullable from file config Factory contract.
([#6612](https://github.com/open-telemetry/opentelemetry-java/pull/6612))
## Version 1.40.0 (2024-07-05)
### API

View File

@ -37,6 +37,8 @@ public final class CompletableResultCode {
/**
* Returns a {@link CompletableResultCode} that has been {@link #failExceptionally(Throwable)
* failed exceptionally}.
*
* @since 1.41.0
*/
public static CompletableResultCode ofExceptionalFailure(Throwable throwable) {
return new CompletableResultCode().failExceptionally(throwable);
@ -120,6 +122,8 @@ public final class CompletableResultCode {
/**
* Completes this {@link CompletableResultCode} unsuccessfully if it is not already completed,
* setting the {@link #getFailureThrowable() failure throwable} to {@code throwable}.
*
* @since 1.41.0
*/
public CompletableResultCode failExceptionally(Throwable throwable) {
return failInternal(throwable);
@ -156,7 +160,8 @@ public final class CompletableResultCode {
* via the {@link #whenComplete(Runnable)} method.
*
* @return the throwable if failed exceptionally, or null if: {@link #fail() failed without
* exception}, {@link #succeed() succeeded}, or not complete.
* exception}, {@link #succeed() succeeded}, or not complete.g
* @since 1.41.0
*/
@Nullable
public Throwable getFailureThrowable() {