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 v7.25.0 #2167

Merged
merged 18 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
115eeff
fix(react-native): call native client synchronously when turbo module…
yousif-bugsnag May 31, 2024
00a4b42
ci(react-native): add 0.74 to test matrix
yousif-bugsnag May 31, 2024
9b9a5bd
test(react-native): add version-dependent string step
yousif-bugsnag Jun 4, 2024
749def8
docs: update CHANGELOG
yousif-bugsnag Jun 5, 2024
ba8507f
refactor(react-native): replace `BSG_END_EXPORT_METHOD` with `BSG_EXP…
yousif-bugsnag Jun 6, 2024
604234b
Merge pull request #2152 from bugsnag/PLAT-12175/sync-tm-methods
yousif-bugsnag Jun 11, 2024
b893f34
Reinstate and refresh Electon tests on macOS
twometresteve May 24, 2024
6e75c92
Merge pull request #2156 from bugsnag/tms/electron-playing
twometresteve Jun 13, 2024
8414051
Use Maze Runner v9
twometresteve Jun 13, 2024
04160d9
Merge pull request #2158 from bugsnag/tms/rn-maze-v9
twometresteve Jun 14, 2024
76f50d9
[PLAT-12224] Add setTraceCorrelation method to event (#2159)
gingerbenw Jun 19, 2024
63e73a0
deps(react-native): Update bugsnag-cocoa to v6.29.0
Jun 19, 2024
6eecbea
test(react-native): reinstate ios native stack tests for >=0.74 (#2163)
yousif-bugsnag Jun 20, 2024
6bdc42b
Merge pull request #2161 from bugsnag/bugsnag-cocoa-v6.29.0
robert-smartbear Jun 21, 2024
713410e
deps(react-native): Update bugsnag-android to v5.32.3 (#2166)
YYChen01988 Jul 1, 2024
b3e07f9
fix(react-native): initialise synchronously in bridgeless mode (#2165)
yousif-bugsnag Jul 1, 2024
8603755
Add appium version definitions on all android bitbar test runs (#2164)
Cawllec Jul 2, 2024
208006a
docs: :memo: update CHANGELOG.md
gingerbenw Jul 3, 2024
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
11 changes: 6 additions & 5 deletions .buildkite/basic/electron-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ steps:
- label: "Electron {{matrix.electron_version}} tests - macOS - Node {{matrix.node_version}}"
timeout_in_minutes: 40
agents:
queue: macos-11
queue: macos-14
env:
DEVELOPER_DIR: "/Applications/Xcode12.app"
NODE_VERSION: "{{matrix.node_version}}"
ELECTRON_VERSION: "{{matrix.electron_version}}"
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
Expand All @@ -17,11 +16,13 @@ steps:
matrix:
setup:
electron_version:
- "^12.0.0"
- "^20.0.0"
- "^24.0.0"
- "^26.0.0"
- "^28.0.0"
- "^30.0.0"
node_version:
- "12"
- "14"
- "18"
commands:
- echo "Running on Node `node -v`"
- npm install electron@${ELECTRON_VERSION} --no-audit --progress=false --no-save
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/basic/react-native-android-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ steps:
- "node scripts/generate-react-native-fixture.js"
matrix:
- "0.73"
- "0.74"
retry:
automatic:
- exit_status: "*"
Expand Down Expand Up @@ -46,6 +47,7 @@ steps:
limit: 1
matrix:
- "0.73"
- "0.74"

#
# End-to-end tests
Expand All @@ -65,6 +67,7 @@ steps:
- --app=/app/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk
- --farm=bb
- --device=ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --fail-fast
- --no-tunnel
Expand All @@ -74,11 +77,13 @@ steps:
permit_on_passed: true
env:
SKIP_NAVIGATION_SCENARIOS: "true"
RN_VERSION: "{{matrix}}"
concurrency: 25
concurrency_group: "bitbar"
concurrency_method: eager
matrix:
- "0.73"
- "0.74"

- label: ":bitbar: :android: RN {{matrix}} Android 12 (New Arch) end-to-end tests"
depends_on: "build-react-native-android-fixture-new-arch"
Expand All @@ -95,6 +100,7 @@ steps:
- --app=/app/features/fixtures/generated/new-arch/{{matrix}}/reactnative.apk
- --farm=bb
- --device=ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --fail-fast
- --no-tunnel
Expand All @@ -105,9 +111,11 @@ steps:
env:
SKIP_NAVIGATION_SCENARIOS: "true"
RCT_NEW_ARCH_ENABLED: "true"
RN_VERSION: "{{matrix}}"
concurrency: 25
concurrency_group: "bitbar"
concurrency_method: eager
matrix:
- "0.73"
- "0.74"

6 changes: 6 additions & 0 deletions .buildkite/basic/react-native-ios-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ steps:
- "node scripts/generate-react-native-fixture.js"
matrix:
- "0.73"
- "0.74"
retry:
automatic:
- exit_status: "*"
Expand All @@ -46,6 +47,7 @@ steps:
- "node scripts/generate-react-native-fixture.js"
matrix:
- "0.73"
- "0.74"
retry:
automatic:
- exit_status: "*"
Expand Down Expand Up @@ -77,11 +79,13 @@ steps:
permit_on_passed: true
env:
SKIP_NAVIGATION_SCENARIOS: "true"
RN_VERSION: "{{matrix}}"
concurrency: 25
concurrency_group: "bitbar"
concurrency_method: eager
matrix:
- "0.73"
- "0.74"

- label: ":bitbar: :mac: RN {{matrix}} iOS 16 (New Arch) end-to-end tests"
depends_on: "build-react-native-ios-fixture-new-arch"
Expand All @@ -105,6 +109,7 @@ steps:
env:
RCT_NEW_ARCH_ENABLED: "true"
SKIP_NAVIGATION_SCENARIOS: "true"
RN_VERSION: "{{matrix}}"
retry:
manual:
permit_on_passed: true
Expand All @@ -113,4 +118,5 @@ steps:
concurrency_method: eager
matrix:
- "0.73"
- "0.74"

10 changes: 10 additions & 0 deletions .buildkite/full/react-native-android-pipeline.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_10|ANDROID_11|ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --fail-fast
- --no-tunnel
Expand Down Expand Up @@ -262,6 +263,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_10|ANDROID_11|ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --fail-fast
- --no-tunnel
Expand Down Expand Up @@ -290,6 +292,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_10|ANDROID_11|ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --fail-fast
- --no-tunnel
Expand Down Expand Up @@ -318,6 +321,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_10|ANDROID_11|ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --fail-fast
- --no-tunnel
Expand Down Expand Up @@ -346,6 +350,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --fail-fast
- --no-tunnel
Expand Down Expand Up @@ -374,6 +379,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --fail-fast
- --no-tunnel
Expand Down Expand Up @@ -402,6 +408,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --fail-fast
- --no-tunnel
Expand Down Expand Up @@ -430,6 +437,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --fail-fast
- --no-tunnel
Expand Down Expand Up @@ -458,6 +466,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_10|ANDROID_11|ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --fail-fast
- --no-tunnel
Expand All @@ -484,6 +493,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_10|ANDROID_11|ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --fail-fast
- --no-tunnel
Expand Down
3 changes: 3 additions & 0 deletions .buildkite/full/react-native-cli-pipeline.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_10|ANDROID_11|ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --no-tunnel
- --aws-public-ip
Expand All @@ -245,6 +246,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_10|ANDROID_11|ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --no-tunnel
- --aws-public-ip
Expand All @@ -270,6 +272,7 @@ steps:
- --app-package=com.reactnative
- --farm=bb
- --device=ANDROID_10|ANDROID_11|ANDROID_12
- --appium-version=1.22
- --a11y-locator
- --no-tunnel
- --aws-public-ip
Expand Down
1 change: 0 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ steps:
- buildkite-agent pipeline upload .buildkite/basic/browser-pipeline.yml

- label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: ELECTRON STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:"
skip: Skipped pending PLAT-10345
commands:
- buildkite-agent pipeline upload .buildkite/basic/electron-pipeline.yml

Expand Down
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## [7.25.0] - 2024-07-03

### Added

- (core) Add new `setTraceCorrelation` method to events [#2159](https://github.com/bugsnag/bugsnag-js/pull/2159)

### Changed

- (react-native) Update bugsnag-cocoa from v6.28.1 to [v6.29.0](https://github.com/bugsnag/bugsnag-cocoa/blob/master/CHANGELOG.md#6290-2024-06-19)
- (react-native) Update bugsnag-android from v5.32.2 to [v5.32.3](https://github.com/bugsnag/bugsnag-android/blob/v5.32.3/CHANGELOG.md#5323-2024-06-27)

### Fixed

- (react-native) Use synchronous native module calls when New Architecture is enabled [#2152](https://github.com/bugsnag/bugsnag-js/pull/2152)
- (react-native) Ensure client is initialised synchronously in bridgeless mode [#2165](https://github.com/bugsnag/bugsnag-js/pull/2165)

## [7.24.0] - 2024-06-10

### Added
Expand All @@ -10,7 +26,7 @@

- (plugin-react) Modified the polynomial regular expression to remove the ambiguity [#2135](https://github.com/bugsnag/bugsnag-js/pull/2135)
- (react-native) ReactNative apps loaded in the background will no longer start a new session [#2154](https://github.com/bugsnag/bugsnag-js/pull/2154)

### Fixed

- (react-native) Discard duplicate JS exceptions in iOS New Architecture [#2148](https://github.com/bugsnag/bugsnag-js/pull/2148)
Expand Down
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,13 @@ services:
- ./test/react-native-cli/features/:/app/features

react-native-maze-runner:
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v8-cli
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v9-cli
environment:
<<: *common-environment
BITBAR_USERNAME:
BITBAR_ACCESS_KEY:
HERMES:
RN_VERSION:
ports:
- "9000-9499:9339"
networks:
Expand All @@ -200,7 +201,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock

react-native-cli-maze-runner:
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v8-cli
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v9-cli
environment:
<<: *common-environment
BITBAR_USERNAME:
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"packages": [
"packages/*"
],
"version": "7.24.0"
"version": "7.25.0-alpha.0"
}
2 changes: 1 addition & 1 deletion packages/browser/package-lock.json

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

38 changes: 19 additions & 19 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bugsnag/browser",
"version": "7.22.7",
"version": "7.25.0-alpha.0",
"main": "dist/bugsnag.js",
"types": "types/bugsnag.d.ts",
"description": "Bugsnag error reporter for browser JavaScript",
Expand Down Expand Up @@ -31,25 +31,25 @@
"license": "MIT",
"devDependencies": {
"@bugsnag/core": "^7.0.1",
"@bugsnag/delivery-x-domain-request": "^7.22.7",
"@bugsnag/delivery-xml-http-request": "^7.22.7",
"@bugsnag/plugin-app-duration": "^7.22.7",
"@bugsnag/plugin-browser-context": "^7.22.7",
"@bugsnag/plugin-browser-device": "^7.22.7",
"@bugsnag/plugin-browser-request": "^7.22.7",
"@bugsnag/plugin-browser-session": "^7.22.7",
"@bugsnag/plugin-client-ip": "^7.22.7",
"@bugsnag/plugin-console-breadcrumbs": "^7.22.7",
"@bugsnag/plugin-inline-script-content": "^7.22.7",
"@bugsnag/plugin-interaction-breadcrumbs": "^7.22.7",
"@bugsnag/plugin-navigation-breadcrumbs": "^7.22.7",
"@bugsnag/plugin-network-breadcrumbs": "^7.22.7",
"@bugsnag/plugin-simple-throttle": "^7.22.7",
"@bugsnag/plugin-strip-query-string": "^7.22.7",
"@bugsnag/plugin-window-onerror": "^7.22.7",
"@bugsnag/plugin-window-unhandled-rejection": "^7.22.7"
"@bugsnag/delivery-x-domain-request": "^7.25.0-alpha.0",
"@bugsnag/delivery-xml-http-request": "^7.25.0-alpha.0",
"@bugsnag/plugin-app-duration": "^7.25.0-alpha.0",
"@bugsnag/plugin-browser-context": "^7.25.0-alpha.0",
"@bugsnag/plugin-browser-device": "^7.25.0-alpha.0",
"@bugsnag/plugin-browser-request": "^7.25.0-alpha.0",
"@bugsnag/plugin-browser-session": "^7.25.0-alpha.0",
"@bugsnag/plugin-client-ip": "^7.25.0-alpha.0",
"@bugsnag/plugin-console-breadcrumbs": "^7.25.0-alpha.0",
"@bugsnag/plugin-inline-script-content": "^7.25.0-alpha.0",
"@bugsnag/plugin-interaction-breadcrumbs": "^7.25.0-alpha.0",
"@bugsnag/plugin-navigation-breadcrumbs": "^7.25.0-alpha.0",
"@bugsnag/plugin-network-breadcrumbs": "^7.25.0-alpha.0",
"@bugsnag/plugin-simple-throttle": "^7.25.0-alpha.0",
"@bugsnag/plugin-strip-query-string": "^7.25.0-alpha.0",
"@bugsnag/plugin-window-onerror": "^7.25.0-alpha.0",
"@bugsnag/plugin-window-unhandled-rejection": "^7.25.0-alpha.0"
},
"dependencies": {
"@bugsnag/core": "^7.22.7"
"@bugsnag/core": "^7.25.0-alpha.0"
}
}
2 changes: 2 additions & 0 deletions packages/core/event.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default class EventWithInternals extends Event {
_featuresIndex: { [key: string]: number }
_user: User
_handledState: HandledState
_correlation?: { spanId: string, traceId: string }
_session?: Session
toJSON(): {
payloadVersion: '4'
Expand All @@ -40,6 +41,7 @@ export default class EventWithInternals extends Event {
request: Request
breadcrumbs: Breadcrumb[]
context: string | undefined
correlation: { spanId: string, traceId: string } | undefined
groupingHash: string | undefined
metaData: { [key: string]: any }
user: User
Expand Down
Loading
Loading