Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare 1.41.0 #6635

Merged
merged 6 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,47 @@

## 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))
* 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))

jack-berg marked this conversation as resolved.
Show resolved Hide resolved
#### 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public static CompletableResultCode ofFailure() {
/**
* 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);
Expand Down Expand Up @@ -120,6 +122,8 @@ public CompletableResultCode fail() {
/**
* 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);
Expand Down Expand Up @@ -156,7 +160,8 @@ public boolean isSuccess() {
* 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() {
Expand Down
Loading