Skip to content

6.7.0

Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 11 Feb 09:36

Warning

This release contains an issue where Cold starts can be incorrectly reported as Warm starts on Android. We recommend staying on version 6.4.0 if you use this feature on Android.
See issue #4598 for more details.

Features

  • Add ignoredComponents option to annotateReactComponents to exclude specific components from React component annotations (#4517)

    // metro.config.js
    // for React Native
    const config = withSentryConfig(mergedConfig, {
      annotateReactComponents: {
        ignoredComponents: ['MyCustomComponent']
      }
    });
    
    // for Expo
    const config = getSentryExpoConfig(__dirname, {
      annotateReactComponents: {
        ignoredComponents: ['MyCustomComponent'],
      },
    });

Dependencies