Skip to content

Commit c5dcfa3

Browse files
authored
Merge pull request #243 from bugsnag/release/v3.5.0
v3.5.0 Release
2 parents 702ad98 + 211ab27 commit c5dcfa3

File tree

20 files changed

+340
-159
lines changed

20 files changed

+340
-159
lines changed

.buildkite/pipeline.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ steps:
111111
- label: ":video_game: Unity Android Integration Tests"
112112
depends_on: build
113113
env:
114-
UNITY_VERSION: 6000.2.2f1
114+
UNITY_VERSION: 6000.2.10f1
115115
agents:
116116
queue: macos-15-isolated
117117
commands:
@@ -128,7 +128,7 @@ steps:
128128
- label: ":video_game: Unity iOS Integration Tests"
129129
depends_on: build
130130
env:
131-
UNITY_VERSION: 6000.2.2f1
131+
UNITY_VERSION: 6000.2.10f1
132132
agents:
133133
queue: macos-15-isolated
134134
commands:
@@ -174,3 +174,12 @@ steps:
174174
timeout_in_minutes: 5
175175
commands:
176176
- buildkite-agent pipeline upload .buildkite/react-native/ios.pipeline.yml
177+
178+
- label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: REACT NATIVE STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:"
179+
depends_on:
180+
- "build"
181+
agents:
182+
queue: "macos"
183+
timeout_in_minutes: 5
184+
commands:
185+
- buildkite-agent pipeline upload .buildkite/react-native/react-native.pipeline.yml
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
agents:
2+
queue: macos-15
3+
4+
steps:
5+
- label: ':react: Integration Tests'
6+
key: "react-native-cli"
7+
timeout_in_minutes: 15
8+
env:
9+
commands:
10+
- "chmod +x bin/arm64-macos-bugsnag-cli"
11+
- "bundle install"
12+
- "bundle exec maze-runner --port=$((MAZE_RUNNER_PORT)) --document-server-port=$((MAZE_RUNNER_PORT + 1)) features/react-native/react-native.feature"
13+
plugins:
14+
artifacts#v1.5.0:
15+
download:
16+
- bin/arm64-macos-bugsnag-cli
17+
upload:
18+
- maze_output/**/*
19+
retry:
20+
automatic:
21+
- exit_status: "*"
22+
limit: 1

.github/workflows/downstream_updates.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,23 @@ jobs:
1818
RELEASE_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.target_version || github.event.release.tag_name }}
1919
strategy:
2020
matrix:
21-
downstream_repo: ['bugsnag/bugsnag-unity']
21+
downstream_repo: [
22+
'bugsnag/bugsnag-unity',
23+
'bugsnag/homebrew-tap'
24+
]
2225
steps:
2326
- name: Install libcurl4-openssl-dev and net-tools
2427
run: |
2528
sudo apt-get update
2629
sudo apt-get install libcurl4-openssl-dev net-tools
2730
2831
- run: >
29-
curl -X POST https://api.github.com/repos/bugsnag/bugsnag-unity/dispatches
32+
curl -X POST https://api.github.com/repos/${{ matrix.downstream_repo }}/dispatches
3033
-H 'Content-Type: application/json'
3134
-H "Authorization: Bearer ${{ secrets.DEP_UPDATER_BEARER_TOKEN }}"
3235
-d '{
3336
"event_type": "update-cli",
3437
"client_payload": {
3538
"cli_version": "${{ env.RELEASE_VERSION }}"
3639
}
37-
}'
40+
}'

CHANGELOG.md

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

3+
## [3.5.0] - 2025-11-12
4+
5+
### Added
6+
7+
- Add support for uploading React Native Sourcemaps outside of Android or iOS builds [#241](https://github.com/bugsnag/bugsnag-cli/pull/241)
8+
9+
### Changed
10+
11+
- `bugsnag-cli-placeholder` now throws an `Error` instead of just logging to the console. This immediately stops execution and should return a stack trace if the CLI is not successfully installed [#239](https://github.com/bugsnag/bugsnag-cli/pull/239)
12+
313
## [3.4.1] - 2025-09-30
414

515
### Fixed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The script downloads the appropriate binary and attempts to install it to `~/.lo
3636
If your project uses `npm` or `yarn`, the CLI can be installed by adding the [`@bugsnag/cli`](https://www.npmjs.com/package/@bugsnag/cli) package:
3737

3838
```sh
39-
npm install @bugsnag/cli`
39+
npm install @bugsnag/cli
4040
```
4141

4242
It can then be executed from your project scripts at `/node_modules/.bin/bugsnag-cli` or using `npx @bugsnag/cli`.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
index.bundle
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{'index.bundle.map':''}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Feature: React Native Integration Tests
2+
Scenario: Upload a single React Native sourcemap
3+
When I run bugsnag-cli with upload react-native-sourcemaps --upload-api-root-url=http://localhost:$MAZE_RUNNER_PORT --api-key=1234567890ABCDEF1234567890ABCDEF --version-name=1.0 --version-code=123.456 --source-map=features/react-native/fixtures/vega/index.bundle.map --bundle=features/react-native/fixtures/vega/index.bundle --platform=vega
4+
And I wait to receive 1 sourcemaps
5+
Then the sourcemaps are valid for the API
6+
Then the sourcemaps Content-Type header is valid multipart form-data
7+
Then the sourcemap payload fields should be:
8+
| apiKey | 1234567890ABCDEF1234567890ABCDEF |
9+
| appVersion | 1.0 |
10+
| appVersionCode | 123.456 |
11+
| platform | vega |
12+
13+
Scenario: Upload a single React Native sourcemap providing both version-code and bundle-version
14+
When I run bugsnag-cli with upload react-native-sourcemaps --upload-api-root-url=http://localhost:$MAZE_RUNNER_PORT --api-key=1234567890ABCDEF1234567890ABCDEF --version-name=1.0 --version-code=123.456 --bundle-version=123.456 --source-map=features/react-native/fixtures/vega/index.bundle.map --bundle=features/react-native/fixtures/vega/index.bundle --platform=vega
15+
Then the error should contain "--version-code and --bundle-version can't be used together"
16+
17+
Scenario: Upload a single React Native sourcemap providing code-bundle-id
18+
When I run bugsnag-cli with upload react-native-sourcemaps --upload-api-root-url=http://localhost:$MAZE_RUNNER_PORT --api-key=1234567890ABCDEF1234567890ABCDEF --code-bundle-id=123.456 --source-map=features/react-native/fixtures/vega/index.bundle.map --bundle=features/react-native/fixtures/vega/index.bundle --platform=vega
19+
And I wait to receive 1 sourcemaps
20+
Then the sourcemaps are valid for the API
21+
Then the sourcemaps Content-Type header is valid multipart form-data
22+
Then the sourcemap payload fields should be:
23+
| apiKey | 1234567890ABCDEF1234567890ABCDEF |
24+
| codeBundleId | 123.456 |
25+
| platform | vega |

features/steps/steps.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676
Maze.check.include(run_output, "Path ambiguous: more than one AAB file was found")
7777
end
7878

79+
Then('the error should contain {string}') do |error_message|
80+
Maze.check.include(run_output, error_message)
81+
end
82+
7983
Then('the sourcemap is valid for the dSYM Build API') do
8084
steps %(
8185
And the sourcemap payload field "apiKey" equals "#{$api_key}"

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ display_help() {
9191
EOS
9292
}
9393

94-
VERSION="3.4.1"
94+
VERSION="3.5.0"
9595

9696
while [[ "$#" -gt 0 ]]; do
9797
case "$1" in

0 commit comments

Comments
 (0)