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 thecaptureUserFeedback
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 toproduction
- Deprecated
_experiments.replaysSessionSampleRate
and_experiments.replaysOnErrorSampleRate
usereplaysSessionSampleRate
andreplaysOnErrorSampleRate
(#4384)