github getsentry/sentry-react-native 5.0.0

latest releases: 5.33.0, 5.24.2, 6.0.0-beta.1...
19 months ago

The React Native SDK version 5 supports both Legacy (from RN 0.65 and above) and New Architecture (from RN 0.69 and above) as well as the new React Native Gradle Plugin (introduced in RN 0.71). For detailed migration guide visit our docs.

Features

  • Add support for the RN New Architecture, backwards compatible RNSentry Turbo Module (#2522)
  • Add View Hierarchy to the crashed/errored events (#2708)
  • Send react native js engine, turbo module, fabric flags and component stack in Event contexts (#2552)
  • Sync tags, extra, fingerprint, level, environment and breadcrumbs from sentry-cocoa during event processing. (#2713)
    • breadcrumb.level value log is transformed to debug when syncing with native layers.
    • Remove breadcrumb.level value critical transformation to fatal.
    • Default breadcrumb.level is info

Breaking changes

  • Option enableAutoPerformanceTracking renamed to enableAutoPerformanceTracing
  • Option enableOutOfMemoryTracking renamed to enableWatchdogTerminationTracking
  • Remove link hooks (RN 0.68 and older) (#2332)
  • iOS min target 11, Android API min 21, min React Native version 0.65 (#2522, #2687)
  • New ReactNativeTracingOptions (#2481)
    • idleTimeout renamed to idleTimeoutMs
    • maxTransactionDuration renamed to finalTimeoutMs
  • touchEventBoundaryProps.labelName property instead of default accessibilityLabel fallback (#2712)
  • Message event current stack trace moved from exception to threads (#2694)

Fixes

  • Unreachable fallback to fetch transport if native is not available (#2695)

Dependencies

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

NewReleases is sending notifications on new releases.