Skip to content

6.5.0

Latest
Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 03 Jan 19:49

Features

  • Mobile Session Replay is now generally available and ready for production use (#4384)

    To learn about privacy, custom masking or performance overhead visit the documentation.

    import * as Sentry from '@sentry/react-native';
    
    Sentry.init({
      replaysSessionSampleRate: 1.0,
      replaysOnErrorSampleRate: 1.0,
      integrations: [
        Sentry.mobileReplayIntegration({
          maskAllImages: true,
          maskAllVectors: true,
          maskAllText: true,
        }),
      ],
    });
  • Adds new captureFeedback and deprecates the captureUserFeedback API (#4320)

    import * as Sentry from "@sentry/react-native";
    
    const eventId = Sentry.lastEventId();
    
    Sentry.captureFeedback({
      name: "John Doe",
      email: "[email protected]",
      message: "Hello World!",
      associatedEventId: eventId, // optional
    });

    To learn how to attach context data to the feedback visit the documentation.

  • Export Span type from @sentry/types (#4345)

  • Add RN SDK package to sdk.packages on Android (#4380)

Fixes

  • Return lastEventId export from @sentry/core (#4315)
  • Don't log file not found errors when loading envs in sentry-expo-upload-sourcemaps (#4332)
  • Navigation Span should have no parent by default (#4326)
  • Disable HTTP Client Errors on iOS (#4347)

Changes

  • Falsy values of options.environment (empty string, undefined...) default to production
  • Deprecated _experiments.replaysSessionSampleRate and _experiments.replaysOnErrorSampleRate use replaysSessionSampleRate and replaysOnErrorSampleRate (#4384)

Dependencies