github getsentry/sentry-cocoa 9.36.1

2 hours ago

Fixes

  • Fix new breadcrumbs being dropped after copying a scope whose breadcrumb buffer is full (#9756)
  • Reject invalid UTF-8 sequences and trim truncated multi-byte UTF-8 characters when writing introspected memory strings in SentryCrash, preventing malformed crash report JSON (#9760)
  • Fix flush returning success before envelopes captured just before it were stored, when a cache drain queued ahead of it, or left over from a flush that timed out, found no envelopes (#9706)
  • Disable app hang tracking and watchdog termination tracking by default in Contact Provider extensions, and detect ExtensionKit extensions, which declare their extension point under EXAppExtensionAttributes instead of NSExtension. The SDK reported false fully blocking app hangs after the system suspended and resumed the extension (#9768)
  • Fix the build errors no type named 'MetricReport' in module 'MetricKit' and no type named 'DiagnosticReport' in module 'MetricKit' when building with a swift.org Swift 6.4 toolchain against an Xcode 26 SDK (#9820)
  • Session Replay no longer records an extra segment covering the time away when paused twice or stopped while paused (#9739)
  • Keep the current screen name set by hybrid SDKs when capturing an event with a scope block (#9843)
  • Keep the newest breadcrumbs when applying a scope that holds more breadcrumbs than maxBreadcrumbs to an event (#9845)
  • The shared no-op span returned for children of finished transactions now ignores writes instead of storing values from concurrent callers (#9889)
  • Fix a crash (NSGenericException, collection mutated while being enumerated) when capturing an event while the SDK starts or closes with attachScreenshot or attachViewHierarchy enabled (#9893)

Internal

  • Add a screenshot provider to the SentryObjC internal replay API, so hybrid SDKs such as Unity can supply Session Replay frames (#9739)

Don't miss a new sentry-cocoa release

NewReleases is sending notifications on new releases.