|
8 | 8 |
|
9 | 9 | ## Unreleased
|
10 | 10 |
|
| 11 | +### Features |
| 12 | + |
| 13 | +- Add support for `.env.sentry-build-plugin` ([#4281](https://github.com/getsentry/sentry-react-native/pull/4281)) |
| 14 | + |
| 15 | + Don't commit the file to your repository. Use it to set your Sentry Auth Token. |
| 16 | + |
| 17 | + ``` |
| 18 | + SENTRY_AUTH_TOKEN=your_token_here |
| 19 | + ``` |
| 20 | + |
| 21 | +- Add Sentry Metro Server Source Context middleware ([#4287](https://github.com/getsentry/sentry-react-native/pull/4287)) |
| 22 | + |
| 23 | + This enables the SDK to add source context to locally symbolicated events using the Metro Development Server. |
| 24 | + The middleware can be disabled in `metro.config.js` using the `enableSourceContextInDevelopment` option. |
| 25 | + |
| 26 | + ```js |
| 27 | + // Expo |
| 28 | + const { getSentryExpoConfig } = require('@sentry/react-native/metro'); |
| 29 | + const config = getSentryExpoConfig(__dirname, { |
| 30 | + enableSourceContextInDevelopment: false, |
| 31 | + }); |
| 32 | + |
| 33 | + // React Native |
| 34 | + const { withSentryConfig } = require('@sentry/react-native/metro'); |
| 35 | + module.exports = withSentryConfig(config, { |
| 36 | + enableSourceContextInDevelopment: false, |
| 37 | + }); |
| 38 | + ``` |
| 39 | + |
11 | 40 | ### Fixes
|
12 | 41 |
|
| 42 | +- Prevents exception capture context from being overwritten by native scope sync ([#4124](https://github.com/getsentry/sentry-react-native/pull/4124)) |
| 43 | +- Excludes Dev Server and Sentry Dsn requests from Breadcrumbs ([#4240](https://github.com/getsentry/sentry-react-native/pull/4240)) |
| 44 | +- Skips development server spans ([#4271](https://github.com/getsentry/sentry-react-native/pull/4271)) |
| 45 | +- Execute `DebugSymbolicator` after `RewriteFrames` to avoid overwrites by default ([#4285](https://github.com/getsentry/sentry-react-native/pull/4285)) |
| 46 | + - If custom `RewriteFrames` is provided the order changes |
| 47 | +- `browserReplayIntegration` is no longer included by default on React Native Web ([#4270](https://github.com/getsentry/sentry-react-native/pull/4270)) |
13 | 48 | - Remove `.sentry` tmp directory and use environmental variables instead to save default Babel transformer path ([#4298](https://github.com/getsentry/sentry-react-native/pull/4298))
|
14 | 49 | - This resolves concurrency issues when running multiple bundle processes
|
15 | 50 |
|
16 | 51 | ### Dependencies
|
17 | 52 |
|
18 |
| -- Bump JavaScript SDK from v8.38.0 to v8.40.0 ([#4293](https://github.com/getsentry/sentry-react-native/pull/4293), [#4304](https://github.com/getsentry/sentry-react-native/pull/4304)) |
| 53 | +- Bump JavaScript SDK from v8.37.1 to v8.40.0 ([#4267](https://github.com/getsentry/sentry-react-native/pull/4267), [#4293](https://github.com/getsentry/sentry-react-native/pull/4293), [#4304](https://github.com/getsentry/sentry-react-native/pull/4304)) |
19 | 54 | - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#8400)
|
20 |
| - - [diff](https://github.com/getsentry/sentry-javascript/compare/8.38.0...8.40.0) |
| 55 | + - [diff](https://github.com/getsentry/sentry-javascript/compare/8.37.1...8.40.0) |
| 56 | +- Bump Android SDK from v7.17.0 to v7.18.0 ([#4289](https://github.com/getsentry/sentry-react-native/pull/4289)) |
| 57 | + - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7180) |
| 58 | + - [diff](https://github.com/getsentry/sentry-java/compare/7.17.0...7.18.0) |
21 | 59 | - Bump Cocoa SDK from v8.40.1 to v8.41.0 ([#4301](https://github.com/getsentry/sentry-react-native/pull/4301))
|
22 | 60 | - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8410)
|
23 | 61 | - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.40.1...8.41.0)
|
|
0 commit comments