You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bd51fe5
Browse filesBrowse the repository at this point in the historyBrowse files
* build(android): Compile the Android modules for Java 11
AGP 9 defaults compileOptions to Java 11. The published Android libraries now emit Java 11
bytecode for both Java and Kotlin instead of Java 8. The JVM modules, sentry included, keep
publishing Java 8 bytecode so that Java 8 backends can still use them.
Fixes JAVA-660
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* changelog
* build: Compile the JVM modules for Java 11
Extend the Java 11 target to the JVM modules, so every published module now emits Java 11
bytecode and the SDK no longer runs on Java 8. Modules that already targeted Java 17 are
unchanged. The samples that pinned Java 8 move to Java 11 with the SDK.
Refs JAVA-660
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* changelog
* build: Drop the Java 8 API signature check
With Java 11 as the minimum, the Java 8 signature only blocked APIs the SDK may now use.
javac's release flag and Kotlin's -Xjdk-release already limit main code to the Java 11 API, so
the JVM-only modules no longer apply animal sniffer. The modules that Android apps also use keep
checking against the Android API 21 signature.
Refs JAVA-660
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* changelog
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
5
5
### Breaking Changes
6
6
7
+
- The SDK is now compiled for Java 11 instead of Java 8. JVM applications need Java 11 or newer ([#6459](https://github.com/getsentry/sentry-java/pull/6459))
7
8
- Default trace context status to `ok` when an active span has no explicit status ([#6418](https://github.com/getsentry/sentry-java/pull/6418))
8
9
- Remove the deprecated user feedback APIs ([#6337](https://github.com/getsentry/sentry-java/pull/6337))
9
10
- `UserFeedback` and `Sentry.captureUserFeedback(...)`: use `Sentry.feedback().capture(...)` with `io.sentry.protocol.Feedback` instead
0 commit comments