yarn @sentry/react-native 5.32.0

latest releases: 5.33.0, 5.24.2, 6.0.0-beta.1...
6 days ago

Features

  • Exclude Sentry Web Replay by default, reducing the code in 130KB. (#4006)

    • You can keep Sentry Web Replay by setting includeWebReplay to true 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 });

Changes

  • Add Android Logger when new frame event is not emitted (#4081)
  • React Native Tracing Deprecations (#4073)
    • new ReactNativeTracing to reactNativeTracingIntegration()
    • new ReactNavigationInstrumentation to reactNativeTracingIntegration().
    • new ReactNativeNavigationInstrumentation to reactNativeTracingIntegration().
    • ReactNavigationV4Instrumentation won't be supported in the next major SDK version, upgrade to react-navigation@5 or newer.
    • RoutingInstrumentation and RoutingInstrumentationInstance replace by Integration interface from @sentry/types.
    • enableAppStartTracking, enableNativeFramesTracking, enableStallTracking, enableUserInteractionTracing moved to Sentry.init({}) root options.

Dependencies

Don't miss a new react-native release

NewReleases is sending notifications on new releases.