|
2 | 2 |
|
3 | 3 | ## Unreleased |
4 | 4 |
|
| 5 | +### Features |
| 6 | + |
| 7 | +- Redact `react-native-svg` SVGs when `maskAllVectors` ([#3930](https://github.com/getsentry/sentry-react-native/pull/3930)) |
| 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 | + ``` |
| 20 | + |
| 21 | +### Fixes |
| 22 | + |
| 23 | +- Add `app.foreground/background` breadcrumbs to iOS Replays ([#3932](https://github.com/getsentry/sentry-react-native/pull/3932)) |
| 24 | + |
5 | 25 | ### Dependencies |
6 | 26 |
|
| 27 | +- Bump Android SDK from v7.11.0-alpha.2 to v7.12.0-alpha.4 ([#3830](https://github.com/getsentry/sentry-react-native/pull/3830)) |
| 28 | + - [changelog](https://github.com/getsentry/sentry-java/blob/7.12.0-alpha.3/CHANGELOG.md#7120-alpha4) |
| 29 | + - [diff](https://github.com/getsentry/sentry-java/compare/7.11.0-alpha.2...7.12.0-alpha.4) |
7 | 30 | - Bump Cocoa SDK from v8.30.0 to v8.30.1 ([#3936](https://github.com/getsentry/sentry-react-native/pull/3936)) |
8 | 31 | - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8301) |
9 | 32 | - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.30.0...8.30.1) |
|
31 | 54 | - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7110) |
32 | 55 | - [diff](https://github.com/getsentry/sentry-java/compare/7.10.0...7.11.0) |
33 | 56 |
|
| 57 | +## 5.25.0-alpha.2 |
| 58 | + |
| 59 | +### Features |
| 60 | + |
| 61 | +- 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)) |
| 62 | +- Add replay breadcrumbs for touch & navigation events ([#3846](https://github.com/getsentry/sentry-react-native/pull/3846)) |
| 63 | +- Add network data to Session Replays ([#3912](https://github.com/getsentry/sentry-react-native/pull/3912)) |
| 64 | +- Filter Sentry Event Breadcrumbs from Mobile Replays ([#3925](https://github.com/getsentry/sentry-react-native/pull/3925)) |
| 65 | + |
| 66 | +### Fixes |
| 67 | + |
| 68 | +- `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)) |
| 69 | + |
| 70 | +### Dependencies |
| 71 | + |
| 72 | +- Bump Cocoa SDK from v8.25.0-alpha.0 to v8.30.0 ([#3914](https://github.com/getsentry/sentry-react-native/pull/3914)) |
| 73 | + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8300) |
| 74 | + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.25.0-alpha.0...8.30.0) |
| 75 | +- 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)) |
| 76 | + - [changelog](https://github.com/getsentry/sentry-java/blob/7.11.0-alpha.2/CHANGELOG.md#7110-alpha2) |
| 77 | + - [diff](https://github.com/getsentry/sentry-java/compare/7.9.0-alpha.1...7.11.0-alpha.2) |
| 78 | + |
| 79 | +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/) |
| 80 | + |
34 | 81 | ## 5.24.1 |
35 | 82 |
|
36 | 83 | ### Fixes |
@@ -130,6 +177,14 @@ This release does *not* build on iOS. Please use `5.23.1` or newer. |
130 | 177 | - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8270) |
131 | 178 | - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.26.0...8.27.0) |
132 | 179 |
|
| 180 | +## 5.23.0-alpha.1 |
| 181 | + |
| 182 | +### Fixes |
| 183 | + |
| 184 | +- Pass `replaysSessionSampleRate` option to Android ([#3714](https://github.com/getsentry/sentry-react-native/pull/3714)) |
| 185 | + |
| 186 | +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/) |
| 187 | + |
133 | 188 | ## 5.22.3 |
134 | 189 |
|
135 | 190 | ### Fixes |
@@ -163,6 +218,47 @@ This release does *not* build on iOS. Please use `5.23.1` or newer. |
163 | 218 | - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8250) |
164 | 219 | - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.24.0...8.25.0) |
165 | 220 |
|
| 221 | +## 5.23.0-alpha.0 |
| 222 | + |
| 223 | +### Features |
| 224 | + |
| 225 | +- Mobile Session Replay Alpha ([#3714](https://github.com/getsentry/sentry-react-native/pull/3714)) |
| 226 | + |
| 227 | + To enable Replay for React Native on mobile and web add the following options. |
| 228 | + |
| 229 | + ```js |
| 230 | + Sentry.init({ |
| 231 | + _experiments: { |
| 232 | + replaysSessionSampleRate: 1.0, |
| 233 | + replaysOnErrorSampleRate: 1.0, |
| 234 | + }, |
| 235 | + }); |
| 236 | + ``` |
| 237 | + |
| 238 | + To change the default Mobile Replay options add the `mobileReplayIntegration`. |
| 239 | + |
| 240 | + ```js |
| 241 | + Sentry.init({ |
| 242 | + _experiments: { |
| 243 | + replaysSessionSampleRate: 1.0, |
| 244 | + replaysOnErrorSampleRate: 1.0, |
| 245 | + }, |
| 246 | + integration: [ |
| 247 | + Sentry.mobileReplayIntegration({ |
| 248 | + maskAllText: true, |
| 249 | + maskAllImages: true, |
| 250 | + }), |
| 251 | + ], |
| 252 | + }); |
| 253 | + ``` |
| 254 | + |
| 255 | + 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/) |
| 256 | + |
| 257 | +### Dependencies |
| 258 | + |
| 259 | +- Bump Cocoa SDK to [8.25.0-alpha.0](https://github.com/getsentry/sentry-cocoa/releases/tag/8.25.0-alpha.0) |
| 260 | +- Bump Android SDK to [7.9.0-alpha.1](https://github.com/getsentry/sentry-java/releases/tag/7.9.0-alpha.1) |
| 261 | + |
166 | 262 | ## 5.22.0 |
167 | 263 |
|
168 | 264 | ### Features |
@@ -441,7 +537,7 @@ see [the Expo guide](https://docs.sentry.io/platforms/react-native/manual-setup/ |
441 | 537 | const { getSentryExpoConfig } = require("@sentry/react-native/metro"); |
442 | 538 |
|
443 | 539 | // const config = getDefaultConfig(__dirname); |
444 | | - const config = getSentryExpoConfig(config, {}); |
| 540 | + const config = getSentryExpoConfig(__dirname); |
445 | 541 | ``` |
446 | 542 |
|
447 | 543 | - 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)) |
|
673 | 769 | }); |
674 | 770 | ``` |
675 | 771 |
|
676 | | - Read more at https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7690 |
| 772 | + Read more at <https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7690> |
677 | 773 |
|
678 | 774 | - Report current screen in `contexts.app.view_names` ([#3339](https://github.com/getsentry/sentry-react-native/pull/3339)) |
679 | 775 |
|
@@ -2712,7 +2808,7 @@ We are looking into ways making this more stable and plan to re-enable it again |
2712 | 2808 |
|
2713 | 2809 | ## v0.23.2 |
2714 | 2810 |
|
2715 | | -- Fixed #228 again ¯\\_(ツ)_/¯ |
| 2811 | +- Fixed #228 again ¯\\*(ツ)*/¯ |
2716 | 2812 |
|
2717 | 2813 | ## v0.23.1 |
2718 | 2814 |
|
|
0 commit comments