github getsentry/sentry-react-native 5.8.0

latest releases: 5.35.0, 6.1.0, 5.35.0-beta.0...
15 months ago

Features

  • Alpha support for Hermes JavaScript Profiling (#3057)

    Profiling is disabled by default. To enable it, configure both
    tracesSampleRate and profilesSampleRate when initializing the SDK:

      Sentry.init({
        dsn: '__DSN__',
        tracesSampleRate: 1.0,
        _experiments: {
          // The sampling rate for profiling is relative to TracesSampleRate.
          // In this case, we'll capture profiles for 100% of transactions.
          profilesSampleRate: 1.0,
        },
      });

    More documentation on profiling and current limitations can be found here.

Fixes

  • Warn users about multiple versions of promise package which can cause unexpected behavior like undefined Promise.allSettled (#3162)
  • Event is enriched with all the Android context on the JS layer and you can filter/modify all the data in the beforeSend callback similarly to iOS. (#3170)

Dependencies

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

NewReleases is sending notifications on new releases.