Features
-
Add
enableMetricKitoption to enable the iOS MetricKit integration (#6540)When enabled, the iOS SDK sends
MXDiskWriteExceptionDiagnostic,MXCPUExceptionDiagnosticandMXHangDiagnosticreports to Sentry. Requires iOS 15 or later and is disabled by default. MetricKit hang diagnostics are reported by the operating system and are separate from the app hangs captured byenableAppHangTracking, so enabling both can result in the same hang being reported twice.Sentry.init({ dsn: '___DSN___', enableMetricKit: true, });
-
Extend TurboModule instrumentation to the Old Architecture
NativeModulesbridge (#6504)Apps on the Old Architecture now get the same aggregate, span attribution and slow call breadcrumbs as TurboModules. An
arch: 'new' | 'legacy'field distinguishes the two sources. Opt in withturboModuleContextIntegration({ enableLegacyNativeModules: true }).
Fixes
-
Attach
debug_metato JS error events on Hermes when the Debug ID stack match fails (#6545) -
sentry-expo-upload-sourcemapsnow reads plugin config when the plugin is registered as@sentry/react-native(#6543) -
Make the
RNSentrySPEC CHECKSUM inPodfile.lockmachine-independent (#6534)The prebuilt
Sentry.xcframeworkis now referenced through a$(PODS_ROOT)/sentry-xcframeworks/…symlink instead of the absolute per-user cache path, soPodfile.lockno longer churns between developers and CI. Expect a one-timeRNSentrychecksum change on the nextpod install; theSENTRY_XCFRAMEWORK_CACHE_DIR=/tmp/…workaround is no longer needed.