npm @sentry/react-native 8.14.0

7 hours ago

Features

  • Correlate deep links with the navigation transaction they trigger. The next idle navigation span started within routeChangeTimeoutMs of a deep link arrival is tagged with navigation.trigger: 'deeplink', deeplink.url (sanitized, respects sendDefaultPii), and deeplink.dispatch_delay_ms (ms gap between URL received and navigation dispatched). Covers both cold start (Linking.getInitialURL()) and warm open ('url' event) paths, including the late-arrival case where Expo Router auto-handles the link before our getInitialURL() chain resolves (#6264)
  • Add memory, CPU, and frame measurements to Android profiling (#6250)
  • Add enableAutoConsoleLogs option to opt out of automatic console.* capture while keeping enableLogs: true for manual Sentry.logger.* calls (#6235)
  • Instrument Expo Router push, replace, navigate, back, and dismiss (in addition to prefetch) with breadcrumbs and spans, and tag the resulting idle navigation span with the initiating navigation.method (#6221)
    • Note: Expo Router span/breadcrumb attributes that may contain user identifiers (route.href, route.params, and concrete pathnames derived from string hrefs such as /users/42) are now gated behind sendDefaultPii. When sendDefaultPii is off (the default), prefetch spans for string hrefs use route.name: 'unknown' and omit route.href. Templated object hrefs (e.g. { pathname: '/users/[id]' }) are unaffected.
  • Warn when Gradle resolves sentry-android to a version incompatible with the SDK (#6238)
  • Attach the active TurboModule method to native crash reports as contexts.turbo_module + turbo_module.name / turbo_module.method tags (#6227)

Fixes

  • Exclude additional server-only modules (express, postgresjs, requestdata, consola, spanStreaming) from native bundles (#6263)
  • Enable fetch instrumentation when Expo SDK 56's native expo/fetch is active (#6226)
  • Resolve sentry-cli in isolated dependency layouts (#6242)

Internal

  • Convert sentry.gradle to Kotlin DSL (sentry.gradle.kts) (#6119)
    • The old sentry.gradle is kept as a shim forwarding to the new .kts file for backward compatibility

Dependencies

Don't miss a new react-native release

NewReleases is sending notifications on new releases.