Skip to content

Commit 07a8635

Browse files
authored
Merge pull request #497 from bugsnag/next
Release v6.0.0
2 parents c39b734 + 18b396f commit 07a8635

File tree

260 files changed

+8946
-3223
lines changed

Some content is hidden

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

260 files changed

+8946
-3223
lines changed

.buildkite/pipeline.full.yml

Lines changed: 128 additions & 239 deletions
Large diffs are not rendered by default.

.buildkite/pipeline.yml

Lines changed: 55 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
steps:
22

33
#
4-
# Build notifier. We run tests for all Unity versions with the 2017 artifacts, as that is what we ship.
4+
# Build notifier. We run tests for all Unity versions with the 2018 artifacts, as that is what we ship.
55
#
66
- label: Build notifier artifacts
77
key: 'build-artifacts'
88
timeout_in_minutes: 30
99
agents:
1010
queue: opensource-mac-unity
1111
env:
12-
UNITY_VERSION: "2017.4.40f1"
12+
UNITY_VERSION: "2018.4.36f1"
1313
commands:
1414
- bundle install
1515
- bundle exec rake plugin:export
1616
artifact_paths:
1717
- Bugsnag.unitypackage
18-
- Bugsnag-with-android-64bit.unitypackage
1918

2019
#
2120
# Build MacOS and WebGL test fixtures
@@ -27,19 +26,23 @@ steps:
2726
agents:
2827
queue: opensource-mac-unity
2928
env:
30-
UNITY_VERSION: "2020.3.15f2"
29+
UNITY_VERSION: "2020.3.25f1"
3130
plugins:
3231
artifacts#v1.2.0:
3332
download:
3433
- Bugsnag.unitypackage
35-
- Bugsnag-with-android-64bit.unitypackage
3634
commands:
3735
- scripts/ci-build-macos-packages.sh
3836
artifact_paths:
3937
- unity.log
40-
- features/fixtures/maze_runner/build/MacOS-2020.3.15f2.zip
41-
- features/fixtures/maze_runner/build/WebGL-2020.3.15f2.zip
42-
38+
- features/fixtures/maze_runner/build/MacOS-2020.3.25f1.zip
39+
- features/fixtures/maze_runner/build/WebGL-2020.3.25f1.zip
40+
retry:
41+
automatic:
42+
- exit_status: -1 # Agent was lost
43+
limit: 1
44+
- exit_status: 255 # Forced agent shutdown (e.g. timeout)
45+
limit: 1
4346
#
4447
# Run desktop tests
4548
#
@@ -49,11 +52,11 @@ steps:
4952
agents:
5053
queue: opensource-mac-cocoa-11
5154
env:
52-
UNITY_VERSION: "2020.3.15f2"
55+
UNITY_VERSION: "2020.3.25f1"
5356
plugins:
5457
artifacts#v1.2.0:
5558
download:
56-
- features/fixtures/maze_runner/build/MacOS-2020.3.15f2.zip
59+
- features/fixtures/maze_runner/build/MacOS-2020.3.25f1.zip
5760
upload:
5861
- maze_output/*
5962
- Mazerunner.log
@@ -69,11 +72,11 @@ steps:
6972
agents:
7073
queue: opensource-mac-cocoa-11
7174
env:
72-
UNITY_VERSION: "2020.3.15f2"
75+
UNITY_VERSION: "2020.3.25f1"
7376
plugins:
7477
artifacts#v1.2.0:
7578
download:
76-
- features/fixtures/maze_runner/build/WebGL-2020.3.15f2.zip
79+
- features/fixtures/maze_runner/build/WebGL-2020.3.25f1.zip
7780
upload:
7881
- maze_output/failed/**/*
7982
commands:
@@ -89,17 +92,22 @@ steps:
8992
agents:
9093
queue: opensource-mac-unity
9194
env:
92-
UNITY_VERSION: "2020.3.15f2"
95+
UNITY_VERSION: "2020.3.25f1"
9396
plugins:
9497
artifacts#v1.2.0:
9598
download:
9699
- Bugsnag.unitypackage
97-
- Bugsnag-with-android-64bit.unitypackage
98100
upload:
99-
- features/fixtures/maze_runner/mazerunner_2020.3.15f2.apk
101+
- features/fixtures/maze_runner/mazerunner_2020.3.25f1.apk
100102
- features/fixtures/unity.log
101103
commands:
102104
- rake test:android:build
105+
retry:
106+
automatic:
107+
- exit_status: -1 # Agent was lost
108+
limit: 1
109+
- exit_status: 255 # Forced agent shutdown (e.g. timeout)
110+
limit: 1
103111

104112
#
105113
# Run Android tests
@@ -110,17 +118,18 @@ steps:
110118
agents:
111119
queue: opensource
112120
env:
113-
UNITY_VERSION: "2020.3.15f2"
121+
UNITY_VERSION: "2020.3.25f1"
114122
plugins:
115123
artifacts#v1.3.0:
116124
download:
117-
- "features/fixtures/maze_runner/mazerunner_2020.3.15f2.apk"
125+
- "features/fixtures/maze_runner/mazerunner_2020.3.25f1.apk"
118126
upload:
119127
- "maze_output/failed/**/*"
120-
docker-compose#v3.3.0:
128+
docker-compose#v3.7.0:
129+
pull: maze-runner
121130
run: maze-runner
122131
command:
123-
- "--app=/app/features/fixtures/maze_runner/mazerunner_2020.3.15f2.apk"
132+
- "--app=/app/features/fixtures/maze_runner/mazerunner_2020.3.25f1.apk"
124133
- "--farm=bs"
125134
- "--device=ANDROID_9_0"
126135
- "features/android"
@@ -138,19 +147,24 @@ steps:
138147
agents:
139148
queue: opensource-mac-unity
140149
env:
141-
UNITY_VERSION: "2020.3.15f2"
150+
UNITY_VERSION: "2020.3.25f1"
142151
plugins:
143152
artifacts#v1.2.0:
144153
download:
145154
- Bugsnag.unitypackage
146-
- Bugsnag-with-android-64bit.unitypackage
147155
upload:
148-
- features/fixtures/maze_runner/mazerunner_2020.3.15f2.ipa
156+
- features/fixtures/maze_runner/mazerunner_2020.3.25f1.ipa
149157
- features/fixtures/unity.log
150158
- project_2020.tgz
151159
commands:
152160
- rake test:ios:generate_xcode
153161
- tar -zvcf project_2020.tgz features/fixtures/maze_runner/mazerunner_xcode
162+
retry:
163+
automatic:
164+
- exit_status: -1 # Agent was lost
165+
limit: 1
166+
- exit_status: 255 # Forced agent shutdown (e.g. timeout)
167+
limit: 1
154168

155169
- label: ':ios: Build iOS test fixture for Unity 2020'
156170
key: 'build-ios-fixture-2020'
@@ -159,19 +173,24 @@ steps:
159173
agents:
160174
queue: opensource-mac-cocoa-11
161175
env:
162-
UNITY_VERSION: "2020.3.15f2"
176+
UNITY_VERSION: "2020.3.25f1"
163177
plugins:
164178
artifacts#v1.2.0:
165179
download:
166180
- Bugsnag.unitypackage
167-
- Bugsnag-with-android-64bit.unitypackage
168181
- project_2020.tgz
169182
upload:
170-
- features/fixtures/maze_runner/mazerunner_2020.3.15f2.ipa
183+
- features/fixtures/maze_runner/mazerunner_2020.3.25f1.ipa
171184
- features/fixtures/unity.log
172185
commands:
173186
- tar -zxf project_2020.tgz features/fixtures/maze_runner
174187
- rake test:ios:build_xcode
188+
retry:
189+
automatic:
190+
- exit_status: -1 # Agent was lost
191+
limit: 1
192+
- exit_status: 255 # Forced agent shutdown (e.g. timeout)
193+
limit: 1
175194

176195
#
177196
# Run iOS tests
@@ -184,14 +203,14 @@ steps:
184203
plugins:
185204
artifacts#v1.3.0:
186205
download:
187-
- "features/fixtures/maze_runner/mazerunner_2020.3.15f2.ipa"
206+
- "features/fixtures/maze_runner/mazerunner_2020.3.25f1.ipa"
188207
upload:
189208
- "maze_output/failed/**/*"
190209
docker-compose#v3.7.0:
191210
pull: maze-runner
192211
run: maze-runner
193212
command:
194-
- "--app=/app/features/fixtures/maze_runner/mazerunner_2020.3.15f2.ipa"
213+
- "--app=/app/features/fixtures/maze_runner/mazerunner_2020.3.25f1.ipa"
195214
- "--farm=bs"
196215
- "--device=IOS_14"
197216
- "--fail-fast"
@@ -210,12 +229,18 @@ steps:
210229
agents:
211230
queue: opensource-windows-unity
212231
env:
213-
UNITY_VERSION: "2020.3.17f1"
232+
UNITY_VERSION: "2020.3.25f1"
214233
commands:
215234
- scripts/ci-build-windows-package.bat
216235
artifact_paths:
217236
- unity.log
218-
- features/fixtures/maze_runner/build/Windows-2020.3.17f1.zip
237+
- features/fixtures/maze_runner/build/Windows-2020.3.25f1.zip
238+
retry:
239+
automatic:
240+
- exit_status: -1 # Agent was lost
241+
limit: 1
242+
- exit_status: 255 # Forced agent shutdown (e.g. timeout)
243+
limit: 1
219244

220245
#
221246
# Run Windows e2e tests
@@ -226,7 +251,7 @@ steps:
226251
agents:
227252
queue: opensource-windows-unity
228253
env:
229-
UNITY_VERSION: "2020.3.17f1"
254+
UNITY_VERSION: "2020.3.25f1"
230255
command:
231256
- scripts/ci-run-windows-tests.bat
232257
artifact_paths:

.buildkite/pipeline_trigger.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
if [[ "$BUILDKITE_MESSAGE" == *"[full ci]"* ||
44
"$BUILDKITE_BRANCH" == "next" ||
55
"$BUILDKITE_BRANCH" == "master" ||
6+
! -z "$FULL_SCHEDULED_BUILD" ||
67
"$BUILDKITE_PULL_REQUEST_BASE_BRANCH" == "master" ]]; then
78
echo "Running full build"
89
buildkite-agent pipeline upload .buildkite/pipeline.full.yml

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,12 @@ features/**/*.zip
3030
**/maze_runner/output/
3131
**/maze_runner/Mazerunner.log
3232
**/maze_output
33+
PackageBranch
34+
example/Assets/Bugsnag
35+
example/Logs
36+
example/UserSettings
37+
example/Assets/Resources
38+
upm-tools/UPMImportProject/Library
39+
upm-tools/UPMImportProject/Assets/Bugsnag
40+
Bugsnag.meta
41+
unity/PackageProject/Assets/Bugsnag

BugsnagUnity.sln

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnityEngine", "tests\UnityE
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{330E1C29-F8C0-4FFC-9FE9-9FA71DE400FC}"
99
ProjectSection(SolutionItems) = preProject
10-
src\Assets\Standard Assets\Bugsnag\BugsnagBehaviour.cs = src\Assets\Standard Assets\Bugsnag\BugsnagBehaviour.cs
1110
src\BugsnagUnity.mm = src\BugsnagUnity.mm
1211
EndProjectSection
1312
EndProject

CHANGELOG.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,54 @@
11
# Changelog
22

3-
## TBD
3+
* ## 6.0.0 (2022-01-20)
4+
5+
This version contains **breaking** changes, as bugsnag-unity has been updated to allow for more convenient and performant initialisation and configuration features.
6+
7+
Please see the [upgrade guide](./UPGRADING.md) for details of all the changes and instructions on how to upgrade.
8+
9+
In addition to the changes mentioned in the upgrade guide, the bundled Bugsnag Android Notifier has been updated. See below for details.
10+
11+
* Update bugsnag-android to v5.18.0
12+
* Bump compileSdkVersion to apiLevel 31
13+
[bugsnag-android#1536](https://github.com/bugsnag/bugsnag-android/pull/1536)
14+
* Flush in-memory sessions first
15+
[bugsnag-android#1538](https://github.com/bugsnag/bugsnag-android/pull/1538)
16+
* Avoid unnecessary network connectivity change breadcrumb
17+
[bugsnag-android#1540](https://github.com/bugsnag/bugsnag-android/pull/1540)
18+
[bugsnag-android#1546](https://github.com/bugsnag/bugsnag-android/pull/1546)
19+
* Clear native stacktrace memory in `bugsnag_notify_env` before attempting to unwind the stack
20+
[bugsnag-android#1543](https://github.com/bugsnag/bugsnag-android/pull/1543)
21+
* Increase resilience of NDK stackframe method capture
22+
[bugsnag-android#1484](https://github.com/bugsnag/bugsnag-android/pull/1484)
23+
* `redactedKeys` now correctly apply to metadata on Event breadcrumbs
24+
[bugsnag-android#1526](https://github.com/bugsnag/bugsnag-android/pull/1526)
25+
* Improved the robustness of automatically logged `ERROR` breadcrumbs
26+
[bugsnag-android#1531](https://github.com/bugsnag/bugsnag-android/pull/1531)
27+
* Improve performance on the breadcrumb storage "hot path" by removing Date formatting
28+
[bugsnag-android#1525](https://github.com/bugsnag/bugsnag-android/pull/1525)
29+
* Improve the memory use and performance overhead when handling the delivery response status codes
30+
[bugsnag-android#1558](https://github.com/bugsnag/bugsnag-android/pull/1558)
31+
* Harden ndk layer through use of const keyword
32+
[bugsnag-android#1566](https://github.com/bugsnag/bugsnag-android/pull/1566)
33+
* Delete persisted NDK events earlier in delivery process
34+
[bugsnag-android#1562](https://github.com/bugsnag/bugsnag-android/pull/1562)
35+
* Add null checks for strlen()
36+
[bugsnag-android#1563](https://github.com/bugsnag/bugsnag-android/pull/1563)
37+
* Catch IOException when logging response status code
38+
[bugsnag-android#1567](https://github.com/bugsnag/bugsnag-android/pull/1567)
439

540
## 5.4.2 (2021-11-16)
641

742
* Update bugsnag-cocoa to v6.14.2
843
* Fix missing `configuration.user` and manually resumed `session` info in unhandled errors.
944
[bugsnag-cocoa#1215](https://github.com/bugsnag/bugsnag-cocoa/pull/1215)
45+
* Update bugsnag-android to v5.15.0
46+
* Avoid reporting false-positive background ANRs with improved foreground detection
47+
[bugsnag-android#1429](https://github.com/bugsnag/bugsnag-android/pull/1429)
48+
* Prevent events being attached to phantom sessions when they are blocked by an `OnSessionCallback`
49+
[bugsnag-android#1434](https://github.com/bugsnag/bugsnag-android/pull/1434)
50+
* Plugins will correctly mirror metadata added using `addMetadata(String, Map)`
51+
[bugsnag-android#1454](https://github.com/bugsnag/bugsnag-android/pull/1454)
1052

1153
### Bug fixes
1254

0 commit comments

Comments
 (0)