Skip to content

chore(deps): update Cocoa SDK to v9.32.0 - #1060

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
deps/modules/sentry-cocoa.properties
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
deps/modules/sentry-cocoa.properties

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Bumps modules/sentry-cocoa.properties from 9.31.0 to 9.32.0.

Auto-generated by a dependency updater.

Changelog

9.32.0

Features

  • Add options.experimental.metrickit.enabledDiagnosticReports to choose which MetricKit diagnostic reports the SDK captures, including crash diagnostics. The option is only available from Swift (#9267)
  • Add attachAllThreads and scope block overloads for capture(event:), capture(error:), capture(exception:), and capture(message:), also available through SentryObjC (#9424)
  • Align the metrics API with the other Sentry SDKs: SentrySDK.metrics.count(_:value:options:), gauge(_:value:options:) and distribution(_:value:options:) take the metric name, the value and SentryMetricOptions with unit, attributes, scope and timestamp. SentryObjC exposes the same API through count:value:options:, gauge:value:options:, distribution:value:options: and SentryObjCMetricOptions. The key-based methods such as count(key:value:attributes:) and countWithKey:value:attributes: keep working but are deprecated and will be removed in v10; use the options-based methods instead (#9453)
  • Capture MetricKit app launch diagnostics on iOS 16 and later and on visionOS when options.experimental.metrickit.enabledDiagnosticReports contains .appLaunch (#9441)
  • Expose options.experimental.metrickit.enabledDiagnosticReports through the SentryObjC SDK as options.experimental.metrickit and through the metrickit key of the options dictionary (#9296)
  • Add breadcrumbs when the hinge of foldable devices such as iPhone Duo opens, closes, or reaches the fully open or closed position, and report the current hinge status as hinge_status in the device context, which requires iOS 27.1 or later and is not available on Mac Catalyst (#9464)
  • Add options.experimental.metrickit.enabledMetricReports to send MetricKit metric payloads as Sentry metrics, such as CPU time, network transfer, memory and app exit counts. Metrics are named metrickit.<group>.<name> and carry the app and OS versions they were recorded with. The option defaults to an empty set and is only available from Swift (#9452)

Fixes

  • Wait for transactions that are still being captured on a background thread when calling flush or close, so short-lived processes no longer lose a transaction finished right before the call (#9415)

  • Keep pending Session Replay video when SentrySDK.replay.stop() follows flush() (#9429)

  • Stop reporting a false watchdog termination on the launch after SentrySDK.close() when app start tracking isn't installed, such as with enableAutoPerformanceTracing disabled (#9451)

  • Prevent NSException crash handling from deadlocking when a suspended thread holds a lock needed to read or format exception metadata (#9463)

  • Add experimental MetricKit hang flame graph attachments via options.experimental.metrickit.hangReportingMode = .flamegraphAttachment, also available through SentryObjC. The default .legacy mode reports the flattened call stack tree, which is also retained when flame graph attachment creation fails (#9347, #9421)

Full CHANGELOG.md diff
 -1,10 +1,29 
 # Changelog
 
+## 9.32.0
+
+### Features
+
+- Add `options.experimental.metrickit.enabledDiagnosticReports` to choose which MetricKit diagnostic reports the SDK captures, including crash diagnostics. The option is only available from Swift ([#9267](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9267))
+- Add `attachAllThreads` and scope block overloads for `capture(event:)`, `capture(error:)`, `capture(exception:)`, and `capture(message:)`, also available through `SentryObjC` ([#9424](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9424))
+- Align the metrics API with the other Sentry SDKs: `SentrySDK.metrics.count(_:value:options:)`, `gauge(_:value:options:)` and `distribution(_:value:options:)` take the metric name, the value and `SentryMetricOptions` with `unit`, `attributes`, `scope` and `timestamp`. `SentryObjC` exposes the same API through `count:value:options:`, `gauge:value:options:`, `distribution:value:options:` and `SentryObjCMetricOptions`. The key-based methods such as `count(key:value:attributes:)` and `countWithKey:value:attributes:` keep working but are deprecated and will be removed in v10; use the options-based methods instead ([#9453](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9453))
+- Capture MetricKit app launch diagnostics on iOS 16 and later and on visionOS when `options.experimental.metrickit.enabledDiagnosticReports` contains `.appLaunch` ([#9441](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9441))
+- Expose `options.experimental.metrickit.enabledDiagnosticReports` through the SentryObjC SDK as `options.experimental.metrickit` and through the `metrickit` key of the options dictionary ([#9296](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9296))
+- Add breadcrumbs when the hinge of foldable devices such as iPhone Duo opens, closes, or reaches the fully open or closed position, and report the current hinge status as `hinge_status` in the device context, which requires iOS 27.1 or later and is not available on Mac Catalyst ([#9464](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9464))
+- Add `options.experimental.metrickit.enabledMetricReports` to send MetricKit metric payloads as Sentry metrics, such as CPU time, network transfer, memory and app exit counts. Metrics are named `metrickit.<group>.<name>` and carry the app and OS versions they were recorded with. The option defaults to an empty set and is only available from Swift ([#9452](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9452))
+
+### Fixes
+
+- Wait for transactions that are still being captured on a background thread when calling `flush` or `close`, so short-lived processes no longer lose a transaction finished right before the call ([#9415](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9415))
+- Keep pending Session Replay video when `SentrySDK.replay.stop()` follows `flush()` ([#9429](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9429))
+- Stop reporting a false watchdog termination on the launch after `SentrySDK.close()` when app start tracking isn't installed, such as with `enableAutoPerformanceTracing` disabled ([#9451](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9451))
+- Prevent NSException crash handling from deadlocking when a suspended thread holds a lock needed to read or format exception metadata ([#9463](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9463))
+
 ## 9.31.0
 
 ### Features
 
-- Add experimental MetricKit hang flame graph attachments via `options.experimental.metrickit.hangReportingMode = .flamegraphAttachment`, also available through `SentryObjC`. The default `.legacy` mode reports the flattened call stack tree, which is also retained when flame graph attachment creation fails ([#9347](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9347))
+- Add experimental MetricKit hang flame graph attachments via `options.experimental.metrickit.hangReportingMode = .flamegraphAttachment`, also available through `SentryObjC`. The default `.legacy` mode reports the flattened call stack tree, which is also retained when flame graph attachment creation fails ([#9347](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9347), [#9421](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/9421))
 
 ### Fixes
 

@bruno-garcia
bruno-garcia force-pushed the deps/modules/sentry-cocoa.properties branch from fd1bea1 to 2c32788 Compare October 30, 2026 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant