Skip to content

Commit 513afd6

Browse files
Update change for beta.0
1 parent 3677dc5 commit 513afd6

File tree

1 file changed

+41
-6
lines changed

1 file changed

+41
-6
lines changed

CHANGELOG.md

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,62 @@
88
99
## Unreleased
1010

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+
1117
### Major Changes
1218

19+
- Set `{{auto}}` if `user.ip_address` is `undefined` and `sendDefaultPii: true` ([#4466](https://github.com/getsentry/sentry-react-native/pull/4466))
1320
- `Sentry.captureUserFeedback` removed, use `Sentry.captureFeedback` instead ([#4855](https://github.com/getsentry/sentry-react-native/pull/4855))
14-
- Use global `TextEncoder` (available with Hermes in React Native 0.74 or higher) to improve envelope encoding performance. ([#4874](https://github.com/getsentry/sentry-react-native/pull/4874))
15-
- `breadcrumbsIntegration` disables React Native incompatible options automatically ([#4886](https://github.com/getsentry/sentry-react-native/pull/4886))
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`
1647

1748
### Changes
1849

1950
- Use `Replay` interface for `browserReplayIntegration` return type ([#4858](https://github.com/getsentry/sentry-react-native/pull/4858))
2051
- Allow using `browserReplayIntegration` without `isWeb` guard ([#4858](https://github.com/getsentry/sentry-react-native/pull/4858))
2152
- The integration returns noop in non-browser environments
2253
- Use single `encodeUTF8` implementation through the SDK ([#4885](https://github.com/getsentry/sentry-react-native/pull/4885))
54+
- Use global `TextEncoder` (available with Hermes in React Native 0.74 or higher) to improve envelope encoding performance. ([#4874](https://github.com/getsentry/sentry-react-native/pull/4874))
55+
- `breadcrumbsIntegration` disables React Native incompatible options automatically ([#4886](https://github.com/getsentry/sentry-react-native/pull/4886))
56+
- On React Native Web, `browserSessionIntegration` is added when `enableAutoSessionTracking` is set to `True` ([#4732](https://github.com/getsentry/sentry-react-native/pull/4732))
57+
- Change `Cold/Warm App Start` span description to `Cold/Warm Start` ([#4636](https://github.com/getsentry/sentry-react-native/pull/4636))
2358

2459
### Dependencies
2560

26-
- Bump JavaScript SDK from v9.12.0 to v9.22.0 ([#4860](https://github.com/getsentry/sentry-react-native/pull/4860))
61+
- Bump JavaScript SDK from v8.54.0 to v9.22.0 ([#4568](https://github.com/getsentry/sentry-react-native/pull/4568), [#4752](https://github.com/getsentry/sentry-react-native/pull/4752), [#4860](https://github.com/getsentry/sentry-react-native/pull/4860))
2762
- [changelog](https://github.com/getsentry/sentry-javascript/blob/9.22.0/CHANGELOG.md)
28-
- [diff](https://github.com/getsentry/sentry-javascript/compare/9.12.0...9.22.0)
29-
- Bump Android SDK from v8.11.1 to v8.13.2 ([#4847](https://github.com/getsentry/sentry-react-native/pull/4847))
63+
- [diff](https://github.com/getsentry/sentry-javascript/compare/8.54.0...9.22.0)
64+
- Bump Android SDK from v7.20.1 to v8.13.2 ([#4490](https://github.com/getsentry/sentry-react-native/pull/4490), [#4847](https://github.com/getsentry/sentry-react-native/pull/4847))
3065
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#8132)
31-
- [diff](https://github.com/getsentry/sentry-java/compare/8.11.1...8.13.2)
66+
- [diff](https://github.com/getsentry/sentry-java/compare/7.20.1...8.13.2)
3267

3368
## 6.15.0
3469

0 commit comments

Comments
 (0)