Features
- Add
Session.State.Unhandledfor unhandled errors that do not terminate the process (#5919)
Improvements
- Move ANR profiling out of experimental (#6042)
Fixes
- Keep dropped tombstone and ANR events dropped, instead of reporting the same app exit again at every app start (#6002)
- Apply
Sentry.withScopeandSentry.withIsolationScopedata to events captured inside the callback whenglobalHubModeis enabled (#6004)globalHubModeis enabled by default on Android, where tags, extras, contexts and level set inside the callback were silently dropped- Scopes that are explicitly made current, e.g. via
Sentry.setCurrentScopesor theSentryContextcoroutine integration, are now also honoured whenglobalHubModeis enabled Sentry.pushScope,Sentry.pushIsolationScopeandSentry.popScoperemain no-ops whenglobalHubModeis enabled
- Drop the
profiler_idfrom transactions and spans when no Perfetto profile covers them, e.g. when Android'sProfilingManagerrate limits the profiling request (#6015) - Prevent events from being dropped when feature flags are added while an event is being captured (#5989)
Internal
- Add
InternalSentrySdk.captureEnvelopeNonTerminatingfor hybrid SDKs (e.g. Flutter) so unhandled exceptions that don't terminate the process no longer end the session ascrashed(#5921) - Add
InternalSentrySdk.updateSessionForDroppedEventNonTerminatingso hybrid SDKs can still update the session when an error is dropped by sampling (#5990)