|
8 | 8 |
|
9 | 9 | ## Unreleased |
10 | 10 |
|
| 11 | +### Upgrading from 6.x to 7.0 |
| 12 | + |
| 13 | +Version 7 of the Sentry React Native SDK primarily introduces API cleanup and version support changes. This update contains 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. |
| 14 | + |
| 15 | +Version 7 of the SDK is compatible with Sentry self-hosted versions 24.4.2 or higher (unchanged from v6). Lower versions may continue to work, but may not support all features. |
| 16 | + |
11 | 17 | ### Dependencies |
12 | 18 |
|
13 | 19 | - Bump Bundler Plugins from v3.2.2 to v3.2.4 ([#4693](https://github.com/getsentry/sentry-react-native/pull/4693), [#4707](https://github.com/getsentry/sentry-react-native/pull/4707)) |
|
17 | 23 | - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2430) |
18 | 24 | - [diff](https://github.com/getsentry/sentry-cli/compare/2.42.4...2.43.0) |
19 | 25 |
|
| 26 | +### Major Changes |
| 27 | + |
| 28 | +- `ip addresses` is only collected when `sendDefaultPii`: `true` |
| 29 | +- Exceptions from `captureConsoleIntegration` are now marked as handled: true by default |
| 30 | +- `shutdownTimeout` moved from `core` to `@sentry/react-native` |
| 31 | +- `hasTracingEnabled` was renamed to `hasSpansEnabled` |
| 32 | +- You can no longer drop spans or return null on `beforeSendSpan` hook |
| 33 | + |
| 34 | +### Removed types |
| 35 | + |
| 36 | +- TransactionNamingScheme |
| 37 | +- Request |
| 38 | +- Scope (prefer using the Scope class) |
| 39 | + |
| 40 | +### Other removed items. |
| 41 | + |
| 42 | +- `autoSessionTracking` from options. |
| 43 | + To enable session tracking, ensure that `enableAutoSessionTracking` is enabled. |
| 44 | + |
| 45 | +- `enableTracing`. Instead, set `tracesSampleRate` to a value greater than `zero` to `enable tracing`, `0` to keep tracing integrations active without sampling, or `undefined` to disable the performance integration. |
| 46 | + |
| 47 | +- `getCurrentHub()`, `Hub`, and `getCurrentHubShim()` |
| 48 | +- `spanId` from propagation `context` |
| 49 | +- metrics API |
| 50 | +- `transactionContext` from `samplingContext` |
| 51 | +- `@sentry/utils` package, the exports were moved to `@sentry/core` |
| 52 | +- Standalone `Client` interface & deprecate `BaseClient` |
| 53 | + |
| 54 | +## Other Changes |
| 55 | + |
| 56 | +- Fork `scope` if custom scope is passed to `startSpanManual` or `startSpan` |
| 57 | + |
| 58 | + |
20 | 59 | ## 6.11.0-beta.0 |
21 | 60 |
|
22 | 61 | ### Features |
@@ -186,6 +225,9 @@ Change `Cold/Warm App Start` span description to `Cold/Warm Start` ([#4636](http |
186 | 225 |
|
187 | 226 | ### Dependencies |
188 | 227 |
|
| 228 | +- Bump JavaScript SDK from v8.54.0 to v9.1.0 ([#4568](https://github.com/getsentry/sentry-react-native/pull/4568)) |
| 229 | + - [changelog](https://github.com/getsentry/sentry-javascript/blob/9.1.0/CHANGELOG.md) |
| 230 | + - [diff](https://github.com/getsentry/sentry-javascript/compare/8.54.0...9.1.0) |
189 | 231 | - Bump Android SDK from v7.20.1 to v8.3.0 ([#4490](https://github.com/getsentry/sentry-react-native/pull/4490)) |
190 | 232 | - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#830) |
191 | 233 | - [diff](https://github.com/getsentry/sentry-java/compare/7.20.1...8.3.0) |
|
0 commit comments