|
2 | 2 |
|
3 | 3 | <!-- prettier-ignore-start --> |
4 | 4 | > [!IMPORTANT] |
5 | | -> If you are upgrading to the `7.x` versions of the Sentry React Native SDK from `6.x` or below, |
| 5 | +> If you are upgrading to the `8.x` versions of the Sentry React Native SDK from `7.x` or below, |
6 | 6 | > make sure you follow our [migration guide](https://docs.sentry.io/platforms/react-native/migration/) first. |
7 | 7 | <!-- prettier-ignore-end --> |
8 | 8 |
|
9 | | -## Unreleased |
| 9 | +### Unreleased |
10 | 10 |
|
11 | | -### Features |
| 11 | +### Upgrading from 7.x to 8.0 |
12 | 12 |
|
13 | | -- Add experimental `sentry-span-attributes` prop to attach custom attributes to user interaction spans ([#5569](https://github.com/getsentry/sentry-react-native/pull/5569)) |
14 | | - ```tsx |
15 | | - <Pressable |
16 | | - sentry-label="checkout" |
17 | | - sentry-span-attributes={{ |
18 | | - 'user.type': 'premium', |
19 | | - 'cart.value': 150 |
20 | | - }} |
21 | | - onPress={handleCheckout}> |
22 | | - <Text>Checkout</Text> |
23 | | - </Pressable> |
24 | | - ``` |
| 13 | +Version 8 of the Sentry React Native SDK updates the underlying native SDKs (Cocoa v9, CLI v3, Android Gradle Plugin v6) which introduce breaking changes in minimum version requirements and build tooling. |
| 14 | + |
| 15 | +See our [migration docs](https://docs.sentry.io/platforms/react-native/migration/v7-to-v8/) for more information. |
| 16 | + |
| 17 | +### Breaking Changes |
| 18 | + |
| 19 | +#### Minimum Version Requirements |
| 20 | + |
| 21 | +- **iOS/macOS/tvOS**: ([#5356](https://github.com/getsentry/sentry-react-native/pull/5356)) |
| 22 | + - iOS **15.0+** (previously 11.0+) |
| 23 | + - macOS **10.14+** (previously 10.13+) |
| 24 | + - tvOS **15.0+** (previously 11.0+) |
| 25 | + |
| 26 | +- **Android**: ([#5578](https://github.com/getsentry/sentry-react-native/pull/5578)) |
| 27 | + - Sentry Android Gradle Plugin **6.0.0** (previously 5.x) |
| 28 | + - Android Gradle Plugin **7.4.0+** (previously 7.3.0+) |
| 29 | + - Kotlin **1.8+** |
| 30 | + |
| 31 | +- **Sentry Self-Hosted**: ([#5523](https://github.com/getsentry/sentry-react-native/pull/5523)) |
| 32 | + - Sentry CLI v3 requires self-hosted **25.11.1+** (previously 25.2.0) |
| 33 | + |
| 34 | +### Features |
25 | 35 |
|
26 | 36 | - Capture App Start errors and crashes by initializing Sentry from `sentry.options.json` ([#4472](https://github.com/getsentry/sentry-react-native/pull/4472)) |
27 | 37 |
|
|
98 | 108 | - Bump CLI from v2.58.4 to v3.1.0 ([#5523](https://github.com/getsentry/sentry-react-native/pull/5523), [#5471](https://github.com/getsentry/sentry-react-native/pull/5471), [#5514](https://github.com/getsentry/sentry-react-native/pull/5514), [#5502](https://github.com/getsentry/sentry-react-native/pull/5502)) |
99 | 109 | - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#310) |
100 | 110 | - [diff](https://github.com/getsentry/sentry-cli/compare/2.58.4...3.1.0) |
| 111 | + |
| 112 | +## 7.11.0 |
| 113 | + |
| 114 | +### Features |
| 115 | + |
| 116 | +- Add support for applying scope attributes to JS logs ([#5579](https://github.com/getsentry/sentry-react-native/pull/5579)) |
| 117 | +- Add experimental `sentry-span-attributes` prop to attach custom attributes to user interaction spans ([#5569](https://github.com/getsentry/sentry-react-native/pull/5569)) |
| 118 | + ```tsx |
| 119 | + <Pressable |
| 120 | + sentry-label="checkout" |
| 121 | + sentry-span-attributes={{ |
| 122 | + 'user.type': 'premium', |
| 123 | + 'cart.value': 150 |
| 124 | + }} |
| 125 | + onPress={handleCheckout}> |
| 126 | + <Text>Checkout</Text> |
| 127 | + </Pressable> |
| 128 | + ``` |
| 129 | + |
| 130 | +### Dependencies |
| 131 | + |
101 | 132 | - Bump Bundler Plugins from v4.7.0 to v4.8.0 ([#5581](https://github.com/getsentry/sentry-react-native/pull/5581)) |
102 | 133 | - [changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md#480) |
103 | 134 | - [diff](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/4.7.0...4.8.0) |
| 135 | +- Bump JavaScript SDK from v10.36.0 to v10.37.0 ([#5589](https://github.com/getsentry/sentry-react-native/pull/5589)) |
| 136 | + - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#10370) |
| 137 | + - [diff](https://github.com/getsentry/sentry-javascript/compare/10.36.0...10.37.0) |
104 | 138 |
|
105 | 139 | ## 7.10.0 |
106 | 140 |
|
|
0 commit comments