You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/react-native/migration/v6-to-v7.mdx
+26-5Lines changed: 26 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
1
---
2
2
title: Migrate from 6.x to 7.x
3
3
sidebar_order: 99
4
-
draft: true
5
-
6
4
description: "Learn how to migrate from version 6 to version 7 of the Sentry React Native SDK"
7
5
---
8
6
7
+
<Alertlevel="warning"title="Important">
8
+
Version 7 is still under development, the documentation may change before the final release.
9
+
</Alert>
10
+
9
11
The main goal of version 7 of the Sentry React Native SDK, is to bring compatibility with Sentry JavaScript version 9. This version is introducing breaking changes because of the JavaScript SDK dependency upgrade to version 9 and because we've removed deprecated APIs and restructured npm package contents.
10
12
11
13
## Important Changes In Dependencies
@@ -19,10 +21,29 @@ Version 7 also includes a major upgrade to the Android SDK dependency, introduci
19
21
20
22
Other general JavaScript SDK version 9 changes are described in the [JavaScript SDK 8.x to 9.x migration guide](/platforms/javascript/guides/react/migration/v8-to-v9/).
21
23
24
+
### Self-Hosted Sentry Compatibility
25
+
26
+
Beginning with version 7.0.0, the Sentry Capacitor SDK will only support self-hosted Sentry instances version 25.2.0 and above. This change does not affect users of `sentry.io`.
27
+
22
28
## Important React Native SDK `7.x` Changes
23
29
24
-
This section describes API changes in the Sentry React Native SDK, version 7.
30
+
This section describes API changes in the Sentry React7 Native SDK, version 7.
31
+
32
+
### captureUserFeedback is now removed
33
+
34
+
You can use the updated snippet in order to capture user Feedbacks:
35
+
36
+
```diff
37
+
- import { captureUserFeedback } from '@sentry/react-native';
38
+
+ import { captureFeedback } from '@sentry/react-native';
25
39
26
-
### React Native Tracing Options Moved to `Sentry.init` Options
0 commit comments