github getsentry/sentry-react-native 8.21.0

5 hours ago

Features

  • Add check and download timing spans to Expo Updates listener integration (#6430)

  • Attach a per-(module, method) TurboModule breakdown to active spans on spanEnd, plus native.turbo_module breadcrumbs for slow async calls (#6478)

    When a root span ends (idle nav spans from reactNavigationIntegration / expoRouterIntegration, or a user's own Sentry.startSpan(...)), the integration writes turbo_module.<name>.<method>.{call_count,duration_ms,error_count} attributes plus summary keys (turbo_module.total_call_count, turbo_module.total_duration_ms, turbo_module.top_module). Async calls above slowCallThresholdMs (default 500ms) additionally record a native.turbo_module breadcrumb. Both surfaces enabled by default; new knobs enableSpanAttribution, slowCallThresholdMs, maxTopModulesPerSpan on turboModuleContextIntegration.

  • Session Replay network details now capture fetch (Blob/ArrayBuffer) response bodies (#6473, #6533)

Fixes

  • Fix duplicate navigation transaction on Expo Router withAnchor navigations (#6439)

Changes

  • Expose instrumentStateGraph for manual LangGraph instrumentation (#6520)
    • instrumentLangGraph was renamed to instrumentStateGraph in the JavaScript SDK and is now deprecated. It stays exported for backwards compatibility and will be removed in the next major version.

Internal

  • Migrate from @sentry/babel-plugin-component-annotate to @sentry/bundler-plugins/babel-plugin (#6501)

Dependencies

Don't miss a new sentry-react-native release

NewReleases is sending notifications on new releases.