5.32.0
Features
-
Exclude Sentry Web Replay, reducing the code in 130KB. (#4006)
- You can keep Sentry Web Replay by setting
includeWebReplay
totrue
in your metro config as shown in the snippet:
// For Expo const { getSentryExpoConfig } = require("@sentry/react-native/metro"); const config = getSentryExpoConfig(__dirname, { includeWebReplay: true }); // For RN const { getDefaultConfig } = require('@react-native/metro-config'); const { withSentryConfig } = require('@sentry/react-native/metro'); module.exports = withSentryConfig(getDefaultConfig(__dirname), { includeWebReplay: true });
- You can keep Sentry Web Replay by setting
Changes
- Add Android Logger when new frame event is not emitted (#4081)
- React Native Tracing Deprecations (#4073)
new ReactNativeTracing
toreactNativeTracingIntegration()
new ReactNavigationInstrumentation
toreactNavigationIntegration()
.new ReactNativeNavigationInstrumentation
toreactNativeNavigationIntegration()
.ReactNavigationV4Instrumentation
won't be supported in the next major SDK version, upgrade toreact-navigation@5
or newer.RoutingInstrumentation
andRoutingInstrumentationInstance
replace byIntegration
interface from@sentry/types
.enableAppStartTracking
,enableNativeFramesTracking
,enableStallTracking
,enableUserInteractionTracing
moved toSentry.init({})
root options.