diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eb80a6a29..20fc8da35e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,10 @@ - Remove deprecated OpenTelemetry integration classes and the legacy `SentrySpanStorage` ([#6243](https://github.com/getsentry/sentry-java/pull/6243)) - Decide whether foregrounding the app starts a new session on a monotonic clock instead of the wall clock, so that a device time change no longer starts a session that should have been resumed, or resumes one that should have ended. This affects session counts ([#6096](https://github.com/getsentry/sentry-java/pull/6096)) +### Improvements + +- Promote structured logs APIs from experimental to stable ([#6424](https://github.com/getsentry/sentry-java/pull/6424)) + ## 8.62.0 ### Improvements diff --git a/sentry/src/main/java/io/sentry/SentryClient.java b/sentry/src/main/java/io/sentry/SentryClient.java index 9c019df1f5..48a8c22610 100644 --- a/sentry/src/main/java/io/sentry/SentryClient.java +++ b/sentry/src/main/java/io/sentry/SentryClient.java @@ -1305,7 +1305,6 @@ public void captureSession(final @NotNull Session session, final @Nullable Hint return traceContext; } - @ApiStatus.Experimental @Override public void captureLog(@Nullable SentryLogEvent logEvent, @Nullable IScope scope) { // Drop silently to prevent recursion; a log here can re-enter through a logging integration. diff --git a/sentry/src/main/java/io/sentry/SentryOptions.java b/sentry/src/main/java/io/sentry/SentryOptions.java index fca01bbed4..35e8c04641 100644 --- a/sentry/src/main/java/io/sentry/SentryOptions.java +++ b/sentry/src/main/java/io/sentry/SentryOptions.java @@ -3924,12 +3924,10 @@ public void setScopesStorageFactory(final @Nullable IScopesStorageFactory scopes this.scopesStorageFactory = scopesStorageFactory; } - @ApiStatus.Experimental public @NotNull SentryOptions.Logs getLogs() { return logs; } - @ApiStatus.Experimental public void setLogs(@NotNull SentryOptions.Logs logs) { this.logs = logs; }