Breaking Changes
- Capture direct
Sentry.logger()andSentry.metrics()calls regardless ofoptions.getLogs().isEnabled()andoptions.getMetrics().isEnabled()(#6184)- Automatic logging integrations still only capture logs when
options.getLogs().isEnabled()istrue.options.getMetrics().setEnabled(...)currently has no effect because there are no automatic Metrics integrations. Both enable options will be removed in the upcoming major release, and each logging integration will then have a separate opt-in flag. - Use
options.getLogs().setBeforeSend(...)andoptions.getMetrics().setBeforeSend(...)to filter manually emitted telemetry. Returnnullfrom either callback to drop it.
- Automatic logging integrations still only capture logs when
Fixes
- Keep the videos of already captured session replay segments when the replay stops, so segments that are still queued are no longer sent without their video (#6177)
Features
- Deprecate
sendDefaultPiiin favor ofdataCollectionahead of its removal in 9.0 (#6158) - Make the tombstone merge time threshold configurable via
SentryAndroidOptions.setTombstoneMergeTimeThresholdMillisand theio.sentry.tombstone.merge-time-threshold-millismanifest option (#6154) - Add
sentry-apollo-5integration for Apollo Kotlin 5, providing HTTP tracing and failed GraphQL request reporting (#6074) - Add OkHttp autoconfiguration for Spring Boot (#5797)
Fixes
- Prevent infinite loops when capturing exceptions with cyclic cause chains (#6073)
Improvements
- Recover Android 17
MemoryLimiterapp exits recorded asApplicationExitInfo.REASON_MEMORY_LIMITER(#6174)