Features
- Add
installGroupsOverrideparameter andinstallGroupsproperty to Build Distribution SDK (#5062) - Update Android targetSdk to API 36 (Android 16) (#5016)
- Add AndroidManifest support for Spotlight configuration via
io.sentry.spotlight.enableandio.sentry.spotlight.url(#5064) - Collect database transaction spans (
BEGIN,COMMIT,ROLLBACK) (#5072)- To enable creation of these spans, set
options.enableDatabaseTransactionTracingtotrue enable-database-transaction-tracing=truewhen usingsentry.properties- For Spring Boot, use
sentry.enable-database-transaction-tracing=trueinapplication.propertiesor inapplication.yml:sentry: enable-database-transaction-tracing: true
- To enable creation of these spans, set
- Add support for collecting native crashes using Tombstones (#4933, #5037)
- Added Tombstone integration that detects native crashes using
ApplicationExitInfo.REASON_CRASH_NATIVEon Android 12+ - Crashes enriched with Tombstones contain more crash details and detailed thread info
- Tombstone and NDK integrations are now automatically merged into a single crash event, eliminating duplicate reports
- To enable it, add the integration in your Sentry initialization:
or in the
SentryAndroid.init(context, options -> { options.isTombstoneEnabled = true })
AndroidManifest.xmlusing:<meta-data android:name="io.sentry.tombstone.enable" android:value="true" />
- Added Tombstone integration that detects native crashes using
Fixes
- Extract
SpotlightIntegrationto separatesentry-spotlightmodule to prevent insecure HTTP URLs from appearing in release APKs (#5064)- Breaking: Users who enable Spotlight must now add the
io.sentry:sentry-spotlightdependency:dependencies { debugImplementation("io.sentry:sentry-spotlight:<version>") }
- Breaking: Users who enable Spotlight must now add the
- Fix scroll target detection for Jetpack Compose (#5017)
- No longer fork Sentry
Scopesforreactor-kafkaconsumer pollRunnable(#5080)- This was causing a memory leak because
reactor-kafka's poll event reschedules itself infinitely, and each invocation ofSentryScheduleHookcreated forked scopes with a parent reference, building an unbounded chain that couldn't be garbage collected.
- This was causing a memory leak because
- Fix cold/warm app start type detection for Android devices running API level 34+ (#4999)
Internal
- Establish new native exception mechanisms to differentiate events generated by
sentry-nativefromApplicationExitInfo. (#5052) - Set
writepermission forstatusesin the changelog preview GHA workflow. (#5053)