Features
-
New Sentry Metro configuration function
withSentryConfig
(#3478)- Ensures all Sentry configuration is added to your Metro config
- Includes
createSentryMetroSerializer
- Collapses Sentry internal frames from the stack trace view in LogBox
const { getDefaultConfig } = require('@react-native/metro-config'); const { withSentryConfig } = require('@sentry/react-native/metro'); const config = getDefaultConfig(__dirname); module.exports = withSentryConfig(config);
-
Add experimental visionOS support (#3467)
- To set up
react-native-visionos
with the Sentry React Native SDK follow the standardiOS
guides. - Xcode project is located in
visionos
folder instead ofios
.
- To set up
Fixes
- Fix
WITH_ENVIRONMENT
overwrite insentry-xcode-debug-files.sh
(#3525) - Sentry CLI 2.25.1 fixes background debug files uploads during Xcode builds (#3486)
- Performance Tracing should be disabled by default (#3533)
- Use
$NODE_BINARY
to execute Sentry CLI in Xcode scripts (#3493) - Return auto Release and Dist to source maps auto upload (#3540)