npm @sentry/react-native 8.33.0

5 hours ago

Changes

  • Compile the SDK to ES2018 to stop inlining TypeScript helpers (__awaiter, __rest) in every file, reducing bundle size (#6957)

Fixes

  • Apply screenshot masking options to Android error and feedback screenshots (#6930)
  • Persist fatal JS error envelopes to disk on Android before the process exits (#6937)
    • The hard-crash envelope was only queued on the transport thread, so the event was lost when React Native terminated the process right after. It is now written to the offline cache on the calling thread and sent on the next launch, matching iOS.
  • Place Session Replay network requests at the correct time in the replay timeline (#6959)
    • The network span timestamps came from a different clock than the breadcrumb timestamp. After the device slept or corrected its time, the two drifted apart and the replay timeline was stretched backwards by minutes, which showed an empty gap at the start and misplaced taps.
  • Support Expo Router 58 in expoRouterIntegration. Metro no longer warns about the removed expo-router/build/global-state/router-store module, and the integration creates navigation spans again (#6923)
  • Start the native iOS SDK from RNSentrySDK when sentry.options.json is missing or can't be parsed and the DSN is set in configureOptions (#6956)
    • The fallback options always failed to parse, so configureOptions never ran. Before 8.30.0 the app crashed at launch; since then the native SDK silently never started.
  • Don't crash the iOS app at launch when sentry.options.json contains "dsn": null (#6958)

Internal

  • Track sentryWebViewProps adoption via a feature marker (#6938)

Dependencies

Don't miss a new react-native release

NewReleases is sending notifications on new releases.