-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #696 from bugsnag/next
Release v7.5.1
- Loading branch information
Showing
25 changed files
with
384 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule bugsnag-android
updated
15 files
Submodule bugsnag-cocoa
updated
22 files
+4 −4 | .buildkite/pipeline.full.yml | |
+4 −4 | .buildkite/pipeline.yml | |
+2 −2 | .github/workflows/pull_request.yml | |
+2 −2 | .jazzy.yaml | |
+2 −2 | Bugsnag.podspec.json | |
+14 −8 | Bugsnag/Helpers/BSGRunContext.m | |
+5 −2 | Bugsnag/Helpers/BSGSerialization.h | |
+14 −0 | Bugsnag/Helpers/BSGSerialization.m | |
+3 −3 | Bugsnag/Payload/BugsnagEvent.m | |
+1 −1 | Bugsnag/Payload/BugsnagNotifier.m | |
+3 −3 | BugsnagNetworkRequestPlugin.podspec.json | |
+10 −0 | CHANGELOG.md | |
+1 −1 | Framework/Info.plist | |
+1 −1 | Gemfile | |
+36 −21 | Gemfile.lock | |
+7 −1 | Tests/BugsnagTests/BugsnagCollectionsTests.m | |
+1 −1 | Tests/BugsnagTests/Info.plist | |
+1 −1 | Tests/TestHost-iOS/Info.plist | |
+1 −1 | VERSION | |
+28 −1 | docker-compose.yml | |
+12 −3 | features/steps/cocoa_steps.rb | |
+1 −1 | features/stress_test.feature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"dependencies": { | ||
"com.bugsnag.unitynotifier": "https://github.com/bugsnag/bugsnag-unity-upm.git", | ||
"com.unity.ads": "2.0.8", | ||
"com.unity.analytics": "3.2.3", | ||
"com.unity.collab-proxy": "1.2.15", | ||
"com.unity.package-manager-ui": "2.0.13", | ||
"com.unity.purchasing": "2.2.1", | ||
"com.unity.textmeshpro": "1.4.1", | ||
"com.unity.modules.ai": "1.0.0", | ||
"com.unity.modules.animation": "1.0.0", | ||
"com.unity.modules.assetbundle": "1.0.0", | ||
"com.unity.modules.audio": "1.0.0", | ||
"com.unity.modules.cloth": "1.0.0", | ||
"com.unity.modules.director": "1.0.0", | ||
"com.unity.modules.imageconversion": "1.0.0", | ||
"com.unity.modules.imgui": "1.0.0", | ||
"com.unity.modules.jsonserialize": "1.0.0", | ||
"com.unity.modules.particlesystem": "1.0.0", | ||
"com.unity.modules.physics": "1.0.0", | ||
"com.unity.modules.physics2d": "1.0.0", | ||
"com.unity.modules.screencapture": "1.0.0", | ||
"com.unity.modules.terrain": "1.0.0", | ||
"com.unity.modules.terrainphysics": "1.0.0", | ||
"com.unity.modules.tilemap": "1.0.0", | ||
"com.unity.modules.ui": "1.0.0", | ||
"com.unity.modules.uielements": "1.0.0", | ||
"com.unity.modules.umbra": "1.0.0", | ||
"com.unity.modules.unityanalytics": "1.0.0", | ||
"com.unity.modules.unitywebrequest": "1.0.0", | ||
"com.unity.modules.unitywebrequestassetbundle": "1.0.0", | ||
"com.unity.modules.unitywebrequestaudio": "1.0.0", | ||
"com.unity.modules.unitywebrequesttexture": "1.0.0", | ||
"com.unity.modules.unitywebrequestwww": "1.0.0", | ||
"com.unity.modules.vehicles": "1.0.0", | ||
"com.unity.modules.video": "1.0.0", | ||
"com.unity.modules.vr": "1.0.0", | ||
"com.unity.modules.wind": "1.0.0", | ||
"com.unity.modules.xr": "1.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Unity Example App | ||
|
||
This Application was made to demonstrate various features of the BugSnag Unity notifier. | ||
|
||
## Features including: | ||
<ul> | ||
<li>Handled errors and exceptions: Events which can be handled gracefully can also be reported to BugSnag</li> | ||
<li>Crashes: Events which terminate the app are sent to Bugsnag automatically. Reopen the app after a crash to send reports.</li> | ||
<li>Android specific crashes: Native, segfaults, C++, JVM & ANR exceptions. Reopen the app after a crash to send reports</li> | ||
<li>Cocoa sepecific crashes: Native, C++, OOM & App Hangs. Reopen the app after a crash to send reports</li> | ||
</ul> | ||
|
||
|
||
## Running the app | ||
|
||
<ol> | ||
<li>Clone the repo </li> | ||
``` | ||
git clone [email protected]:bugsnag/bugsnag-unity.git --recursive | ||
``` | ||
<li>Once the project has opened in Unity</li> | ||
<li>Navigate to `Windows>Bugsnag>Configuration`</li> | ||
<li>Enter your Bugsnag project API Key under the basic Configuration section of the package window</li> | ||
<li>Press `Play` in the editor</li> | ||
<li>Once loaded, click any of the error buttons</li> | ||
<li>Confirm whether the BugSnag dashboard has received the error.</li> | ||
</ol> | ||
|
||
For more configuration and full information please read the documentation at | ||
https://docs.bugsnag.com/platforms/unity/configuration-options/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
features/fixtures/maze_runner/Assets/Scripts/Scenarios/Csharp/Events/SerialisationError.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System; | ||
using BugsnagUnity; | ||
|
||
public class SerialisationError : Scenario | ||
{ | ||
private class Break | ||
{ | ||
public string BrokenString | ||
{ | ||
get | ||
{ | ||
throw new Exception("BrokenString"); | ||
return string.Empty; | ||
} | ||
} | ||
} | ||
|
||
public override void Run() | ||
{ | ||
Bugsnag.AddOnError(BrokenCallback); | ||
|
||
DoSimpleNotify("SerialisationErrorBroken"); //this should not get delivered | ||
|
||
Bugsnag.RemoveOnError(BrokenCallback); | ||
|
||
DoSimpleNotify("SerialisationError"); //this one should | ||
} | ||
|
||
private bool BrokenCallback(IEvent @event) | ||
{ | ||
@event.AddMetadata("Test", "Test", new Break()); | ||
return true; | ||
} | ||
} | ||
|
11 changes: 11 additions & 0 deletions
11
...es/fixtures/maze_runner/Assets/Scripts/Scenarios/Csharp/Events/SerialisationError.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.