From fee63c338851067a180061905faba47798a50a04 Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Wed, 27 Aug 2025 19:03:02 +0200 Subject: [PATCH 1/5] chore(e2e): Bump E2E tests to RN 0.81.1 --- .github/workflows/e2e-v2.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e-v2.yml b/.github/workflows/e2e-v2.yml index 2e9fc2c0c2..c6cf1bf81e 100644 --- a/.github/workflows/e2e-v2.yml +++ b/.github/workflows/e2e-v2.yml @@ -163,7 +163,7 @@ jobs: strategy: fail-fast: false # keeps matrix running if one fails matrix: - rn-version: ['0.65.3', '0.81.0'] + rn-version: ['0.65.3', '0.81.1'] rn-architecture: ['legacy', 'new'] platform: ['android', 'ios'] build-type: ['production'] @@ -171,7 +171,7 @@ jobs: engine: ['hermes', 'jsc'] include: - platform: ios - rn-version: '0.81.0' + rn-version: '0.81.1' xcode-version: '16.2' runs-on: macos-14 - platform: ios @@ -182,7 +182,7 @@ jobs: runs-on: ubuntu-latest exclude: # exclude JSC for new RN versions (keeping the matrix manageable) - - rn-version: '0.81.0' + - rn-version: '0.81.1' engine: 'jsc' # exclude all rn versions lower than 0.70.0 for new architecture - rn-version: '0.65.3' @@ -301,7 +301,7 @@ jobs: strategy: fail-fast: false # keeps matrix running if one fails matrix: - rn-version: ['0.65.3', '0.81.0'] + rn-version: ['0.65.3', '0.81.1'] rn-architecture: ['legacy', 'new'] platform: ['android', 'ios'] build-type: ['production'] @@ -309,7 +309,7 @@ jobs: engine: ['hermes', 'jsc'] include: - platform: ios - rn-version: '0.81.0' + rn-version: '0.81.1' runs-on: macos-14 - platform: ios rn-version: '0.65.3' @@ -323,7 +323,7 @@ jobs: # e2e test only the default combinations - rn-version: '0.65.3' engine: 'hermes' - - rn-version: '0.81.0' + - rn-version: '0.81.1' engine: 'jsc' steps: From f81b534b824e616ab3b3fe8708358b48384a2dc5 Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Thu, 4 Sep 2025 11:55:59 +0200 Subject: [PATCH 2/5] fix quote issue in rn 0.81.1 --- dev-packages/e2e-tests/patch-scripts/rn.patch.xcode.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-packages/e2e-tests/patch-scripts/rn.patch.xcode.js b/dev-packages/e2e-tests/patch-scripts/rn.patch.xcode.js index 072a885720..585a8cc1cd 100755 --- a/dev-packages/e2e-tests/patch-scripts/rn.patch.xcode.js +++ b/dev-packages/e2e-tests/patch-scripts/rn.patch.xcode.js @@ -20,6 +20,7 @@ if (!args['rn-version']) { debug.log('Patching Xcode project', args.project, 'for RN version', args['rn-version']); const newBundleScriptRNVersion = '0.69.0-rc.0'; +const quotesFixRNVersion = '0.81.1'; // Version where quotes break the script let bundleScript; let bundleScriptRegex; @@ -38,11 +39,14 @@ export NODE_BINARY=node bundlePatchRegex = /sentry-cli\s+react-native[\s-]xcode/; } else if (semver.satisfies(args['rn-version'], `>= ${newBundleScriptRNVersion}`, { includePrerelease: true })) { debug.log('Applying new bundle script patch'); + const useQuotes = semver.lt(args['rn-version'], quotesFixRNVersion); + const quoteChar = useQuotes ? '\\"' : ''; + bundleScript = ` WITH_ENVIRONMENT="../node_modules/react-native/scripts/xcode/with-environment.sh" REACT_NATIVE_XCODE="../node_modules/react-native/scripts/react-native-xcode.sh" -/bin/sh -c "$WITH_ENVIRONMENT \\"/bin/sh ../node_modules/@sentry/react-native/scripts/sentry-xcode.sh $REACT_NATIVE_XCODE\\"" +/bin/sh -c "$WITH_ENVIRONMENT ${quoteChar}/bin/sh ../node_modules/@sentry/react-native/scripts/sentry-xcode.sh $REACT_NATIVE_XCODE${quoteChar}" `; bundleScriptRegex = /\/scripts\/react-native-xcode\.sh/i; bundlePatchRegex = /sentry-cli\s+react-native\s+xcode/i; From 7f731c5e3a9c7b58dac613ce374673ddbcaff8f1 Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Tue, 9 Sep 2025 16:32:27 +0200 Subject: [PATCH 3/5] Bump to 0.82.0-rc.1 --- .github/workflows/e2e-v2.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e-v2.yml b/.github/workflows/e2e-v2.yml index 252c88e88b..ca9c3e63aa 100644 --- a/.github/workflows/e2e-v2.yml +++ b/.github/workflows/e2e-v2.yml @@ -164,7 +164,7 @@ jobs: strategy: fail-fast: false # keeps matrix running if one fails matrix: - rn-version: ['0.65.3', '0.81.1'] + rn-version: ['0.65.3', '0.82.0-rc.1'] rn-architecture: ['legacy', 'new'] platform: ['android', 'ios'] build-type: ['production'] @@ -172,7 +172,7 @@ jobs: engine: ['hermes', 'jsc'] include: - platform: ios - rn-version: '0.81.1' + rn-version: '0.82.0-rc.1' xcode-version: '16.2' runs-on: macos-14 - platform: ios @@ -183,7 +183,7 @@ jobs: runs-on: ubuntu-latest exclude: # exclude JSC for new RN versions (keeping the matrix manageable) - - rn-version: '0.81.1' + - rn-version: '0.82.0-rc.1' engine: 'jsc' # exclude all rn versions lower than 0.70.0 for new architecture - rn-version: '0.65.3' @@ -304,7 +304,7 @@ jobs: strategy: fail-fast: false # keeps matrix running if one fails matrix: - rn-version: ['0.65.3', '0.81.1'] + rn-version: ['0.65.3', '0.82.0-rc.1'] rn-architecture: ['legacy', 'new'] platform: ['android', 'ios'] build-type: ['production'] @@ -312,7 +312,7 @@ jobs: engine: ['hermes', 'jsc'] include: - platform: ios - rn-version: '0.81.1' + rn-version: '0.82.0-rc.1' runs-on: macos-14 - platform: ios rn-version: '0.65.3' @@ -326,7 +326,7 @@ jobs: # e2e test only the default combinations - rn-version: '0.65.3' engine: 'hermes' - - rn-version: '0.81.1' + - rn-version: '0.82.0-rc.1' engine: 'jsc' steps: From e9ec0397c52c64f4812a46260cd5dd908f52ab0c Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Fri, 3 Oct 2025 16:37:36 +0200 Subject: [PATCH 4/5] bump to rc-5 --- .github/workflows/e2e-v2.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e-v2.yml b/.github/workflows/e2e-v2.yml index f9636838c0..ea84e708f0 100644 --- a/.github/workflows/e2e-v2.yml +++ b/.github/workflows/e2e-v2.yml @@ -164,7 +164,7 @@ jobs: strategy: fail-fast: false # keeps matrix running if one fails matrix: - rn-version: ['0.65.3', '0.82.0-rc.1'] + rn-version: ['0.65.3', '0.82.0-rc.5'] rn-architecture: ['legacy', 'new'] platform: ['android', 'ios'] build-type: ['production'] @@ -172,7 +172,7 @@ jobs: engine: ['hermes', 'jsc'] include: - platform: ios - rn-version: '0.82.0-rc.1' + rn-version: '0.82.0-rc.5' xcode-version: '16.2' runs-on: macos-14 - platform: ios @@ -183,7 +183,7 @@ jobs: runs-on: ubuntu-latest exclude: # exclude JSC for new RN versions (keeping the matrix manageable) - - rn-version: '0.82.0-rc.1' + - rn-version: '0.82.0-rc.5' engine: 'jsc' # exclude all rn versions lower than 0.70.0 for new architecture - rn-version: '0.65.3' @@ -304,7 +304,7 @@ jobs: strategy: fail-fast: false # keeps matrix running if one fails matrix: - rn-version: ['0.65.3', '0.82.0-rc.1'] + rn-version: ['0.65.3', '0.82.0-rc.5'] rn-architecture: ['legacy', 'new'] platform: ['android', 'ios'] build-type: ['production'] @@ -312,7 +312,7 @@ jobs: engine: ['hermes', 'jsc'] include: - platform: ios - rn-version: '0.82.0-rc.1' + rn-version: '0.82.0-rc.5' runs-on: macos-14 - platform: ios rn-version: '0.65.3' @@ -326,7 +326,7 @@ jobs: # e2e test only the default combinations - rn-version: '0.65.3' engine: 'hermes' - - rn-version: '0.82.0-rc.1' + - rn-version: '0.82.0-rc.5' engine: 'jsc' steps: From b1cd313617f5023a2acd5770084dc729cff3848c Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Mon, 13 Oct 2025 16:17:34 +0200 Subject: [PATCH 5/5] Set to final 0.82 --- .github/workflows/e2e-v2.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e-v2.yml b/.github/workflows/e2e-v2.yml index ea84e708f0..099cd6cd46 100644 --- a/.github/workflows/e2e-v2.yml +++ b/.github/workflows/e2e-v2.yml @@ -164,7 +164,7 @@ jobs: strategy: fail-fast: false # keeps matrix running if one fails matrix: - rn-version: ['0.65.3', '0.82.0-rc.5'] + rn-version: ['0.65.3', '0.82.0'] rn-architecture: ['legacy', 'new'] platform: ['android', 'ios'] build-type: ['production'] @@ -172,7 +172,7 @@ jobs: engine: ['hermes', 'jsc'] include: - platform: ios - rn-version: '0.82.0-rc.5' + rn-version: '0.82.0' xcode-version: '16.2' runs-on: macos-14 - platform: ios @@ -183,7 +183,7 @@ jobs: runs-on: ubuntu-latest exclude: # exclude JSC for new RN versions (keeping the matrix manageable) - - rn-version: '0.82.0-rc.5' + - rn-version: '0.82.0' engine: 'jsc' # exclude all rn versions lower than 0.70.0 for new architecture - rn-version: '0.65.3' @@ -304,7 +304,7 @@ jobs: strategy: fail-fast: false # keeps matrix running if one fails matrix: - rn-version: ['0.65.3', '0.82.0-rc.5'] + rn-version: ['0.65.3', '0.82.0'] rn-architecture: ['legacy', 'new'] platform: ['android', 'ios'] build-type: ['production'] @@ -312,7 +312,7 @@ jobs: engine: ['hermes', 'jsc'] include: - platform: ios - rn-version: '0.82.0-rc.5' + rn-version: '0.82.0' runs-on: macos-14 - platform: ios rn-version: '0.65.3' @@ -326,7 +326,7 @@ jobs: # e2e test only the default combinations - rn-version: '0.65.3' engine: 'hermes' - - rn-version: '0.82.0-rc.5' + - rn-version: '0.82.0' engine: 'jsc' steps: