Skip to content

Commit 7459372

Browse files
authored
Merge pull request #674 from bugsnag/next
Release v7.5.0
2 parents 3981600 + f0aa58b commit 7459372

File tree

317 files changed

+7908
-7865
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+7908
-7865
lines changed

.buildkite/pipeline.full.yml

Lines changed: 119 additions & 108 deletions
Large diffs are not rendered by default.

.buildkite/pipeline.yml

Lines changed: 65 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@ steps:
6868
- exit_status: "*"
6969
limit: 1
7070

71+
72+
7173
#
72-
# Run desktop tests
74+
# Run macos tests
7375
#
74-
- label: Run MacOS e2e tests for Unity 2020
76+
- label: Run MacOS e2e csharp tests
7577
timeout_in_minutes: 60
7678
depends_on: 'cocoa-webgl-2020-fixtures'
7779
agents:
@@ -86,13 +88,13 @@ steps:
8688
- maze_output/**/*
8789
- Mazerunner.log
8890
commands:
89-
- scripts/ci-run-macos-tests.sh
91+
- scripts/ci-run-macos-tests-csharp.sh
9092

9193
#
9294
# Run WebGL tests
9395
#
9496
# Note: These are run on Intel due to an issue with persistence with Firefox on ARM.
95-
#
97+
9698
- label: Run WebGL e2e tests for Unity 2020
9799
timeout_in_minutes: 30
98100
depends_on: 'cocoa-webgl-2020-fixtures'
@@ -110,9 +112,9 @@ steps:
110112
commands:
111113
- scripts/ci-run-webgl-tests.sh
112114

113-
#
115+
114116
# Build Android test fixtures
115-
#
117+
116118
- label: ':android: Build Android test fixture for Unity 2020'
117119
timeout_in_minutes: 30
118120
key: 'build-android-fixture-2020'
@@ -133,33 +135,33 @@ steps:
133135
- exit_status: "*"
134136
limit: 1
135137

136-
- label: ':android: Build Android EDM test fixture for Unity 2020'
137-
timeout_in_minutes: 30
138-
key: 'build-edm-fixture-2020'
139-
depends_on: 'build-artifacts'
140-
env:
141-
UNITY_VERSION: "2020.3.32f1"
142-
plugins:
143-
artifacts#v1.5.0:
144-
download:
145-
- Bugsnag.unitypackage
146-
upload:
147-
- features/fixtures/EDM_Fixture/edm_2020.3.32f1.apk
148-
- features/scripts/mobile/buildEdmFixture.log
149-
- features/scripts/mobile/edmImport.log
150-
- features/scripts/mobile/enableEdm.log
151-
commands:
152-
- rake test:edm:build
153-
retry:
154-
automatic:
155-
- exit_status: "*"
156-
limit: 1
138+
# - label: ':android: Build Android EDM test fixture for Unity 2020'
139+
# timeout_in_minutes: 30
140+
# key: 'build-edm-fixture-2020'
141+
# depends_on: 'build-artifacts'
142+
# env:
143+
# UNITY_VERSION: "2020.3.32f1"
144+
# plugins:
145+
# artifacts#v1.5.0:
146+
# download:
147+
# - Bugsnag.unitypackage
148+
# upload:
149+
# - features/fixtures/EDM_Fixture/edm_2020.3.32f1.apk
150+
# - features/scripts/buildEdmFixture.log
151+
# - features/scripts/edmImport.log
152+
# - features/scripts/enableEdm.log
153+
# commands:
154+
# - rake test:edm:build
155+
# retry:
156+
# automatic:
157+
# - exit_status: "*"
158+
# limit: 1
157159

158160
#
159161
# Run Android tests
160162
#
161163
- label: ':android: Run Android e2e tests for Unity 2020'
162-
timeout_in_minutes: 30
164+
timeout_in_minutes: 60
163165
depends_on: 'build-android-fixture-2020'
164166
agents:
165167
queue: opensource
@@ -177,36 +179,40 @@ steps:
177179
command:
178180
- "--app=/app/features/fixtures/maze_runner/mazerunner_2020.3.32f1.apk"
179181
- "--farm=bs"
180-
- "--device=ANDROID_9_0"
182+
- "--device=ANDROID_11_0"
183+
- "features/csharp"
181184
- "features/android"
182185
concurrency: 24
183186
concurrency_group: browserstack-app
184187
concurrency_method: eager
185188

186-
- label: ':android: Run Android EDM e2e tests for Unity 2020'
187-
timeout_in_minutes: 30
188-
depends_on: 'build-edm-fixture-2020'
189-
agents:
190-
queue: opensource
191-
env:
192-
UNITY_VERSION: "2020.3.32f1"
193-
plugins:
194-
artifacts#v1.5.0:
195-
download:
196-
- "features/fixtures/EDM_Fixture/edm_2020.3.32f1.apk"
197-
upload:
198-
- "maze_output/**/*"
199-
docker-compose#v3.7.0:
200-
pull: maze-runner
201-
run: maze-runner
202-
command:
203-
- "--app=/app/features/fixtures/EDM_Fixture/edm_2020.3.32f1.apk"
204-
- "--farm=bs"
205-
- "--device=ANDROID_9_0"
206-
- "features/edm"
207-
concurrency: 24
208-
concurrency_group: browserstack-app
209-
concurrency_method: eager
189+
190+
# Run Android EDM tests
191+
192+
# - label: ':android: Run Android EDM e2e tests for Unity 2020'
193+
# timeout_in_minutes: 30
194+
# depends_on: 'build-edm-fixture-2020'
195+
# agents:
196+
# queue: opensource
197+
# env:
198+
# UNITY_VERSION: "2020.3.32f1"
199+
# plugins:
200+
# artifacts#v1.5.0:
201+
# download:
202+
# - "features/fixtures/EDM_Fixture/edm_2020.3.32f1.apk"
203+
# upload:
204+
# - "maze_output/**/*"
205+
# docker-compose#v3.7.0:
206+
# pull: maze-runner
207+
# run: maze-runner
208+
# command:
209+
# - "--app=/app/features/fixtures/EDM_Fixture/edm_2020.3.32f1.apk"
210+
# - "--farm=bs"
211+
# - "--device=ANDROID_11_0"
212+
# - "features/edm"
213+
# concurrency: 24
214+
# concurrency_group: browserstack-app
215+
# concurrency_method: eager
210216

211217
#
212218
# Build iOS test fixtures
@@ -259,7 +265,7 @@ steps:
259265
# Run iOS tests
260266
#
261267
- label: ':ios: Run iOS e2e tests for Unity 2020'
262-
timeout_in_minutes: 30
268+
timeout_in_minutes: 60
263269
depends_on: 'build-ios-fixture-2020'
264270
agents:
265271
queue: opensource
@@ -275,16 +281,18 @@ steps:
275281
command:
276282
- "--app=/app/features/fixtures/maze_runner/mazerunner_2020.3.32f1.ipa"
277283
- "--farm=bs"
278-
- "--device=IOS_14"
284+
- "--device=IOS_15"
279285
- "--fail-fast"
286+
- "features/csharp"
280287
- "features/ios"
288+
281289
concurrency: 24
282290
concurrency_group: browserstack-app
283291
concurrency_method: eager
284292

285293
#
286294
# Build Windows test fixture
287-
#
295+
288296
- label: Build Unity 2020 Windows test fixture
289297
timeout_in_minutes: 30
290298
key: 'windows-2020-fixture'
@@ -309,7 +317,7 @@ steps:
309317

310318
#
311319
# Run Windows e2e tests
312-
#
320+
313321
- label: Run Windows e2e tests for Unity 2020
314322
timeout_in_minutes: 30
315323
depends_on: 'windows-2020-fixture'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ upm-tools/UPMImportProject/Assets/Bugsnag
4242
Bugsnag.meta
4343
unity/PackageProject/Assets/Bugsnag
4444
nunit-agent*.log
45+
features/fixtures/maze_runner/Assets/Bugsnag

CHANGELOG.md

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

3+
## 7.5.0 (2023-01-04)
4+
5+
### Enhancements
6+
7+
* Added checks in delivery to ensure payloads can't get stuck in a retry loop. [#683](https://github.com/bugsnag/bugsnag-unity/pull/683)
8+
9+
* Raised `Configuration.MaxBreadcrumbs` default from 50 to 100, raised the limit from 100 to 500 and added a check to truncate breadcrumbs from oversized payloads. [#671](https://github.com/bugsnag/bugsnag-unity/pull/671)
10+
11+
* Add `Configuration.MaxStringValueLength` config option. [#668](https://github.com/bugsnag/bugsnag-unity/pull/668)
12+
13+
* Added `Telemetry.Usage` configuration option to set the [native Android option](https://docs.bugsnag.com/platforms/android/configuration-options/#telemetry) and the [native Cocoa option](https://docs.bugsnag.com/platforms/ios/configuration-options/#telemetry) [#666](https://github.com/bugsnag/bugsnag-unity/pull/666)
14+
15+
### Dependency updates
16+
17+
* Update bugsnag-cocoa from v6.25.0 to [v6.25.1](https://github.com/bugsnag/bugsnag-cocoa/blob/master/CHANGELOG.md#6251-2022-12-07)
18+
* Update bugsnag-android from v5.28.1 to [v5.28.3](https://github.com/bugsnag/bugsnag-android/blob/master/CHANGELOG.md#5283-2022-11-16)
19+
20+
### Bug fixes
21+
22+
* Fix an issue where bundle version was not reported correctly on iOS and MacOS. [#672](https://github.com/bugsnag/bugsnag-unity/pull/672)
23+
24+
* Fix an issue where a null value in metadata could cause an exception. [#652](https://github.com/bugsnag/bugsnag-unity/pull/652)
25+
26+
* Fix an issue where android metadata was not deserialised as the correct type, which could cause exceptions when processing metadata. [#652](https://github.com/bugsnag/bugsnag-unity/pull/652)
27+
28+
* Fix an issue where android sessions had inaccurate Session.Handled and Unhandled counts. [#684](https://github.com/bugsnag/bugsnag-unity/pull/684)
29+
30+
* Fix an issue where Cocoa Device and App data was serialized incorrectly causing invalid cast exceptions in callbacks [#680](https://github.com/bugsnag/bugsnag-unity/pull/680)
31+
32+
* Fixed an issue where user changes made in OnSession callbacks did not make it to the generated payload [#681](https://github.com/bugsnag/bugsnag-unity/pull/681)
33+
334
## 7.4.0 (2022-10-26)
435

536
### Dependency updates

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ gem 'xcodeproj'
66

77
unless Gem.win_platform?
88
# Use official Maze Runner release
9-
gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', tag: 'v6.19.1'
9+
gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', tag: 'v7.10.1'
1010

1111
# Use a specific Maze Runner branch
1212
#gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', branch: 'master'

Gemfile.lock

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
GIT
22
remote: https://github.com/bugsnag/maze-runner
3-
revision: efb5e94f4f321cd8553ac24bf73178466efcc7b6
4-
tag: v6.19.1
3+
revision: 81f79a9b405fb63bbfc8ef6cc8f20cd1f2c3905e
4+
tag: v7.2.1
55
specs:
6-
bugsnag-maze-runner (6.19.1)
7-
appium_lib (~> 11.2.0)
6+
bugsnag-maze-runner (7.2.1)
7+
appium_lib (~> 12.0)
88
bugsnag (~> 6.24)
99
cucumber (~> 7.1)
1010
cucumber-expressions (~> 6.0.0)
@@ -13,7 +13,7 @@ GIT
1313
os (~> 1.0.0)
1414
rake (~> 12.3.3)
1515
rubyzip (~> 2.3.2)
16-
selenium-webdriver (~> 3.11)
16+
selenium-webdriver (~> 4.0)
1717
test-unit (~> 3.5.2)
1818
webrick (~> 1.7.0)
1919

@@ -22,18 +22,18 @@ GEM
2222
specs:
2323
CFPropertyList (3.0.5)
2424
rexml
25-
appium_lib (11.2.0)
26-
appium_lib_core (~> 4.1)
25+
appium_lib (12.0.1)
26+
appium_lib_core (~> 5.0)
2727
nokogiri (~> 1.8, >= 1.8.1)
28-
tomlrb (~> 1.1)
29-
appium_lib_core (4.7.1)
28+
tomlrb (>= 1.1, < 3.0)
29+
appium_lib_core (5.4.0)
3030
faye-websocket (~> 0.11.0)
31-
selenium-webdriver (~> 3.14, >= 3.14.1)
31+
selenium-webdriver (~> 4.2, < 4.6)
3232
atomos (0.1.3)
3333
bugsnag (6.24.2)
3434
concurrent-ruby (~> 1.0)
3535
builder (3.2.4)
36-
childprocess (3.0.0)
36+
childprocess (4.1.0)
3737
claide (1.1.0)
3838
colored2 (3.1.2)
3939
concurrent-ruby (1.1.10)
@@ -78,8 +78,12 @@ GEM
7878
mime-types (3.4.1)
7979
mime-types-data (~> 3.2015)
8080
mime-types-data (3.2022.0105)
81+
mini_portile2 (2.8.0)
8182
multi_test (0.1.2)
8283
nanaimo (0.3.0)
84+
nokogiri (1.13.8)
85+
mini_portile2 (~> 2.8.0)
86+
racc (~> 1.4)
8387
nokogiri (1.13.8-x86_64-darwin)
8488
racc (~> 1.4)
8589
nokogiri (1.13.8-x86_64-linux)
@@ -92,15 +96,18 @@ GEM
9296
rexml (3.2.5)
9397
rouge (2.0.7)
9498
rubyzip (2.3.2)
95-
selenium-webdriver (3.142.7)
96-
childprocess (>= 0.5, < 4.0)
97-
rubyzip (>= 1.2.2)
99+
selenium-webdriver (4.5.0)
100+
childprocess (>= 0.5, < 5.0)
101+
rexml (~> 3.2, >= 3.2.5)
102+
rubyzip (>= 1.2.2, < 3.0)
103+
websocket (~> 1.0)
98104
sys-uname (1.2.2)
99105
ffi (~> 1.1)
100-
test-unit (3.5.3)
106+
test-unit (3.5.5)
101107
power_assert
102-
tomlrb (1.3.0)
108+
tomlrb (2.0.3)
103109
webrick (1.7.0)
110+
websocket (1.2.9)
104111
websocket-driver (0.7.5)
105112
websocket-extensions (>= 0.1.0)
106113
websocket-extensions (0.1.5)

Rakefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -389,13 +389,13 @@ namespace :test do
389389

390390
# Prepare the test fixture project by importing the plugins
391391
env = { "UNITY_PATH" => File.dirname(unity) }
392-
script = File.join("features", "scripts", "mobile", "prepare_fixture.sh")
392+
script = File.join("features", "scripts", "prepare_fixture.sh")
393393
unless system env, script
394394
raise 'Preparation of test fixture failed'
395395
end
396396

397397
# Build the Android APK
398-
script = File.join("features", "scripts", "mobile", "build_android.sh")
398+
script = File.join("features", "scripts", "build_android.sh")
399399
unless system env, script
400400
raise 'Android APK build failed'
401401
end
@@ -409,7 +409,7 @@ namespace :test do
409409

410410
# Build the Android APK
411411
env = { "UNITY_PATH" => File.dirname(unity) }
412-
script = File.join("features", "scripts", "mobile", "build_edm.sh")
412+
script = File.join("features", "scripts", "build_edm.sh")
413413
unless system env, script
414414
raise 'EDM APK build failed'
415415
end
@@ -423,14 +423,14 @@ namespace :test do
423423

424424
# Prepare the test fixture project by importing the plugins
425425
env = { "UNITY_PATH" => File.dirname(unity) }
426-
script = File.join("features", "scripts", "mobile", "prepare_fixture.sh")
426+
script = File.join("features", "scripts", "prepare_fixture.sh")
427427
unless system env, script
428428
raise 'Preparation of test fixture failed'
429429
end
430430

431431
# Generate the Xcode project
432432
cd "features" do
433-
script = File.join("scripts", "mobile", "generate_xcode_project.sh")
433+
script = File.join("scripts", "generate_xcode_project.sh")
434434
unless system env, script
435435
raise 'IPA build failed'
436436
end
@@ -440,7 +440,7 @@ namespace :test do
440440
task :build_xcode do
441441
# Build and archive from the Xcode project
442442
cd "features" do
443-
script = File.join("scripts", "mobile", "build_ios.sh")
443+
script = File.join("scripts", "build_ios.sh")
444444
unless system script
445445
raise 'IPA build failed'
446446
end

bugsnag-android

Submodule bugsnag-android updated 60 files

0 commit comments

Comments
 (0)