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

latest releases: 5.33.1, 5.24.3, 5.33.0...
8 months ago

This release is compatible with expo@50.0.0-preview.6 and newer.

Features

  • withSentryExpoSerializers changes to getSentryExpoConfig (#3501)

    • getSentryExpoConfig accepts the same parameters as getDefaultConfig from expo/metro-config and returns Metro configuration
    • This also works for EAS Updates (and expo export). Debug ID is generated by expo/metro-config and used by Sentry.
    const { getSentryExpoConfig } = require("@sentry/react-native/metro");
    const config = getSentryExpoConfig(config);
  • Add npx sentry-expo-upload-sourcemaps for simple EAS Update (expo export) source maps upload to Sentry (#3491, #3510)

    SENTRY_PROJECT=project-slug \
    SENTRY_ORG=org-slug \
    SENTRY_AUTH_TOKEN=super-secret-token \
    npx sentry-expo-upload-sourcemaps dist
  • Sentry CLI binary path in scripts/expo-upload-sourcemaps.js is resolved dynamically (#3507)

    • Or can be overwritten by SENTRY_CLI_EXECUTABLE env
  • Resolve Default Integrations based on current platform (#3465)

    • Native Integrations are only added if Native Module is available
    • Web Integrations only for React Native Web builds
  • Remove Native Modules warning from platform where the absence is expected (#3466)

  • Add Expo Context information using Expo Native Modules (#3466)

Fixes

  • Includes fixes from version 5.15.2

Don't miss a new react-native release

NewReleases is sending notifications on new releases.