diff --git a/CHANGELOG.md b/CHANGELOG.md index cb99e3d53..69d8ca986 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,16 +8,54 @@ ## Unreleased +### Features + +- Add support for `.env.sentry-build-plugin` ([#4281](https://github.com/getsentry/sentry-react-native/pull/4281)) + + Don't commit the file to your repository. Use it to set your Sentry Auth Token. + + ``` + SENTRY_AUTH_TOKEN=your_token_here + ``` + +- Add Sentry Metro Server Source Context middleware ([#4287](https://github.com/getsentry/sentry-react-native/pull/4287)) + + This enables the SDK to add source context to locally symbolicated events using the Metro Development Server. + The middleware can be disabled in `metro.config.js` using the `enableSourceContextInDevelopment` option. + + ```js + // Expo + const { getSentryExpoConfig } = require('@sentry/react-native/metro'); + const config = getSentryExpoConfig(__dirname, { + enableSourceContextInDevelopment: false, + }); + + // React Native + const { withSentryConfig } = require('@sentry/react-native/metro'); + module.exports = withSentryConfig(config, { + enableSourceContextInDevelopment: false, + }); + ``` + ### Fixes +- Prevents exception capture context from being overwritten by native scope sync ([#4124](https://github.com/getsentry/sentry-react-native/pull/4124)) +- Excludes Dev Server and Sentry Dsn requests from Breadcrumbs ([#4240](https://github.com/getsentry/sentry-react-native/pull/4240)) +- Skips development server spans ([#4271](https://github.com/getsentry/sentry-react-native/pull/4271)) +- Execute `DebugSymbolicator` after `RewriteFrames` to avoid overwrites by default ([#4285](https://github.com/getsentry/sentry-react-native/pull/4285)) + - If custom `RewriteFrames` is provided the order changes +- `browserReplayIntegration` is no longer included by default on React Native Web ([#4270](https://github.com/getsentry/sentry-react-native/pull/4270)) - 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)) - This resolves concurrency issues when running multiple bundle processes ### Dependencies -- 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)) +- 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)) - [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#8400) - - [diff](https://github.com/getsentry/sentry-javascript/compare/8.38.0...8.40.0) + - [diff](https://github.com/getsentry/sentry-javascript/compare/8.37.1...8.40.0) +- Bump Android SDK from v7.17.0 to v7.18.0 ([#4289](https://github.com/getsentry/sentry-react-native/pull/4289)) + - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7180) + - [diff](https://github.com/getsentry/sentry-java/compare/7.17.0...7.18.0) - Bump Cocoa SDK from v8.40.1 to v8.41.0 ([#4301](https://github.com/getsentry/sentry-react-native/pull/4301)) - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8410) - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.40.1...8.41.0)