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 thetracePropagationTargets
option,
which controls what requests to attach thesentry-trace
andbaggage
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 beforeSentry.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)