yarn @sentry/react-native 5.9.0

latest releases: 5.24.3, 5.33.0, 5.24.2...
13 months ago

Features

  • Add support for React Native mixed stacktraces (#3201)

    In the current react-native@nightly (0.73.0-nightly-20230809-cb60e5c67) JS errors from native modules can
    contain native JVM or Objective-C exception stack trace. Both JS and native stack trace
    are processed by default no configuration needed.

  • Add tracePropagationTargets option (#3230)

    This release adds support for distributed tracing
    without requiring performance monitoring to be active on the React Native SDK.
    This means even if there is no sampled transaction/span, the SDK will still propagate traces to downstream services.
    Distributed Tracing can be configured with the tracePropagationTargets option,
    which controls what requests to attach the sentry-trace and baggage HTTP headers to (which is what propagates tracing information).

      Sentry.init({
        tracePropagationTargets: ["third-party-site.com", /^https:\/\/yourserver\.io\/api/],
      });

Fixes

  • Sentry.init must be called before Sentry.wrap(#3227)
    • The SDK now shows warning if incorrect order is detected
  • Stall Time is no longer counted when App is in Background. (#3211)
  • Use application variant instead of variant output to hook to correct package task for modules cleanup (#3161)
  • Fix isNativeAvailable after SDK reinitialization (#3200)

Dependencies

Don't miss a new react-native release

NewReleases is sending notifications on new releases.