Skip to content

Commit 61ef053

Browse files
Merge remote-tracking branch 'origin/main' into v7
2 parents a1bd56f + 834729f commit 61ef053

File tree

61 files changed

+2390
-987
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+2390
-987
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # [email protected].15
47+
uses: github/codeql-action/init@60168efe1c415ce0f5521ea06d5c2062adbeed1b # [email protected].17
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +55,7 @@ jobs:
5555
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5656
# If this step fails, then you should remove it and run the build manually (see below)
5757
- name: Autobuild
58-
uses: github/codeql-action/autobuild@45775bd8235c68ba998cffa5171334d58593da47 # [email protected].15
58+
uses: github/codeql-action/autobuild@60168efe1c415ce0f5521ea06d5c2062adbeed1b # [email protected].17
5959

6060
# ℹ️ Command-line programs to run using the OS shell.
6161
# 📚 https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
@@ -66,4 +66,4 @@ jobs:
6666
# make bootstrap
6767
# make release
6868
- name: Perform CodeQL Analysis
69-
uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # [email protected].15
69+
uses: github/codeql-action/analyze@60168efe1c415ce0f5521ea06d5c2062adbeed1b # [email protected].17

.github/workflows/e2e.yml

Lines changed: 7 additions & 7 deletions
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: '1.39.0'
17+
MAESTRO_VERSION: '1.40.2'
1818
IOS_DEVICE: 'iPhone 16'
1919
IOS_VERSION: '18.1'
2020

@@ -163,15 +163,15 @@ jobs:
163163
strategy:
164164
fail-fast: false # keeps matrix running if one fails
165165
matrix:
166-
rn-version: ['0.65.3', '0.77.1']
166+
rn-version: ['0.65.3', '0.79.1']
167167
rn-architecture: ['legacy', 'new']
168168
platform: ['android', 'ios']
169169
build-type: ['production']
170170
ios-use-frameworks: ['no', 'static', 'dynamic']
171171
engine: ['hermes', 'jsc']
172172
include:
173173
- platform: ios
174-
rn-version: '0.77.1'
174+
rn-version: '0.79.1'
175175
xcode-version: '16.2'
176176
runs-on: macos-15
177177
- platform: ios
@@ -182,7 +182,7 @@ jobs:
182182
runs-on: ubuntu-latest
183183
exclude:
184184
# exclude JSC for new RN versions (keeping the matrix manageable)
185-
- rn-version: '0.77.1'
185+
- rn-version: '0.79.1'
186186
engine: 'jsc'
187187
# exclude all rn versions lower than 0.70.0 for new architecture
188188
- rn-version: '0.65.3'
@@ -301,15 +301,15 @@ jobs:
301301
strategy:
302302
fail-fast: false # keeps matrix running if one fails
303303
matrix:
304-
rn-version: ['0.65.3', '0.77.1']
304+
rn-version: ['0.65.3', '0.79.1']
305305
rn-architecture: ['legacy', 'new']
306306
platform: ['android', 'ios']
307307
build-type: ['production']
308308
ios-use-frameworks: ['no'] # test only no framworks
309309
engine: ['hermes', 'jsc']
310310
include:
311311
- platform: ios
312-
rn-version: '0.77.1'
312+
rn-version: '0.79.1'
313313
runs-on: macos-15
314314
- platform: ios
315315
rn-version: '0.65.3'
@@ -323,7 +323,7 @@ jobs:
323323
# e2e test only the default combinations
324324
- rn-version: '0.65.3'
325325
engine: 'hermes'
326-
- rn-version: '0.77.1'
326+
- rn-version: '0.79.1'
327327
engine: 'jsc'
328328

329329
steps:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Get auth token
2121
id: token
22-
uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
22+
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
2323
with:
2424
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
2525
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}

.github/workflows/sample-application.yml

Lines changed: 2 additions & 2 deletions
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: '1.39.0'
16+
MAESTRO_VERSION: '1.40.2'
1717
RN_SENTRY_POD_NAME: RNSentry
1818
IOS_APP_ARCHIVE_PATH: sentry-react-native-sample.app.zip
1919
ANDROID_APP_ARCHIVE_PATH: sentry-react-native-sample.apk.zip
@@ -208,7 +208,7 @@ jobs:
208208
path: ${{ env.REACT_NATIVE_SAMPLE_PATH }}/${{ matrix.platform }}/*.log
209209

210210
test:
211-
name: Test ${{ matrix.platform }} ${{ matrix.build-type }}
211+
name: Test ${{ matrix.platform }} ${{ matrix.build-type }} REV2
212212
runs-on: ${{ matrix.runs-on }}
213213
needs: [diff_check, build]
214214
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}

.github/workflows/update-deps.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,14 @@ jobs:
7575
changelog-entry: false
7676
secrets:
7777
api-token: ${{ secrets.CI_DEPLOY_KEY }}
78+
79+
maestro:
80+
uses: getsentry/github-workflows/.github/workflows/updater.yml@v2
81+
with:
82+
path: scripts/update-maestro.sh
83+
name: Maestro
84+
pattern: '^v[0-9.]+$' # only match non-preview versions
85+
pr-strategy: update
86+
changelog-entry: false
87+
secrets:
88+
api-token: ${{ secrets.CI_DEPLOY_KEY }}

CHANGELOG.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,109 @@ Version 7 of the SDK is compatible with Sentry self-hosted versions 24.4.2 or hi
1616

1717
### Fixes
1818

19+
- Expo Updates Context is passed to native after native init to be available for crashes ([#4808](https://github.com/getsentry/sentry-react-native/pull/4808))
20+
- Expo Updates Context values should all be lowercase ([#4809](https://github.com/getsentry/sentry-react-native/pull/4809))
21+
22+
### Dependencies
23+
24+
- Bump CLI from v2.43.1 to v2.45.0 ([#4804](https://github.com/getsentry/sentry-react-native/pull/4804), [#4818](https://github.com/getsentry/sentry-react-native/pull/4818))
25+
- [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2450)
26+
- [diff](https://github.com/getsentry/sentry-cli/compare/2.43.1...2.45.0)
27+
- Bump Bundler Plugins from v3.3.1 to v3.4.0 ([#4805](https://github.com/getsentry/sentry-react-native/pull/4805))
28+
- [changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md#340)
29+
- [diff](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/3.3.1...3.4.0)
30+
- Bump Cocoa SDK from v8.49.2 to v8.50.0 ([#4807](https://github.com/getsentry/sentry-react-native/pull/4807))
31+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8500)
32+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.49.2...8.50.0)
33+
34+
### Fixes
35+
36+
- Avoid duplicate network requests (fetch, xhr) by default ([#4816](https://github.com/getsentry/sentry-react-native/pull/4816))
37+
- `traceFetch` is disabled by default on mobile as RN uses a polyfill which will be traced by `traceXHR`
38+
39+
## 6.13.1
40+
41+
### Fixes
42+
43+
- Disable native driver for Feedback Widget `backgroundColor` animation in unsupported React Native versions ([#4794](https://github.com/getsentry/sentry-react-native/pull/4794))
44+
- Fix Debug Symbolicator for local development builds (use RN 0.79 default exports) ([#4801](https://github.com/getsentry/sentry-react-native/pull/4801))
45+
46+
## 6.13.0
47+
48+
### Changes
49+
50+
- Fallback to Current Activity Holder when React Context Activity is not present ([#4779](https://github.com/getsentry/sentry-react-native/pull/4779))
51+
- Support `REACT_NATIVE_PATH` env in Xcode Debug Files upload scripts ([#4789](https://github.com/getsentry/sentry-react-native/pull/4789))
52+
53+
### Fixes
54+
55+
- Initialize Sentry Android with ApplicationContext if available ([#4780](https://github.com/getsentry/sentry-react-native/pull/4780))
56+
57+
### Dependencies
58+
59+
- Bump Cocoa SDK from v8.49.1 to v8.49.2 ([#4792](https://github.com/getsentry/sentry-react-native/pull/4792))
60+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8492)
61+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.49.1...8.49.2)
62+
63+
## 6.12.0
64+
65+
### Features
66+
67+
- Add Expo Updates Event Context ([#4767](https://github.com/getsentry/sentry-react-native/pull/4767), [#4786](https://github.com/getsentry/sentry-react-native/pull/4786))
68+
- Automatically collects `updateId`, `channel`, Emergency Launch Reason and other Expo Updates constants
69+
70+
### Fixes
71+
72+
- Export `extraErrorDataIntegration` from `@sentry/core` ([#4762](https://github.com/getsentry/sentry-react-native/pull/4762))
73+
- Remove `@sentry-internal/replay` when `includeWebReplay: false` ([#4774](https://github.com/getsentry/sentry-react-native/pull/4774))
74+
75+
### Dependencies
76+
77+
- Bump Cocoa SDK from v8.49.0 to v8.49.1 ([#4771](https://github.com/getsentry/sentry-react-native/pull/4771))
78+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8491)
79+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.49.0...8.49.1)
80+
- Bump CLI from v2.43.0 to v2.43.1 ([#4787](https://github.com/getsentry/sentry-react-native/pull/4787))
81+
- [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2431)
82+
- [diff](https://github.com/getsentry/sentry-cli/compare/2.43.0...2.43.1)
83+
84+
## 6.11.0
85+
86+
### Features
87+
88+
- Improve Warm App Start reporting on Android ([#4641](https://github.com/getsentry/sentry-react-native/pull/4641), [#4695](https://github.com/getsentry/sentry-react-native/pull/4695))
89+
- Add `createTimeToInitialDisplay({useFocusEffect})` and `createTimeToFullDisplay({useFocusEffect})` to allow record full display on screen focus ([#4665](https://github.com/getsentry/sentry-react-native/pull/4665))
90+
- Add support for measuring Time to Initial Display for already seen routes ([#4661](https://github.com/getsentry/sentry-react-native/pull/4661))
91+
- Introduce `enableTimeToInitialDisplayForPreloadedRoutes` option to the React Navigation integration.
92+
93+
```js
94+
Sentry.reactNavigationIntegration({
95+
enableTimeToInitialDisplayForPreloadedRoutes: true,
96+
});
97+
```
98+
99+
- Add `useDispatchedActionData` option to the React Navigation integration to filter out navigation actions that should not create spans ([#4684](https://github.com/getsentry/sentry-react-native/pull/4684))
100+
- For example `PRELOAD`, `SET_PARAMS`, `TOGGLE_DRAWER` and others.
101+
102+
```js
103+
Sentry.reactNavigationIntegration({
104+
useDispatchedActionData: true,
105+
});
106+
```
107+
108+
### Fixes
109+
110+
- Equalize TTID and TTFD duration when TTFD manual API is called and resolved before auto TTID ([#4680](https://github.com/getsentry/sentry-react-native/pull/4680))
111+
- Avoid loading Sentry native components in Expo Go ([#4696](https://github.com/getsentry/sentry-react-native/pull/4696))
19112
- Avoid silent failure when JS bundle was not created due to Sentry Xcode scripts failure ([#4690](https://github.com/getsentry/sentry-react-native/pull/4690))
20113
- Prevent crash on iOS during profiling stop when debug images are missing ([#4738](https://github.com/getsentry/sentry-react-native/pull/4738))
21114
- Attach only App Starts within the 60s threshold (fixed comparison units, use ms) ([#4746](https://github.com/getsentry/sentry-react-native/pull/4746))
115+
- Add missing `popTimeToDisplayFor` in to the Android Old Arch Native interface([#4751](https://github.com/getsentry/sentry-react-native/pull/4751))
116+
117+
### Changes
118+
119+
- Change `gradle.projectsEvaluated` to `project.afterEvaluate` in the Sentry Gradle Plugin to fix tasks not being created when using `--configure-on-demand` ([#4687](https://github.com/getsentry/sentry-react-native/pull/4687))
120+
- Remove `SENTRY_FORCE_FOREGROUND` from Xcode Scripts as the underlying `--force-foreground` Sentry CLI is no-op since v2.37.0 ([#4689](https://github.com/getsentry/sentry-react-native/pull/4689))
121+
- TTID and TTFD use native getters instead od events to pass timestamps to the JS layer ([#4669](https://github.com/getsentry/sentry-react-native/pull/4669), [#4681](https://github.com/getsentry/sentry-react-native/pull/4681))
22122

23123
### Dependencies
24124

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": "6.11.0-beta.0",
3+
"version": "6.13.1",
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": "9.12.0",
17-
"@sentry/react-native": "6.11.0-beta.0",
17+
"@sentry/react-native": "6.13.1",
1818
"@types/node": "^20.9.3",
1919
"@types/react": "^18.2.64",
2020
"appium": "2.4.1",

dev-packages/e2e-tests/patch-scripts/rn.patch.app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Sentry.init({
3838
const e2eComponentPatch = '<EndToEndTestsScreen />';
3939
const lastImportRex = /^([^]*)(import\s+[^;]*?;$)/m;
4040
const patchRex = '@sentry/react-native';
41-
const headerComponentRex = /<Header \/>/gm;
41+
const headerComponentRex = /<ScrollView/gm;
4242

4343
const jsPath = path.join(args.app, 'App.js');
4444
const tsxPath = path.join(args.app, 'App.tsx');

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": "6.11.0-beta.0",
4+
"version": "6.13.1",
55
"scripts": {
66
"type-check": "./run-type-check.sh"
77
}

dev-packages/utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "sentry-react-native-samples-utils",
3-
"version": "6.11.0-beta.0",
3+
"version": "6.13.1",
44
"description": "Internal Samples Utils",
55
"main": "index.js",
66
"license": "MIT",
77
"private": true,
88
"dependencies": {
9-
"metro-config": "^0.81.0"
9+
"metro-config": "^0.82.2"
1010
}
1111
}

0 commit comments

Comments
 (0)