From 99cad06ef944f861f0e5faefb4255d15205851ef Mon Sep 17 00:00:00 2001 From: Krystof Woldrich Date: Tue, 7 Feb 2023 21:24:40 +0100 Subject: [PATCH 1/4] Add v5 GA changelog candidate --- CHANGELOG.md | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d9472bc19..24c17fa163 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,20 +4,36 @@ ### Features +- Add support for the RN New Architecture, backwards compatible RNSentry Turbo Module ([#2522](https://github.com/getsentry/sentry-react-native/pull/2522)) - Add View Hierarchy to the crashed/errored events ([#2708](https://github.com/getsentry/sentry-react-native/pull/2708)) -- Collect modules script for XCode builds supports NODE_BINARY to set path to node executable ([#2805](https://github.com/getsentry/sentry-react-native/pull/2805)) +- Send react native js engine, turbo module, fabric flags and component stack in Event contexts ([#2552](https://github.com/getsentry/sentry-react-native/pull/2552)) +- Sync `tags`, `extra`, `fingerprint`, `level`, `environment` and `breadcrumbs` from `sentry-cocoa` during event processing. ([#2713](https://github.com/getsentry/sentry-react-native/pull/2713)) + - `breadcrumb.level` value `log` is transformed to `debug` when syncing with native layers. + - Remove `breadcrumb.level` value `critical` transformation to `fatal`. + - Default `breadcrumb.level` is `info` + +### Breaking changes + +- Option `enableAutoPerformanceTracking` renamed to `enableAutoPerformanceTracing` +- Option `enableOutOfMemoryTracking` renamed to `enableWatchdogTerminationTracking` +- Auto linking for RN >= 0.69 ([#2332](https://github.com/getsentry/sentry-react-native/pull/2332)) +- iOS min target 12.4, Android API min 21, min React Native version 0.65 ([#2522](https://github.com/getsentry/sentry-react-native/pull/2522), [](TODO: add RN version min PR)) +- New ReactNativeTracingOptions idleTimeoutMs and finalTimeoutMs replacing idleTimeout and maxTransactionDuration respectively ([#2481](https://github.com/getsentry/sentry-react-native/pull/2481)) +- `touchEventBoundaryProps.labelName` property instead of default `accessibilityLabel` fallback ([#2712](https://github.com/getsentry/sentry-react-native/pull/2712)) +- Message event current stack trace moved from exception to threads ([#2694](https://github.com/getsentry/sentry-react-native/pull/2694)) + +### Fixes + +- Unreachable fallback to fetch transport if native is not available ([#2695](https://github.com/getsentry/sentry-react-native/pull/2695)) ### Dependencies -- Bump Android SDK from v6.12.1 to v6.13.1 ([#2790](https://github.com/getsentry/sentry-react-native/pull/2790), [#2809](https://github.com/getsentry/sentry-react-native/pull/2809)) - - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6131) - - [diff](https://github.com/getsentry/sentry-java/compare/6.12.1...6.13.1) -- Bump Sample React Native from v0.71.0 to v0.71.1 ([#2767](https://github.com/getsentry/sentry-react-native/pull/2767)) - - [changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0711) - - [diff](https://github.com/facebook/react-native/compare/v0.71.0...v0.71.1) -- Bump JavaScript SDK from v7.32.1 to v7.36.0 ([#2785](https://github.com/getsentry/sentry-react-native/pull/2785), [#2799](https://github.com/getsentry/sentry-react-native/pull/2799)) - - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7360) - - [diff](https://github.com/getsentry/sentry-javascript/compare/7.32.1...7.36.0) +- Bump Cocoa SDK from v7.31.5 to v8.0.0 ([#2756](https://github.com/getsentry/sentry-react-native/pull/2756)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#800) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.31.5...8.0.0) +- Bump CLI from v1.74.4 to v2.10.0 ([#2669](https://github.com/getsentry/sentry-react-native/pull/2669)) + - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2100) + - [diff](https://github.com/getsentry/sentry-cli/compare/1.74.4...2.10.0) ## 5.0.0-beta.1 From bd2436a341735621ba32700e531d8dfb6525d5db Mon Sep 17 00:00:00 2001 From: Krystof Woldrich Date: Mon, 13 Feb 2023 12:57:26 +0100 Subject: [PATCH 2/4] Add docs migration link and min rn version pr --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24c17fa163..cca1e8fe61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +The React Native SDK version 5 supports both Legacy (from RN 0.65 and above) and New Architecture (from RN 0.69 and above) as well as the new React Native Gradle Plugin (introduced in RN 0.71). For detailed [migration guide visit our docs](https://docs.sentry.io/platforms/react-native/migration/#from-4x-to-5x). + ### Features - Add support for the RN New Architecture, backwards compatible RNSentry Turbo Module ([#2522](https://github.com/getsentry/sentry-react-native/pull/2522)) @@ -17,7 +19,7 @@ - Option `enableAutoPerformanceTracking` renamed to `enableAutoPerformanceTracing` - Option `enableOutOfMemoryTracking` renamed to `enableWatchdogTerminationTracking` - Auto linking for RN >= 0.69 ([#2332](https://github.com/getsentry/sentry-react-native/pull/2332)) -- iOS min target 12.4, Android API min 21, min React Native version 0.65 ([#2522](https://github.com/getsentry/sentry-react-native/pull/2522), [](TODO: add RN version min PR)) +- iOS min target 11, Android API min 21, min React Native version 0.65 ([#2522](https://github.com/getsentry/sentry-react-native/pull/2522), [#2687](https://github.com/getsentry/sentry-react-native/pull/2687)) - New ReactNativeTracingOptions idleTimeoutMs and finalTimeoutMs replacing idleTimeout and maxTransactionDuration respectively ([#2481](https://github.com/getsentry/sentry-react-native/pull/2481)) - `touchEventBoundaryProps.labelName` property instead of default `accessibilityLabel` fallback ([#2712](https://github.com/getsentry/sentry-react-native/pull/2712)) - Message event current stack trace moved from exception to threads ([#2694](https://github.com/getsentry/sentry-react-native/pull/2694)) From 905afcc0eecdb5ce5f3c7fe21dc93da9486accae Mon Sep 17 00:00:00 2001 From: Krystof Woldrich Date: Mon, 13 Feb 2023 13:03:43 +0100 Subject: [PATCH 3/4] Reword auto linking entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cca1e8fe61..c7cfae5d7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ The React Native SDK version 5 supports both Legacy (from RN 0.65 and above) and - Option `enableAutoPerformanceTracking` renamed to `enableAutoPerformanceTracing` - Option `enableOutOfMemoryTracking` renamed to `enableWatchdogTerminationTracking` -- Auto linking for RN >= 0.69 ([#2332](https://github.com/getsentry/sentry-react-native/pull/2332)) +- Remove link hooks (RN 0.68 and older) ([#2332](https://github.com/getsentry/sentry-react-native/pull/2332)) - iOS min target 11, Android API min 21, min React Native version 0.65 ([#2522](https://github.com/getsentry/sentry-react-native/pull/2522), [#2687](https://github.com/getsentry/sentry-react-native/pull/2687)) - New ReactNativeTracingOptions idleTimeoutMs and finalTimeoutMs replacing idleTimeout and maxTransactionDuration respectively ([#2481](https://github.com/getsentry/sentry-react-native/pull/2481)) - `touchEventBoundaryProps.labelName` property instead of default `accessibilityLabel` fallback ([#2712](https://github.com/getsentry/sentry-react-native/pull/2712)) From 6722849214cb06600446296064d9daba01c49c7b Mon Sep 17 00:00:00 2001 From: Krystof Woldrich Date: Tue, 14 Feb 2023 11:15:50 +0100 Subject: [PATCH 4/4] Fix the changelog --- CHANGELOG.md | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57fc7f115c..c7a78f048c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,6 @@ # Changelog -## 5.0.0-rc.1 - -### Fixes - -- React Native Error Handlers Integration doesn't crash if ErrorUtils are not available ([#2808](https://github.com/getsentry/sentry-react-native/pull/2808)) - -## 5.0.0-beta.2 +## Unreleased The React Native SDK version 5 supports both Legacy (from RN 0.65 and above) and New Architecture (from RN 0.69 and above) as well as the new React Native Gradle Plugin (introduced in RN 0.71). For detailed [migration guide visit our docs](https://docs.sentry.io/platforms/react-native/migration/#from-4x-to-5x). @@ -43,6 +37,31 @@ The React Native SDK version 5 supports both Legacy (from RN 0.65 and above) and - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2100) - [diff](https://github.com/getsentry/sentry-cli/compare/1.74.4...2.10.0) +## 5.0.0-rc.1 + +### Fixes + +- React Native Error Handlers Integration doesn't crash if ErrorUtils are not available ([#2808](https://github.com/getsentry/sentry-react-native/pull/2808)) + +## 5.0.0-beta.2 + +### Features + +- Add View Hierarchy to the crashed/errored events ([#2708](https://github.com/getsentry/sentry-react-native/pull/2708)) +- Collect modules script for XCode builds supports NODE_BINARY to set path to node executable ([#2805](https://github.com/getsentry/sentry-react-native/pull/2805)) + +### Dependencies + +- Bump Android SDK from v6.12.1 to v6.13.1 ([#2790](https://github.com/getsentry/sentry-react-native/pull/2790), [#2809](https://github.com/getsentry/sentry-react-native/pull/2809)) + - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6131) + - [diff](https://github.com/getsentry/sentry-java/compare/6.12.1...6.13.1) +- Bump Sample React Native from v0.71.0 to v0.71.1 ([#2767](https://github.com/getsentry/sentry-react-native/pull/2767)) + - [changelog](https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0711) + - [diff](https://github.com/facebook/react-native/compare/v0.71.0...v0.71.1) +- Bump JavaScript SDK from v7.32.1 to v7.36.0 ([#2785](https://github.com/getsentry/sentry-react-native/pull/2785), [#2799](https://github.com/getsentry/sentry-react-native/pull/2799)) + - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7360) + - [diff](https://github.com/getsentry/sentry-javascript/compare/7.32.1...7.36.0) + ## 5.0.0-beta.1 - Latest changes from 4.14.0