5.16.0-alpha.3
Pre-release
Pre-release
This release is compatible with expo@50.0.0-preview.6
and newer.
Features
-
withSentryExpoSerializers
changes togetSentryExpoConfig
(#3501)getSentryExpoConfig
accepts the same parameters asgetDefaultConfig
fromexpo/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
- Or can be overwritten by
-
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