|
4 | 4 |
|
5 | 5 | ### Features |
6 | 6 |
|
7 | | -- Improve touch event component info if annotated with [`@sentry/babel-plugin-component-annotate`](https://www.npmjs.com/package/@sentry/babel-plugin-component-annotate) ([#3899](https://github.com/getsentry/sentry-react-native/pull/3899)) |
8 | 7 | - Set `currentScreen` on native scope ([#3927](https://github.com/getsentry/sentry-react-native/pull/3927)) |
| 8 | +- Add `annotateReactComponents` option to `@sentry/react-native/metro` ([#3916](https://github.com/getsentry/sentry-react-native/pull/3916)) |
| 9 | + |
| 10 | + ```js |
| 11 | + // For Expo |
| 12 | + const { getSentryExpoConfig } = require("@sentry/react-native/metro"); |
| 13 | + const config = getSentryExpoConfig(__dirname, { annotateReactComponents: true }); |
| 14 | + |
| 15 | + // For RN |
| 16 | + const { getDefaultConfig } = require('@react-native/metro-config'); |
| 17 | + const { withSentryConfig } = require('@sentry/react-native/metro'); |
| 18 | + module.exports = withSentryConfig(getDefaultConfig(__dirname), { annotateReactComponents: true }); |
| 19 | + ``` |
9 | 20 |
|
10 | 21 | ### Fixes |
11 | 22 |
|
| 23 | +- Add `app.foreground/background` breadcrumbs to iOS Replays ([#3932](https://github.com/getsentry/sentry-react-native/pull/3932)) |
12 | 24 | - errors with cause are now correctly serialized on debug build ([#3920](https://github.com/getsentry/sentry-react-native/pull/3920)) |
13 | | -- `sentry-expo-upload-sourcemaps` no longer requires Sentry url when uploading sourcemaps to `sentry.io` ([#3915](https://github.com/getsentry/sentry-react-native/pull/3915)) |
14 | 25 | - Flavor aware Android builds use `SENTRY_AUTH_TOKEN` env as fallback when token not found in `sentry-flavor-type.properties`. ([#3917](https://github.com/getsentry/sentry-react-native/pull/3917)) |
15 | 26 | - `mechanism.handled:false` should crash current session ([#3900](https://github.com/getsentry/sentry-react-native/pull/3900)) |
16 | 27 |
|
17 | 28 | ### Dependencies |
18 | 29 |
|
19 | | -- Bump Cocoa SDK from v8.29.1 to v8.30.0 ([#3914](https://github.com/getsentry/sentry-react-native/pull/3914)) |
| 30 | +- Bump Android SDK from v7.11.0-alpha.2 to v7.12.0-alpha.3 ([#3830](https://github.com/getsentry/sentry-react-native/pull/3830)) |
| 31 | + - [changelog](https://github.com/getsentry/sentry-java/blob/7.12.0-alpha.3/CHANGELOG.md#7120-alpha3) |
| 32 | + - [diff](https://github.com/getsentry/sentry-java/compare/7.11.0-alpha.2...7.12.0-alpha.3) |
| 33 | + |
| 34 | +## 5.25.0-alpha.2 |
| 35 | + |
| 36 | +### Features |
| 37 | + |
| 38 | +- Improve touch event component info if annotated with [`@sentry/babel-plugin-component-annotate`](https://www.npmjs.com/package/@sentry/babel-plugin-component-annotate) ([#3899](https://github.com/getsentry/sentry-react-native/pull/3899)) |
| 39 | +- Add replay breadcrumbs for touch & navigation events ([#3846](https://github.com/getsentry/sentry-react-native/pull/3846)) |
| 40 | +- Add network data to Session Replays ([#3912](https://github.com/getsentry/sentry-react-native/pull/3912)) |
| 41 | +- Filter Sentry Event Breadcrumbs from Mobile Replays ([#3925](https://github.com/getsentry/sentry-react-native/pull/3925)) |
| 42 | + |
| 43 | +### Fixes |
| 44 | + |
| 45 | +- `sentry-expo-upload-sourcemaps` no longer requires Sentry url when uploading sourcemaps to `sentry.io` ([#3915](https://github.com/getsentry/sentry-react-native/pull/3915)) |
| 46 | + |
| 47 | +### Dependencies |
| 48 | + |
| 49 | +- Bump Cocoa SDK from v8.25.0-alpha.0 to v8.30.0 ([#3914](https://github.com/getsentry/sentry-react-native/pull/3914)) |
20 | 50 | - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8300) |
21 | | - - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.29.1...8.30.0) |
22 | | -- Bump Android SDK from v7.10.0 to v7.11.0 ([#3926](https://github.com/getsentry/sentry-react-native/pull/3926)) |
23 | | - - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7110) |
24 | | - - [diff](https://github.com/getsentry/sentry-java/compare/7.10.0...7.11.0) |
| 51 | + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.25.0-alpha.0...8.30.0) |
| 52 | +- Bump Android SDK from v7.9.0-alpha.1 to v7.11.0-alpha.2 ([#3830](https://github.com/getsentry/sentry-react-native/pull/3830)) |
| 53 | + - [changelog](https://github.com/getsentry/sentry-java/blob/7.11.0-alpha.2/CHANGELOG.md#7110-alpha2) |
| 54 | + - [diff](https://github.com/getsentry/sentry-java/compare/7.9.0-alpha.1...7.11.0-alpha.2) |
| 55 | + |
| 56 | +Access to Mobile Replay is limited to early access orgs on Sentry. If you're interested, [sign up for the waitlist](https://sentry.io/lp/mobile-replay-beta/) |
25 | 57 |
|
26 | 58 | ## 5.24.1 |
27 | 59 |
|
@@ -122,6 +154,14 @@ This release does *not* build on iOS. Please use `5.23.1` or newer. |
122 | 154 | - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8270) |
123 | 155 | - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.26.0...8.27.0) |
124 | 156 |
|
| 157 | +## 5.23.0-alpha.1 |
| 158 | + |
| 159 | +### Fixes |
| 160 | + |
| 161 | +- Pass `replaysSessionSampleRate` option to Android ([#3714](https://github.com/getsentry/sentry-react-native/pull/3714)) |
| 162 | + |
| 163 | +Access to Mobile Replay is limited to early access orgs on Sentry. If you're interested, [sign up for the waitlist](https://sentry.io/lp/mobile-replay-beta/) |
| 164 | + |
125 | 165 | ## 5.22.3 |
126 | 166 |
|
127 | 167 | ### Fixes |
@@ -155,6 +195,47 @@ This release does *not* build on iOS. Please use `5.23.1` or newer. |
155 | 195 | - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8250) |
156 | 196 | - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.24.0...8.25.0) |
157 | 197 |
|
| 198 | +## 5.23.0-alpha.0 |
| 199 | + |
| 200 | +### Features |
| 201 | + |
| 202 | +- Mobile Session Replay Alpha ([#3714](https://github.com/getsentry/sentry-react-native/pull/3714)) |
| 203 | + |
| 204 | + To enable Replay for React Native on mobile and web add the following options. |
| 205 | + |
| 206 | + ```js |
| 207 | + Sentry.init({ |
| 208 | + _experiments: { |
| 209 | + replaysSessionSampleRate: 1.0, |
| 210 | + replaysOnErrorSampleRate: 1.0, |
| 211 | + }, |
| 212 | + }); |
| 213 | + ``` |
| 214 | + |
| 215 | + To change the default Mobile Replay options add the `mobileReplayIntegration`. |
| 216 | + |
| 217 | + ```js |
| 218 | + Sentry.init({ |
| 219 | + _experiments: { |
| 220 | + replaysSessionSampleRate: 1.0, |
| 221 | + replaysOnErrorSampleRate: 1.0, |
| 222 | + }, |
| 223 | + integration: [ |
| 224 | + Sentry.mobileReplayIntegration({ |
| 225 | + maskAllText: true, |
| 226 | + maskAllImages: true, |
| 227 | + }), |
| 228 | + ], |
| 229 | + }); |
| 230 | + ``` |
| 231 | + |
| 232 | + Access is limited to early access orgs on Sentry. If you're interested, [sign up for the waitlist](https://sentry.io/lp/mobile-replay-beta/) |
| 233 | + |
| 234 | +### Dependencies |
| 235 | + |
| 236 | +- Bump Cocoa SDK to [8.25.0-alpha.0](https://github.com/getsentry/sentry-cocoa/releases/tag/8.25.0-alpha.0) |
| 237 | +- Bump Android SDK to [7.9.0-alpha.1](https://github.com/getsentry/sentry-java/releases/tag/7.9.0-alpha.1) |
| 238 | + |
158 | 239 | ## 5.22.0 |
159 | 240 |
|
160 | 241 | ### Features |
@@ -433,7 +514,7 @@ see [the Expo guide](https://docs.sentry.io/platforms/react-native/manual-setup/ |
433 | 514 | const { getSentryExpoConfig } = require("@sentry/react-native/metro"); |
434 | 515 |
|
435 | 516 | // const config = getDefaultConfig(__dirname); |
436 | | - const config = getSentryExpoConfig(config, {}); |
| 517 | + const config = getSentryExpoConfig(__dirname); |
437 | 518 | ``` |
438 | 519 |
|
439 | 520 | - New `npx sentry-expo-upload-sourcemaps` for simple EAS Update (`npx expo export`) source maps upload ([#3491](https://github.com/getsentry/sentry-react-native/pull/3491), [#3510](https://github.com/getsentry/sentry-react-native/pull/3510), [#3515](https://github.com/getsentry/sentry-react-native/pull/3515), [#3507](https://github.com/getsentry/sentry-react-native/pull/3507)) |
|
665 | 746 | }); |
666 | 747 | ``` |
667 | 748 |
|
668 | | - Read more at https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7690 |
| 749 | + Read more at <https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7690> |
669 | 750 |
|
670 | 751 | - Report current screen in `contexts.app.view_names` ([#3339](https://github.com/getsentry/sentry-react-native/pull/3339)) |
671 | 752 |
|
@@ -2704,7 +2785,7 @@ We are looking into ways making this more stable and plan to re-enable it again |
2704 | 2785 |
|
2705 | 2786 | ## v0.23.2 |
2706 | 2787 |
|
2707 | | -- Fixed #228 again ¯\\_(ツ)_/¯ |
| 2788 | +- Fixed #228 again ¯\\*(ツ)*/¯ |
2708 | 2789 |
|
2709 | 2790 | ## v0.23.1 |
2710 | 2791 |
|
|
0 commit comments