Warning
Native crashes now set mechanism.synthetic, which takes the mach exception name (EXC_BAD_ACCESS) or signal name (SIGSEGV) out of the grouping hash. Expect a one-time regrouping as your app adopts this version: existing crash issues stop receiving events and new ones open. Crashes that differ only by signal at the same stacktrace now share one issue. The mach and signal detail stays on mechanism.meta.
Fixes
- Store the binary image cache in zero-fill memory to reduce the SDK binary size. (#9003)
- Fix crash in
[NSURLSessionTask cancel]when cancelling an in-flight task with swizzling enabled (#9009) - Clear the scope's
replayIdwhen Session Replay is stopped manually, so events captured afterstop()are no longer linked to a replay that is no longer recording (#9017) - Mark the fabricated
machandsignalcrash mechanisms assyntheticso an Apple crash groups with the identical crash reported by the other Sentry SDKs (#9004) - Set
mechanism.handledtofalseon crash reports without mach context, which previously left it unset (#9004) - Sample and flush Session Replay when the feedback form opens or feedback is captured manually, preserving the form's opening-time replay association even if the session changes before submission (#9046)
Deprecations
- Deprecate legacy App Hang tracking because it can produce less relevant stack traces and false positives. Enable the MetricKit integration for system-provided hang diagnostics by setting
options.enableMetricKit = true. TheappHangTimeoutIntervaloption remains supported for watchdog termination classification. (#8944)