Skip to content

Commit 40f1fb4

Browse files
lucas-zimermanKarl Heinz Strugglkahest
authored
ref(React-Native): Update Migration with the latest instructions. (#14791)
<!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> ## DESCRIBE YOUR PR *Tell us what you're changing and why. If your PR **resolves an issue**, please link it so it closes automatically.* ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [ ] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) ## LEGAL BOILERPLATE <!-- Sentry employees and contractors can delete or ignore this section. --> Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. ## EXTRA RESOURCES - [Sentry Docs contributor guide](https://docs.sentry.io/contributing/) --------- Co-authored-by: Karl Heinz Struggl <[email protected]> Co-authored-by: Karl Heinz Struggl <[email protected]>
1 parent 3338c7d commit 40f1fb4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/platforms/react-native/migration/v6-to-v7.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@ sidebar_order: 99
44
description: "Learn how to migrate from version 6 to version 7 of the Sentry React Native SDK"
55
---
66

7-
<Alert level="warning" title="Important">
8-
Version 7 is still under development, this documentation may change before the final release.
9-
</Alert>
10-
11-
The main goal of version 7 of the Sentry React Native SDK is to provide compatibility with Sentry JavaScript version 9. This update includes breaking changes due to the upgrade to JavaScript SDK v9, the removal of deprecated APIs, and a reorganization of the npm package structure.
7+
The main goal of version 7 of the Sentry React Native SDK is to provide compatibility with Sentry JavaScript versions 9 and 10. This update includes breaking changes due to the upgrade to JavaScript SDK v10, the removal of deprecated APIs, and a reorganization of the npm package structure.
128

139
## Important Changes in Dependencies
1410

15-
The Sentry React Native SDK ships with the Sentry JavaScript SDK Version 9 as a dependency. This version includes a number of behavioral changes that will not be caught by type checkers, linters, or tests, so we recommend carefully reading through the entire migration guide instead of relying on automatic tooling. Please follow [the JavaScript migration guides](/platforms/javascript/guides/react/migration/v8-to-v9/) to complete the upgrade.
11+
The Sentry React Native SDK ships with the Sentry JavaScript SDK Version 10 as a dependency. This version includes two major updates (Sentry JavaScript v9 and v10), a number of behavioral changes that will not be caught by type checkers, linters, or tests, so we recommend carefully reading through the entire migration guide instead of relying on automatic tooling. Please follow the [V9 migration](#major-changes-in-sentry-js-sdk-v9) and [V10 migration](#major-changes-in-sentry-js-sdk-v10) to complete the upgrade.
1612

17-
The initial `@sentry/[email protected]` ships with `@sentry/core@9.1.0`. Always use the exact JavaScript SDK version if adding it manually to your project. Any other version might not be compatible with the React Native SDK.
13+
The initial release `@sentry/[email protected]` ships with `@sentry/core@10.8.0`. Always use the exact JavaScript SDK version if adding it manually to your project. Any other version might not be compatible with the React Native SDK.
1814

1915
Version 7 also includes a major upgrade to the Android SDK dependency, introducing behavioral changes, breaking changes, and deprecations. If you are using the Android SDK directly, please follow the [Android SDK version 8 migration guide](/platforms/android/migration/#migrating-from-iosentrysentry-7x-to-iosentrysentry-800).
2016

2117
### Major Changes in Sentry JS SDK v9
2218

23-
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/).
19+
This upgrade includes many behavioral and API changes which are mostly related to Spans instrumentation and removal of APIs. For these and other general JavaScript SDK version 9 changes, refer to the [JavaScript SDK 8.x to 9.x migration guide](/platforms/javascript/guides/react/migration/v8-to-v9/).
20+
21+
### Major Changes in Sentry JS SDK v10
22+
23+
This update contains a fix for indicating whether the backend should derive and store user IP addresses. It also includes API cleanups related to `BaseClient`, `hasTracingEnabled`, and `logger` from `@sentry/core`. For details and other general JavaScript SDK version 10 changes, refer to the [JavaScript SDK 9.x to 10.x migration guide](/platforms/javascript/guides/react/migration/v9-to-v10/).
2424

2525
### Self-Hosted Sentry Compatibility
2626

27-
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+
Beginning with version 7.0.0, the Sentry React Native SDK will only support self-hosted Sentry instances version 25.2.0 and above.
2828

2929
## Important React Native SDK `7.x` Changes
3030

0 commit comments

Comments
 (0)