Skip to content

Commit 66ea3ee

Browse files
authored
Merge pull request #558 from bugsnag/next
Release v7.0.0
2 parents 718dec3 + 90d4b7d commit 66ea3ee

30 files changed

+334
-106
lines changed

.buildkite/pipeline.full.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ steps:
7272
# Run macOS desktop tests
7373
#
7474
- label: Run MacOS e2e tests for Unity 2018
75-
timeout_in_minutes: 30
75+
timeout_in_minutes: 60
7676
depends_on: 'cocoa-webgl-2018-fixtures'
7777
agents:
7878
queue: macos-12-arm-unity
@@ -89,7 +89,7 @@ steps:
8989
- scripts/ci-run-macos-tests.sh
9090

9191
- label: Run MacOS e2e tests for Unity 2019
92-
timeout_in_minutes: 30
92+
timeout_in_minutes: 60
9393
depends_on: 'cocoa-webgl-2019-fixtures'
9494
agents:
9595
queue: macos-12-arm-unity
@@ -106,7 +106,7 @@ steps:
106106
- scripts/ci-run-macos-tests.sh
107107

108108
- label: Run MacOS e2e tests for Unity 2021
109-
timeout_in_minutes: 30
109+
timeout_in_minutes: 60
110110
depends_on: 'cocoa-webgl-2021-fixtures'
111111
agents:
112112
queue: macos-12-arm-unity
@@ -285,7 +285,7 @@ steps:
285285
- "--farm=bs"
286286
- "--device=ANDROID_9_0"
287287
- "features/android"
288-
concurrency: 9
288+
concurrency: 24
289289
concurrency_group: browserstack-app
290290
concurrency_method: eager
291291

@@ -308,7 +308,7 @@ steps:
308308
- "--farm=bs"
309309
- "--device=ANDROID_9_0"
310310
- "features/android"
311-
concurrency: 9
311+
concurrency: 24
312312
concurrency_group: browserstack-app
313313
concurrency_method: eager
314314

@@ -333,7 +333,7 @@ steps:
333333
- "--farm=bs"
334334
- "--device=ANDROID_9_0"
335335
- "features/android"
336-
concurrency: 9
336+
concurrency: 24
337337
concurrency_group: browserstack-app
338338
concurrency_method: eager
339339

@@ -358,7 +358,7 @@ steps:
358358
- "--farm=bs"
359359
- "--device=ANDROID_9_0"
360360
- "features/edm"
361-
concurrency: 9
361+
concurrency: 24
362362
concurrency_group: browserstack-app
363363
concurrency_method: eager
364364

@@ -523,7 +523,7 @@ steps:
523523
- "--device=IOS_14"
524524
- "--fail-fast"
525525
- "features/ios"
526-
concurrency: 9
526+
concurrency: 24
527527
concurrency_group: browserstack-app
528528
concurrency_method: eager
529529

@@ -547,7 +547,7 @@ steps:
547547
- "--device=IOS_14"
548548
- "--fail-fast"
549549
- "features/ios"
550-
concurrency: 9
550+
concurrency: 24
551551
concurrency_group: browserstack-app
552552
concurrency_method: eager
553553

@@ -571,7 +571,7 @@ steps:
571571
- "--device=IOS_14"
572572
- "--fail-fast"
573573
- "features/ios"
574-
concurrency: 9
574+
concurrency: 24
575575
concurrency_group: browserstack-app
576576
concurrency_method: eager
577577

@@ -642,6 +642,7 @@ steps:
642642
queue: opensource-windows-unity
643643
env:
644644
UNITY_VERSION: "2018.4.36f1"
645+
WSLENV: "UNITY_VERSION"
645646
command:
646647
- scripts/ci-run-windows-tests.bat
647648
artifact_paths:
@@ -654,6 +655,7 @@ steps:
654655
queue: opensource-windows-unity
655656
env:
656657
UNITY_VERSION: "2019.4.35f1"
658+
WSLENV: "UNITY_VERSION"
657659
command:
658660
- scripts/ci-run-windows-tests.bat
659661
artifact_paths:

.buildkite/pipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ steps:
4949
# Run desktop tests
5050
#
5151
- label: Run MacOS e2e tests for Unity 2020
52-
timeout_in_minutes: 30
52+
timeout_in_minutes: 60
5353
depends_on: 'cocoa-webgl-2020-fixtures'
5454
agents:
5555
queue: macos-12-arm-unity
@@ -156,7 +156,7 @@ steps:
156156
- "--farm=bs"
157157
- "--device=ANDROID_9_0"
158158
- "features/android"
159-
concurrency: 9
159+
concurrency: 24
160160
concurrency_group: browserstack-app
161161
concurrency_method: eager
162162

@@ -181,7 +181,7 @@ steps:
181181
- "--farm=bs"
182182
- "--device=ANDROID_9_0"
183183
- "features/edm"
184-
concurrency: 9
184+
concurrency: 24
185185
concurrency_group: browserstack-app
186186
concurrency_method: eager
187187

@@ -254,7 +254,7 @@ steps:
254254
- "--device=IOS_14"
255255
- "--fail-fast"
256256
- "features/ios"
257-
concurrency: 9
257+
concurrency: 24
258258
concurrency_group: browserstack-app
259259
concurrency_method: eager
260260

CHANGELOG.md

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

3+
## 7.0.0 (2022-05-30)
4+
5+
This version contains **breaking** changes: some errors generated by the new version will no longer group in the Bugnsag dashboard with equivalent errors generated by older versions. This is due to the introduction of a new exception interceptor that gets passed the C# exception objects, rather than having to parse the information from Unity logs.
6+
7+
Please see the [upgrade guide](./UPGRADING.md) for details of all the changes and instructions on how to upgrade.
8+
9+
### Dependency updates
10+
11+
* Update bugsnag-android from v5.22.0 to [v5.22.4](https://github.com/bugsnag/bugsnag-android/blob/master/CHANGELOG.md#5224-2022-05-24)
12+
13+
* Update bugsnag-cocoa from v6.16.1 to [v6.17.1](https://github.com/bugsnag/bugsnag-cocoa/blob/master/CHANGELOG.md#6171-2022-05-18)
14+
315
## 6.3.2 (2022-05-27)
416

517
### Bug fixes

UPGRADING.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
Upgrading
22
=========
33

4+
## 6.x to 7.x
5+
6+
When building using Unity 2019+, the Bugsnag SDK now uses a new method to intercept uncaught C# exceptions. This allows us access to the original exception object, meaning more accurate exception data and full support for inner exceptions.
7+
8+
This has slightly changed the format used for method names and signatures, which means that uncaught C# exceptions reported by `bugsnag-unity` V7+ will not group automatically in the Bugsnag dashboard with the equivalent exception reported by older versions of the library.
9+
10+
The impact of this will be that some errors will effectively be duplicated between older and newer versions of your app.
11+
12+
Handled errors and native crashes will maintain their existing groups and are not affected by this upgrade.
13+
14+
#### Deprecation summary
15+
16+
The following methods have been removed from the `Bugsnag` client:
17+
18+
`Bugsnag.SessionTracking;` Please see the [capturing sessions](https://docs.bugsnag.com/platforms/unity/capturing-sessions/) section of our documentation for details on working with sessions.
19+
20+
`Bugsnag.Send(IPayload payload);`
21+
22+
423
## 5.x to 6.x
524

625
### Key points

bugsnag-android

Submodule bugsnag-android updated 100 files

bugsnag-cocoa

Submodule bugsnag-cocoa updated 350 files

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var target = Argument("target", "Default");
55
var solution = File("./BugsnagUnity.sln");
66
var configuration = Argument("configuration", "Release");
77
var project = File("./src/BugsnagUnity/BugsnagUnity.csproj");
8-
var version = "6.3.2";
8+
var version = "7.0.0";
99

1010
Task("Restore-NuGet-Packages")
1111
.Does(() => NuGetRestore(solution));

features/android/android_csharp_errors.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ Feature: Android smoke tests for C# errors
9898
# Stacktrace validation
9999
And the error payload field "events.0.exceptions.0.stacktrace" is a non-empty array
100100
And the event "exceptions.0.stacktrace.0.method" equals "MobileScenarioRunner.ThrowException()"
101-
And the event "exceptions.0.stacktrace.0.file" is not null
102101
And the event "exceptions.0.stacktrace.0.lineNumber" equals 0
103102
And the error payload field "events.0.threads" is null
104103

features/android/android_log_errors.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Feature: Android smoke tests for C# errors
1818
# Stacktrace validation
1919
And the error payload field "events.0.exceptions.0.stacktrace" is a non-empty array
2020
And the event "exceptions.0.stacktrace.0.method" equals "MobileScenarioRunner.LogCaughtException()"
21-
And the event "exceptions.0.stacktrace.0.file" is not null
2221
And the event "exceptions.0.stacktrace.0.lineNumber" equals 0
2322
And the error payload field "events.0.threads" is null
2423

features/android/android_persistence.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Feature: Android event persistence tests
55

66
Scenario: Get Persisted event
77
When I run the "Persist" mobile scenario
8-
And I wait for 4 seconds
8+
Then I wait to receive a session
99
When I clear any error dialogue
1010
And I relaunch the Unity mobile app
1111
When I run the "throw Exception" mobile scenario

0 commit comments

Comments
 (0)