Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v8.1.1 #2238

Merged
merged 5 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/pr-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
run: |
mkdir .diff
npm ci
npx lerna bootstrap
npm run build
cat packages/browser/dist/bugsnag.min.js | wc -c > .diff/size-before-minified
cat packages/browser/dist/bugsnag.min.js | gzip | wc -c > .diff/size-before-gzipped
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [8.1.1] - 2024-10-23

### Fixed

- Add `reportUnhandledPromiseRejectionsAsHandled` config option to typescript definition [#2237](https://github.com/bugsnag/bugsnag-js/pull/2237)

## [8.1.0] - 2024-10-23

### Added
Expand Down
14 changes: 3 additions & 11 deletions bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,7 @@ if [ -z "${RETRY_PUBLISH:-}" ]; then
fi

# build packages
npx lerna run build \
--scope @bugsnag/node \
--scope @bugsnag/browser

npx lerna run build \
--ignore @bugsnag/node\
--ignore @bugsnag/browser \
--ignore @bugsnag/plugin-electron-app \
--ignore @bugsnag/plugin-electron-client-state-persistence
npx lerna run build

# push local changes and tags
git push origin --follow-tags
Expand All @@ -57,9 +49,9 @@ else
fi

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

if [ "$WORKER_PACKAGE_CHANGED" -eq 1 ] || [ -v FORCE_CDN_UPLOAD ]; then
npx lerna run cdn-upload --stream --scope @bugsnag/web-worker
npx lerna run cdn-upload --scope @bugsnag/web-worker
fi
32,012 changes: 15,921 additions & 16,091 deletions examples/js/react/package-lock.json

Large diffs are not rendered by default.

30 changes: 18 additions & 12 deletions examples/js/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@bugsnag/js": "^7.0.0",
"@bugsnag/plugin-react": "^7.0.0",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-scripts": "2.1.1",
"serve": "^11.3.0"
"@bugsnag/js": "^8.0.0",
"@bugsnag/plugin-react": "^8.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-scripts": "5.0.1",
"serve": "^14.2.4"
},
"scripts": {
"start": "react-scripts start",
Expand All @@ -20,10 +20,16 @@
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
2 changes: 2 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"xvfb-maybe": "^0.2.1"
},
"scripts": {
"build": "lerna run build --scope '@bugsnag/node' --scope '@bugsnag/browser' && lerna run build --ignore '@bugsnag/node' --ignore '@bugsnag/browser'",
"build": "lerna run build",
"build:electron": "lerna run build --scope '@bugsnag/plugin-electron-ipc' --scope '@bugsnag/plugin-electron-app' --scope '@bugsnag/plugin-electron-client-state-persistence'",
"test:lint": "eslint --ext .ts,.js --report-unused-disable-directives --max-warnings=0 .",
"test:lint-native": "bash scripts/cppcheck.sh",
Expand Down
1 change: 1 addition & 0 deletions packages/core/types/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export interface Config {
releaseStage?: string
plugins?: Plugin[]
user?: User | null
reportUnhandledPromiseRejectionsAsHandled?: boolean
}

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