From 003a60d8578ba1f2e0044c2feabf185fb6f4c6c7 Mon Sep 17 00:00:00 2001 From: Alexander Dinauer Date: Fri, 30 Oct 2026 10:19:41 +0100 Subject: [PATCH 1/2] ref(logs): Promote structured logs APIs Remove the remaining experimental annotations from the structured logs options and low-level capture method. The public logger API is stable, while batching and durability improvements remain internal implementation work. Refs #6408 Refs #4690 Co-Authored-By: Claude --- sentry/src/main/java/io/sentry/SentryClient.java | 1 - sentry/src/main/java/io/sentry/SentryOptions.java | 2 -- 2 files changed, 3 deletions(-) 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; } From 9a8520d838f74cc0c6ad8c9d05ab5cab3fc8296b Mon Sep 17 00:00:00 2001 From: Alexander Dinauer Date: Fri, 30 Oct 2026 10:20:30 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) 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