Releases: getsentry/sentry-react-native
5.25.0-alpha.2
Features
- Improve touch event component info if annotated with
@sentry/babel-plugin-component-annotate
(#3899) - Add replay breadcrumbs for touch & navigation events (#3846)
- Add network data to Session Replays (#3912)
- Filter Sentry Event Breadcrumbs from Mobile Replays (#3925)
Fixes
sentry-expo-upload-sourcemaps
no longer requires Sentry url when uploading sourcemaps tosentry.io
(#3915)
Dependencies
- Bump Cocoa SDK from v8.25.0-alpha.0 to v8.30.0 (#3914)
- Bump Android SDK from v7.9.0-alpha.1 to v7.11.0-alpha.2 (#3830)
Access to Mobile Replay is limited to early access orgs on Sentry. If you're interested, sign up for the waitlist
5.24.1
5.24.0
Features
- Add native application start spans (#3855, #3884)
- This doesn't change the app start measurement length, but add child spans (more detail) into the existing app start span
- Added JS Bundle Execution start information to the application start measurements (#3857)
Fixes
- Add more expressive debug logs to Native Frames Integration (#3880)
- Add missing tracing integrations when using
client.init()
(#3882) - Ensure
sentry-cli
doesn't trigger Xcodeerror:
prefix (#3887)- Fixes
--allow-failure
failing Xcode builds
- Fixes
Dependencies
5.23.1
Fix
- Fix failing iOS builds due to missing SentryLevel (#3854)
- Add missing logs to dropped App Start spans (#3861)
- Make all options of
startTimeToInitialDisplaySpan
optional (#3867) - Add Span IDs to Time to Display debug logs (#3868)
- Use TTID end timestamp when TTFD should be updated with an earlier timestamp (#3869)
5.23.0
This version does not build for iOS, please use 5.23.1
Features
-
Functional integrations (#3814)
Instead of installing
@sentry/integrations
and creating integrations using thenew
keyword, you can use direct imports of the functional integrations.// Before import * as Sentry from '@sentry/react-native'; import { HttpClient } from '@sentry/integrations'; Sentry.init({ integrations: [ new Sentry.BrowserIntegrations.Dedupe(), new Sentry.Integration.Screenshot(), new HttpClient(), ], }); // After import * as Sentry from '@sentry/react-native'; Sentry.init({ integrations: [ Sentry.dedupeIntegration(), Sentry.screenshotIntegration(), Sentry.httpClientIntegration(), ], });
Note that the
Sentry.BrowserIntegrations
,Sentry.Integration
and the Class style integrations will be removed in the next major version of the SDK.
Fixes
- Remove unused
rnpm
config (#3811)
Dependencies
5.22.3
5.23.0-alpha.1
Fixes
- Pass
replaysSessionSampleRate
option to Android (#3714)
Access to Mobile Replay is limited to early access orgs on Sentry. If you're interested, sign up for the waitlist
Dependencies
5.22.2
5.22.1
5.23.0-alpha.0
Features
-
Mobile Session Replay Alpha (#3714)
To enable Replay for React Native on mobile and web add the following options.
Sentry.init({ _experiments: { replaysSessionSampleRate: 1.0, replaysOnErrorSampleRate: 1.0, }, });
To change the default Mobile Replay options add the
mobileReplayIntegration
.Sentry.init({ _experiments: { replaysSessionSampleRate: 1.0, replaysOnErrorSampleRate: 1.0, }, integrations: [ Sentry.mobileReplayIntegration({ maskAllText: true, maskAllImages: true, }), ], });
Access is limited to early access orgs on Sentry. If you're interested, sign up for the waitlist
Dependencies
- Bump Cocoa SDK to 8.25.0-alpha.0
- Bump Android SDK to 7.9.0-alpha.1