Skip to content

Commit 2efd825

Browse files
authored
Merge pull request #2238 from bugsnag/release/v8.1.1
Release v8.1.1
2 parents 3857e80 + 8b29b34 commit 2efd825

File tree

8 files changed

+15952
-16116
lines changed

8 files changed

+15952
-16116
lines changed

.github/workflows/pr-diff.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
run: |
2323
mkdir .diff
2424
npm ci
25-
npx lerna bootstrap
2625
npm run build
2726
cat packages/browser/dist/bugsnag.min.js | wc -c > .diff/size-before-minified
2827
cat packages/browser/dist/bugsnag.min.js | gzip | wc -c > .diff/size-before-gzipped

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [8.1.1] - 2024-10-23
4+
5+
### Fixed
6+
7+
- Add `reportUnhandledPromiseRejectionsAsHandled` config option to typescript definition [#2237](https://github.com/bugsnag/bugsnag-js/pull/2237)
8+
39
## [8.1.0] - 2024-10-23
410

511
### Added

bin/release.sh

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,7 @@ if [ -z "${RETRY_PUBLISH:-}" ]; then
3636
fi
3737

3838
# build packages
39-
npx lerna run build \
40-
--scope @bugsnag/node \
41-
--scope @bugsnag/browser
42-
43-
npx lerna run build \
44-
--ignore @bugsnag/node\
45-
--ignore @bugsnag/browser \
46-
--ignore @bugsnag/plugin-electron-app \
47-
--ignore @bugsnag/plugin-electron-client-state-persistence
39+
npx lerna run build
4840

4941
# push local changes and tags
5042
git push origin --follow-tags
@@ -57,9 +49,9 @@ else
5749
fi
5850

5951
if [ "$BROWSER_PACKAGE_CHANGED" -eq 1 ] || [ -v FORCE_CDN_UPLOAD ]; then
60-
npx lerna run cdn-upload --stream --scope @bugsnag/browser
52+
npx lerna run cdn-upload --scope @bugsnag/browser
6153
fi
6254

6355
if [ "$WORKER_PACKAGE_CHANGED" -eq 1 ] || [ -v FORCE_CDN_UPLOAD ]; then
64-
npx lerna run cdn-upload --stream --scope @bugsnag/web-worker
56+
npx lerna run cdn-upload --scope @bugsnag/web-worker
6557
fi

examples/js/react/package-lock.json

Lines changed: 15921 additions & 16091 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/js/react/package.json

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@bugsnag/js": "^7.0.0",
7-
"@bugsnag/plugin-react": "^7.0.0",
8-
"react": "^16.6.0",
9-
"react-dom": "^16.6.0",
10-
"react-scripts": "2.1.1",
11-
"serve": "^11.3.0"
6+
"@bugsnag/js": "^8.0.0",
7+
"@bugsnag/plugin-react": "^8.0.0",
8+
"react": "^18.3.1",
9+
"react-dom": "^18.3.1",
10+
"react-scripts": "5.0.1",
11+
"serve": "^14.2.4"
1212
},
1313
"scripts": {
1414
"start": "react-scripts start",
@@ -20,10 +20,16 @@
2020
"eslintConfig": {
2121
"extends": "react-app"
2222
},
23-
"browserslist": [
24-
">0.2%",
25-
"not dead",
26-
"not ie <= 11",
27-
"not op_mini all"
28-
]
23+
"browserslist": {
24+
"production": [
25+
">0.2%",
26+
"not dead",
27+
"not op_mini all"
28+
],
29+
"development": [
30+
"last 1 chrome version",
31+
"last 1 firefox version",
32+
"last 1 safari version"
33+
]
34+
}
2935
}

package-lock.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"xvfb-maybe": "^0.2.1"
7979
},
8080
"scripts": {
81-
"build": "lerna run build --scope '@bugsnag/node' --scope '@bugsnag/browser' && lerna run build --ignore '@bugsnag/node' --ignore '@bugsnag/browser'",
81+
"build": "lerna run build",
8282
"build:electron": "lerna run build --scope '@bugsnag/plugin-electron-ipc' --scope '@bugsnag/plugin-electron-app' --scope '@bugsnag/plugin-electron-client-state-persistence'",
8383
"test:lint": "eslint --ext .ts,.js --report-unused-disable-directives --max-warnings=0 .",
8484
"test:lint-native": "bash scripts/cppcheck.sh",

packages/core/types/common.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export interface Config {
2828
releaseStage?: string
2929
plugins?: Plugin[]
3030
user?: User | null
31+
reportUnhandledPromiseRejectionsAsHandled?: boolean
3132
}
3233

3334
export type OnErrorCallback = (event: Event, cb: (err: null | Error, shouldSend?: boolean) => void) => void | boolean | Promise<void | boolean>

0 commit comments

Comments
 (0)