yarn @sentry/react-native 5.16.0-alpha.1

latest releases: 5.33.0, 5.24.2, 6.0.0-beta.1...
9 months ago

Features

  • Add @sentry/react-native/expo Expo config plugin (#3429)

    This Release introduces the first alpha version of our new SDK for Expo.
    At this time, the SDK is considered experimental and things might break and change in future versions.

    The core of the SDK is Expo plugin which you can easily add to your App config:

    const { withSentry } = require('@sentry/react-native/expo');
    
    const config = {...};
    
    module.exports = withSentry(config, {
      url: 'https://www.sentry.io/',
      authToken: 'example-token', // Or use SENTRY_AUTH_TOKEN env
      project: 'project-slug', // Or use SENTRY_PROJECT env
      organization: 'org-slug', // Or use SENTRY_ORG env
    });
    • And Sentry.init in App.js
    import * as Sentry from '@sentry/react-native';
    
    Sentry.init({
      dsn: '__DSN__',
    });
  • Update sentry-xcode.sh scripts with Node modules resolution (#3450)

    • RN SDK and Sentry CLI are dynamically resolved if override is not supplied

Fixes

  • Transform shipped JSX for both react-native and web (#3428)
    • Removes builds errors when using react-native-web with Webpack

Don't miss a new react-native release

NewReleases is sending notifications on new releases.