Features
-
Add experimental
enableStandaloneAppStartTracingto send app start as a standaloneapp.starttransaction (#6359) -
Set
app.vitals.start.screenon the standaloneapp.starttransaction from the current route (#6369) -
Expose top-level
Sentry.setAttributeandSentry.setAttributesAPIs (#6354). -
Add
enableTurboModuleTrackingopt-in experimental option to enable Turbo Module performance tracking in the New Architecture (#6307) -
Use the runtime's native
btoafor envelope base64 encoding when available, to improvecaptureEnvelopeperformance. Falls back to the bundled JS encoder ifbtoais missing (#6351). -
Opt-in build-time auto-wrap for Expo Router's per-route
ErrorBoundary(#6347)Enable
autoWrapExpoRouterErrorBoundary: trueingetSentryExpoConfig(orwithSentryConfig) and the Sentry Babel plugin rewritesexport { ErrorBoundary } from 'expo-router'into awrapExpoRouterErrorBoundarycall at build time — no route-file edits needed:// metro.config.js module.exports = getSentryExpoConfig(__dirname, { autoWrapExpoRouterErrorBoundary: true, });
Changes
- Default
mobileReplayIntegration({ networkCaptureBodies })totrue, matching the iOS and Android native SDK defaults (#6372)
Fixes
- Forward Session Replay network detail options to the native SDKs so network request and response bodies are displayed (#6373)
- The Sentry Babel transformer no longer injects
@sentry/babel-plugin-component-annotateunlessannotateReactComponentsis explicitly enabled (#6347)