Skip to content

Commit b466c31

Browse files
committed
Merge branch 'next' into integration/typescript
2 parents 2083f12 + a5da5e4 commit b466c31

13 files changed

Lines changed: 39 additions & 44 deletions

File tree

.buildkite/basic/react-native-ios-full-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ steps:
216216
concurrency: 5
217217
concurrency_group: "browserstack-app"
218218
concurrency_method: eager
219-
219+
220220
- label: ":bitbar: :mac: RN {{matrix}} iOS (Old Arch) end-to-end tests"
221221
depends_on: "build-react-native-ios-fixture-old-arch-full"
222222
timeout_in_minutes: 40

.github/workflows/aws-lambda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2525

2626
- name: Install Ruby
27-
uses: ruby/setup-ruby@922ebc4c5262cd14e07bb0e1db020984b6c064fe
27+
uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252
2828
with:
2929
ruby-version: '3.1'
3030

.github/workflows/codeql.yml

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

4848
# Initializes the CodeQL tools for scanning.
4949
- name: Initialize CodeQL
50-
uses: github/codeql-action/init@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
50+
uses: github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
5151
with:
5252
languages: ${{ matrix.language }}
5353
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -61,7 +61,7 @@ jobs:
6161
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
6262
# If this step fails, then you should remove it and run the build manually (see below)
6363
- name: Autobuild
64-
uses: github/codeql-action/autobuild@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
64+
uses: github/codeql-action/autobuild@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
6565

6666
# ℹ️ Command-line programs to run using the OS shell.
6767
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -74,6 +74,6 @@ jobs:
7474
# ./location_of_script_within_repo/buildscript.sh
7575

7676
- name: Perform CodeQL Analysis
77-
uses: github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
77+
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
7878
with:
7979
category: "/language:${{matrix.language}}"

.github/workflows/scorecard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6060
# format to the repository Actions tab.
6161
- name: "Upload artifact"
62-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
62+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6363
with:
6464
name: SARIF file
6565
path: results.sarif
@@ -68,7 +68,7 @@ jobs:
6868
# Upload the results to GitHub's code scanning dashboard (optional).
6969
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
7070
- name: "Upload to code-scanning"
71-
uses: github/codeql-action/upload-sarif@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
71+
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
7272
with:
7373
sarif_file: results.sarif
7474

@@ -77,4 +77,4 @@ jobs:
7777
runs-on: ubuntu-latest
7878
steps:
7979
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
80-
- uses: gradle/actions/wrapper-validation@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
80+
- uses: gradle/actions/wrapper-validation@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4.3.1

.github/workflows/test-electron.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
if: ${{ !env.ACT }}
3131
run: |
3232
echo "::set-output name=dir::$(npm config get cache)"
33-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
33+
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
3434
id: npm-cache
3535
if: ${{ !env.ACT }}
3636
with:
@@ -66,7 +66,7 @@ jobs:
6666
START_LOCAL_NPM: 1
6767
VERBOSE: 1
6868
ELECTRON_VERSION: ${{ matrix.electron }}
69-
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
69+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7070
if: failure()
7171
with:
7272
name: cucumber-failures

.github/workflows/update-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- run: git submodule update --init --recursive
4141

4242
- name: Install ruby
43-
uses: ruby/setup-ruby@922ebc4c5262cd14e07bb0e1db020984b6c064fe # v1.226.0
43+
uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0
4444
with:
4545
ruby-version: 2.7
4646

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
- Update bugsnag-android to [v6.12.1](https//github.com/bugsnag/bugsnag-android/releases/tag/v6.12.1) [#2359](https://github.com/bugsnag/bugsnag-js/pull/2359)
88
- Update bugsnag-cocoa to [v6.32.1](https//github.com/bugsnag/bugsnag-cocoa/releases/tag/v6.32.1) [#2355](https://github.com/bugsnag/bugsnag-js/pull/2355)
99

10+
### Fixed
11+
12+
- (react-native) Fix double reported unhandled js errors when using new architecture [#2398](https://github.com/bugsnag/bugsnag-js/pull/2398)
13+
1014
## [8.3.0] - 2025-03-04
1115

1216
This release adds support for React Native 0.77 and 0.78 to `@bugsnag/react-native`

packages/react-native/ios/BugsnagReactNative/BugsnagReactNativePlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ - (void)load:(BugsnagClient *)client {
3939
// so we need to use an onSendError block and discard based on the error message instead.
4040
#ifdef RCT_NEW_ARCH_ENABLED
4141
[client.configuration addOnSendErrorBlock:^BOOL (BugsnagEvent *event) {
42-
return ![event.errors[0].errorMessage hasPrefix:@"Exception in HostFunction: Unhandled JS Exception"];
42+
return ![event.errors[0].errorMessage containsString:@"Unhandled JS Exception:"];
4343
}];
4444
#endif
4545
}

scripts/init-rn-cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ expect "What is your Bugsnag build endpoint?" { send -- "http://localhost:9339/b
2929
expect "If you want the latest version of @bugsnag/react-native hit enter, otherwise type the version you want" { send -- "$notifier_version\r" }
3030
expect "What is your Bugsnag project API key?" { send -- "1234567890ABCDEF1234567890ABCDEF\r" }
3131
expect "Do you want to install the BugSnag CLI to allow you to upload JavaScript source maps?" { send -- "Y\r" }
32-
expect "If you want the latest version of @bugsnag/cli hit enter, otherwise type the version you want" { send -- "3.0.0-beta.0\r" }
32+
expect "If you want the latest version of @bugsnag/cli hit enter, otherwise type the version you want" { send -- "\r" }
3333
expect "See https://docs.bugsnag.com/platforms/react-native/react-native/showing-full-stacktraces for details." { send -- "\r" }
3434
expect "Do you want to update your Xcode build phase to output JavaScript source maps?" { send -- "Y\r" }
3535
expect "This will enable you to see full native stacktraces. It can't be done automatically." { send -- "\r" }

test/react-native/features/fixtures/scenario-launcher/src/lib/ScenarioLauncher.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ async function runScenario (scenarioName, apiKey, notifyEndpoint, sessionEndpoin
2424
console.error('[Bugsnag ScenarioLauncher] clearing persistent data')
2525
NativeInterface.clearPersistentData()
2626

27-
console.error(`[Bugsnag ScenarioLauncher] with config: ${JSON.stringify(nativeConfig)} (native) and ${JSON.stringify(jsConfig)} (js)`)
28-
2927
// start the native client
3028
console.error('[Bugsnag ScenarioLauncher] starting native Bugsnag')
3129
await NativeInterface.startBugsnag(nativeConfig)

0 commit comments

Comments
 (0)