Skip to content

Releases: getsentry/sentry-react-native

4.15.2

09 May 09:37

Choose a tag to compare

Fixes

  • Only store envelopes of fatal crashes on iOS (#3051)

5.4.1

03 May 14:16

Choose a tag to compare

Fixes

  • Store envelopes immediately during a fatal crash on iOS (#3031)
  • Do not overwrite _metadata option by default sdkInfo (#3036)

Dependencies

4.15.1

03 May 09:42

Choose a tag to compare

Fixes

  • Store envelopes immediately during a fatal crash on iOS (#3030)

5.4.0

26 Apr 10:34

Choose a tag to compare

Features

  • Add TS 4.1 typings (#2995)
    • TS 3.8 are present and work automatically with older projects
  • Add CPU Info to Device Context (#2984)

Fixes

  • Allow disabling native on RNNA (#2978)
  • iOS Autolinking for RN 0.68 and older (#2980)
  • Clean up modules.json when building bundles (#3008)
  • Only include Screenshots and View Hierarchy for iOS and Mac Catalyst builds (#3007)
  • Breadcrumbs from Native SDKs are created with timestamps in seconds (#2997)
  • addBreadcrumb converts converts non object data to { value: data } (#2997)

Dependencies

5.3.1

13 Apr 11:12

Choose a tag to compare

Fixes

  • Disable enableNativeCrashHandling and enableAutoPerformanceTracing on Apple (#2936)
    • Mac Catalyst builds successfully
  • sentry.gradle Gracefully skip modules collecting if the script doesn't exist (#2952)

Dependencies

5.3.0

30 Mar 12:30

Choose a tag to compare

Features

  • Add enableTracing option (#2933)
  • Add Tabs auto instrumentation for React Native Navigation (#2932)
    • This is enabled by default, if you want to disable tabs instrumentation see the example below.
const routingInstrumentation = new Sentry.ReactNativeNavigationInstrumentation(Navigation, { enableTabsInstrumentation: false })

Fixes

  • Disable HTTP Client Errors by default on all platform (#2931)
    • See HttpClient for configuration details.
    • Use enableCaptureFailedRequests to enable the feature.
Sentry.init({ enableCaptureFailedRequests: true })

Dependencies

5.2.0

22 Mar 19:34

Choose a tag to compare

Features

  • Add User Interaction Tracing for Touch events (#2835)
  • Add Gesture Tracing for React Native Gesture Handler API v2 (#2865)

Fixes

  • Fix use Fetch transport when option enableNative is false (#2897)
  • Improve logs when enableNative is false (#2897)

Dependencies

5.1.1

14 Mar 13:57

Choose a tag to compare

Fixes

  • Remove non URL frame.abs_path which was causing source maps to fail (#2891)

Dependencies

5.1.0

03 Mar 14:35

Choose a tag to compare

Features

  • Add App Context in_foreground (#2826)

Fixes

  • Match app start measurements naming with other SDKs (#2855)
    • app.start.cold to app_start_cold
    • app.start.warm to app_start_warm

Dependencies

5.0.0

21 Feb 15:09

Choose a tag to compare

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