Skip to content

Commit b207edb

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix/native-getdatafromuri-restriction
2 parents 3c6721e + c405834 commit b207edb

36 files changed

Lines changed: 862 additions & 48 deletions

File tree

.github/workflows/buildandtest.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,87 @@ jobs:
168168
${{ github.workspace }}/packages/core/*.tgz
169169
${{ github.workspace }}/packages/expo-upload-sourcemaps/*.tgz
170170
171+
job_validate_tarball:
172+
name: Validate tarball
173+
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:10"]
174+
needs: [job_build, diff_check]
175+
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
176+
timeout-minutes: 5
177+
steps:
178+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
179+
with:
180+
node-version: 18
181+
- name: Download tarball artifacts
182+
uses: actions/download-artifact@v8
183+
with:
184+
name: ${{ github.sha }}
185+
path: artifacts
186+
- name: Verify executable bits in tarball
187+
run: |
188+
set -e
189+
TARBALL=$(find artifacts -name 'sentry-react-native-*.tgz' -print -quit)
190+
[ -n "$TARBALL" ] || { echo "::error::tarball not found in artifacts/"; exit 1; }
191+
echo "Tarball: $TARBALL"
192+
FAILED=0
193+
for entry in package/scripts/sentry-xcode.sh \
194+
package/scripts/sentry-xcode-debug-files.sh \
195+
package/scripts/collect-modules.sh \
196+
package/scripts/eas-build-hook.js \
197+
package/scripts/expo-upload-sourcemaps.js; do
198+
mode=$(tar -tvf "$TARBALL" "$entry" 2>/dev/null | awk 'NR==1{print $1}')
199+
if [ -z "$mode" ]; then
200+
echo "::error::$entry missing from tarball"
201+
FAILED=1
202+
elif [ "$mode" != "-rwxr-xr-x" ]; then
203+
echo "::error::$entry has mode $mode, expected -rwxr-xr-x"
204+
FAILED=1
205+
else
206+
echo "OK: $entry ($mode)"
207+
fi
208+
done
209+
exit $FAILED
210+
- name: Install tarball into fresh project
211+
run: |
212+
set -e
213+
CORE_TARBALL=$(find "$PWD/artifacts" -name 'sentry-react-native-*.tgz' -print -quit)
214+
EXPO_TARBALL=$(find "$PWD/artifacts" -name 'sentry-expo-upload-sourcemaps-*.tgz' -print -quit)
215+
[ -n "$CORE_TARBALL" ] || { echo "::error::core tarball not found"; exit 1; }
216+
[ -n "$EXPO_TARBALL" ] || { echo "::error::expo-upload-sourcemaps tarball not found"; exit 1; }
217+
mkdir -p /tmp/install-test
218+
cd /tmp/install-test
219+
npm init -y >/dev/null
220+
# Install both local tarballs together so the @sentry/expo-upload-sourcemaps
221+
# cross-dep is satisfied locally. On a release branch the bumped version
222+
# is not on the npm registry yet (workspace:* resolves to the version
223+
# we are about to publish), and a registry fetch would fail with ETARGET.
224+
npm install --no-save "$EXPO_TARBALL" "$CORE_TARBALL"
225+
# workspace:* spec must have been resolved by yarn pack (#6037 regression)
226+
if grep -q 'workspace:' node_modules/@sentry/react-native/package.json; then
227+
echo "::error::published package.json still contains unresolved workspace: spec"
228+
grep workspace: node_modules/@sentry/react-native/package.json
229+
exit 1
230+
fi
231+
# bin entries must be linked into node_modules/.bin and executable
232+
for bin in sentry-eas-build-on-complete \
233+
sentry-eas-build-on-error \
234+
sentry-eas-build-on-success \
235+
sentry-expo-upload-sourcemaps; do
236+
if [ ! -x "node_modules/.bin/$bin" ]; then
237+
echo "::error::node_modules/.bin/$bin missing or not executable"
238+
ls -la node_modules/.bin/ | grep -i sentry || true
239+
exit 1
240+
fi
241+
echo "OK: node_modules/.bin/$bin"
242+
done
243+
# sentry-xcode.sh is invoked directly by the iOS build phase, so it
244+
# must remain executable after install (#6047)
245+
if [ ! -x node_modules/@sentry/react-native/scripts/sentry-xcode.sh ]; then
246+
echo "::error::scripts/sentry-xcode.sh is not executable after install"
247+
ls -la node_modules/@sentry/react-native/scripts/sentry-xcode.sh
248+
exit 1
249+
fi
250+
echo "OK: scripts/sentry-xcode.sh executable"
251+
171252
job_type_check:
172253
name: Type Check Typescript 3.8
173254
runs-on: ["ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04", "runner_group_id:10"]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Changelog Preview
2+
on:
3+
pull_request_target:
4+
types:
5+
- opened
6+
- synchronize
7+
- reopened
8+
- edited
9+
- labeled
10+
- unlabeled
11+
permissions:
12+
contents: read
13+
pull-requests: write
14+
15+
jobs:
16+
changelog-preview:
17+
uses: getsentry/craft/.github/workflows/changelog-preview.yml@3dc647fee3586e57c7c31eb900fdec7cbb44f23f # v2.26.2

.github/workflows/e2e-v2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414

1515
env:
1616
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
17-
MAESTRO_VERSION: '2.4.0'
17+
MAESTRO_VERSION: '2.5.0'
1818
IOS_DEVICE: 'iPhone 17'
1919
IOS_VERSION: '>=18.0'
2020

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
cache-dependency-path: yarn.lock
4444

4545
- name: Prepare release
46-
uses: getsentry/craft@97d0c4286f32a80d09c8b89366d762fecc3e27b6 # v2
46+
uses: getsentry/craft@3dc647fee3586e57c7c31eb900fdec7cbb44f23f # v2
4747
env:
4848
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
4949
with:

.github/workflows/sample-application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ concurrency:
1313

1414
env:
1515
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
16-
MAESTRO_VERSION: '2.4.0'
16+
MAESTRO_VERSION: '2.5.0'
1717
MAESTRO_DRIVER_STARTUP_TIMEOUT: 180000 # Increase timeout from default 30s to 180s for CI stability
1818
RN_SENTRY_POD_NAME: RNSentry
1919
IOS_APP_ARCHIVE_PATH: sentry-react-native-sample.app.zip

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
### Features
1212

1313
- Add `includeWebFeedback` Metro config option to exclude `@sentry-internal/feedback` from the bundle ([#6025](https://github.com/getsentry/sentry-react-native/pull/6025))
14+
- Add rage tap detection — rapid consecutive taps on the same element emit `ui.multiClick` breadcrumbs and appear on the replay timeline with the rage click icon ([#5992](https://github.com/getsentry/sentry-react-native/pull/5992))
1415

1516
### Fixes
1617

@@ -24,6 +25,13 @@
2425
- [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#10500)
2526
- [diff](https://github.com/getsentry/sentry-javascript/compare/10.49.0...10.50.0)
2627

28+
## 8.9.2
29+
30+
### Fixes
31+
32+
- Restore executable bit on shell scripts in the published tarball, fixing `Permission denied` on iOS build ([#6049](https://github.com/getsentry/sentry-react-native/pull/6049))
33+
- Restore EAS build hook bin scripts (`sentry-eas-build-on-{success,error,complete}`) missing from the published tarball ([#6049](https://github.com/getsentry/sentry-react-native/pull/6049))
34+
2735
## 8.9.1
2836

2937
### Features

SDK-VERSIONS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ To manually update the table with the current version, run `./scripts/update-sdk
1212

1313
| React Native SDK | Android SDK | Cocoa SDK | JavaScript SDK |
1414
| ---------------- | ----------- | --------- | -------------- |
15+
| [8.9.2](https://github.com/getsentry/sentry-react-native/releases/tag/8.9.2) | [8.40.0](https://github.com/getsentry/sentry-java/releases/tag/8.40.0) | [9.11.0](https://github.com/getsentry/sentry-cocoa/releases/tag/9.11.0) | [10.49.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.49.0) |
1516
| [8.9.1](https://github.com/getsentry/sentry-react-native/releases/tag/8.9.1) | [8.40.0](https://github.com/getsentry/sentry-java/releases/tag/8.40.0) | [9.11.0](https://github.com/getsentry/sentry-cocoa/releases/tag/9.11.0) | [10.49.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.49.0) |
1617
| [8.8.0](https://github.com/getsentry/sentry-react-native/releases/tag/8.8.0) | [8.38.0](https://github.com/getsentry/sentry-java/releases/tag/8.38.0) | [9.10.0](https://github.com/getsentry/sentry-cocoa/releases/tag/9.10.0) | [10.48.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.48.0) |
1718
| [8.7.0](https://github.com/getsentry/sentry-react-native/releases/tag/8.7.0) | [8.37.1](https://github.com/getsentry/sentry-java/releases/tag/8.37.1) | [9.8.0](https://github.com/getsentry/sentry-cocoa/releases/tag/9.8.0) | [10.47.0](https://github.com/getsentry/sentry-javascript/releases/tag/10.47.0) |

dev-packages/e2e-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry-react-native-e2e-tests",
3-
"version": "8.9.1",
3+
"version": "8.9.2",
44
"private": true,
55
"description": "Sentry React Native End to End Tests Library",
66
"main": "dist/index.js",
@@ -14,7 +14,7 @@
1414
"@babel/preset-env": "^7.25.3",
1515
"@babel/preset-typescript": "^7.18.6",
1616
"@sentry/core": "10.50.0",
17-
"@sentry/react-native": "8.9.1",
17+
"@sentry/react-native": "8.9.2",
1818
"@types/node": "^20.9.3",
1919
"@types/react": "^18.2.64",
2020
"appium": "3.2.2",

dev-packages/type-check/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sentry-react-native-type-check",
33
"private": true,
4-
"version": "8.9.1",
4+
"version": "8.9.2",
55
"scripts": {
66
"type-check": "./run-type-check.sh"
77
}

dev-packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry-react-native-samples-utils",
3-
"version": "8.9.1",
3+
"version": "8.9.2",
44
"description": "Internal Samples Utils",
55
"main": "index.js",
66
"license": "MIT",

0 commit comments

Comments
 (0)