Skip to content

5.9.0

Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 11 Aug 12:56

Important Note

Do not use this version if you use CocoaPods with use_frameworks! option. It introduces a bug where the project won't compile.
This has been fixed in version 5.9.1.

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