Skip to content

8.22.0

Latest

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 06 Aug 06:49

Features

  • Add enableMetricKit option to enable the iOS MetricKit integration (#6540)

    When enabled, the iOS SDK sends MXDiskWriteExceptionDiagnostic, MXCPUExceptionDiagnostic and MXHangDiagnostic reports 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 by enableAppHangTracking, 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 NativeModules bridge (#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 with turboModuleContextIntegration({ enableLegacyNativeModules: true }).

Fixes

  • Attach debug_meta to JS error events on Hermes when the Debug ID stack match fails (#6545)

  • sentry-expo-upload-sourcemaps now reads plugin config when the plugin is registered as @sentry/react-native (#6543)

  • Make the RNSentry SPEC CHECKSUM in Podfile.lock machine-independent (#6534)

    The prebuilt Sentry.xcframework is now referenced through a $(PODS_ROOT)/sentry-xcframeworks/… symlink instead of the absolute per-user cache path, so Podfile.lock no longer churns between developers and CI. Expect a one-time RNSentry checksum change on the next pod install; the SENTRY_XCFRAMEWORK_CACHE_DIR=/tmp/… workaround is no longer needed.

Dependencies