Skip to content

6.3.0

Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 25 Nov 16:19

Features

  • Add support for .env.sentry-build-plugin (#4281)

    Don't commit the file to your repository. Use it to set your Sentry Auth Token.

    SENTRY_AUTH_TOKEN=your_token_here
    
  • Add Sentry Metro Server Source Context middleware (#4287)

    This enables the SDK to add source context to locally symbolicated events using the Metro Development Server.
    The middleware can be disabled in metro.config.js using the enableSourceContextInDevelopment option.

    // Expo
    const { getSentryExpoConfig } = require('@sentry/react-native/metro');
    const config = getSentryExpoConfig(__dirname, {
      enableSourceContextInDevelopment: false,
    });
    
    // React Native
    const { withSentryConfig } = require('@sentry/react-native/metro');
    module.exports = withSentryConfig(config, {
      enableSourceContextInDevelopment: false,
    });

Fixes

  • Prevents exception capture context from being overwritten by native scope sync (#4124)
  • Excludes Dev Server and Sentry Dsn requests from Breadcrumbs (#4240)
  • Skips development server spans (#4271)
  • Execute DebugSymbolicator after RewriteFrames to avoid overwrites by default (#4285)
    • If custom RewriteFrames is provided the order changes
  • browserReplayIntegration is no longer included by default on React Native Web (#4270)
  • Remove .sentry tmp directory and use environmental variables instead to save default Babel transformer path (#4298)
    • This resolves concurrency issues when running multiple bundle processes

Dependencies