Skip to content

Commit 0cafc63

Browse files
authored
chore: Add upgrading section in the changelog (#4945)
1 parent 38a77c2 commit 0cafc63

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

CHANGELOG.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,44 @@
88
99
## 7.0.0-beta.1
1010

11-
#### Features
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 based on the Sentry Javascript SDK version 9. 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+
17+
### Major Changes
18+
19+
- Set `{{auto}}` if `user.ip_address` is `undefined` and `sendDefaultPii: true` ([#4466](https://github.com/getsentry/sentry-react-native/pull/4466))
20+
- `Sentry.captureUserFeedback` removed, use `Sentry.captureFeedback` instead ([#4855](https://github.com/getsentry/sentry-react-native/pull/4855))
21+
22+
### Major Changes from Sentry JS SDK v9
23+
24+
- Exceptions from `captureConsoleIntegration` are now marked as handled: true by default
25+
- `shutdownTimeout` moved from `core` to `@sentry/react-native`
26+
- `hasTracingEnabled` was renamed to `hasSpansEnabled`
27+
- You can no longer drop spans or return null on `beforeSendSpan` hook
28+
- Fork `scope` if custom scope is passed to `startSpanManual` or `startSpan`
29+
30+
#### Removed types
31+
32+
- TransactionNamingScheme
33+
- Request
34+
- Scope (prefer using the Scope class)
35+
36+
#### Other removed items.
37+
38+
- `autoSessionTracking` from options.
39+
To enable session tracking, ensure that `enableAutoSessionTracking` is enabled.
40+
- `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.
41+
- `getCurrentHub()`, `Hub`, and `getCurrentHubShim()`
42+
- `spanId` from propagation `context`
43+
- metrics API
44+
- `transactionContext` from `samplingContext`
45+
- `@sentry/utils` package, the exports were moved to `@sentry/core`
46+
- Standalone `Client` interface & deprecate `BaseClient`
47+
48+
### Features
1249

1350
- Add experimental support for Log tracing ([#4827](https://github.com/getsentry/sentry-react-native/pull/4827))
1451

0 commit comments

Comments
 (0)