Skip to content

Commit 0ea5142

Browse files
authored
Merge pull request #153 from bugsnag/next
Release v1.7.1
2 parents b31b143 + 515522a commit 0ea5142

File tree

5 files changed

+40
-5
lines changed

5 files changed

+40
-5
lines changed
Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1-
{
2-
"name": "BugsnagPerformance"
3-
}
1+
{
2+
"name": "BugsnagPerformance",
3+
"rootNamespace": "",
4+
"references": [
5+
"BugsnagUnity"
6+
],
7+
"includePlatforms": [],
8+
"excludePlatforms": [],
9+
"allowUnsafeCode": false,
10+
"overrideReferences": false,
11+
"precompiledReferences": [],
12+
"autoReferenced": true,
13+
"defineConstraints": [],
14+
"versionDefines": [],
15+
"noEngineReferences": false
16+
}

BugsnagPerformance/Assets/BugsnagPerformance/Scripts/Internal/Version.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
internal static class Version
44
{
55
//TODO set this using sed or something in the release automation task
6-
public const string VersionString = "1.7.0";
6+
public const string VersionString = "1.7.1";
77
}
88
}

CHANGELOG.md

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

3+
## v1.7.1 (2024-12-06)
4+
5+
### Bug Fixes
6+
7+
- Fix an issue where using this SDK with v8.3.0+ of the BugSnag Unity Notifier would cause an exception while trying to resolve the BugsnagUnityWebRequest wrapper [#151](https://github.com/bugsnag/bugsnag-unity-performance/pull/151)
8+
39
## v1.7.0 (2024-11-14)
410

511
### Additions

features/fixtures/mazerunner/Assets/Scripts/Scenarios/Network/NetworkPostFail.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,19 @@ public override void Run()
1919

2020
private IEnumerator DoRun()
2121
{
22+
#if UNITY_2022_2_OR_NEWER
23+
WWWForm form = new WWWForm();
24+
form.AddField("data", "1234567890");
25+
yield return BugsnagUnityWebRequest.Post(FAIL_URL, form).SendWebRequest();
26+
#else
2227
yield return BugsnagUnityWebRequest.Post(FAIL_URL, "1234567890").SendWebRequest();
28+
#endif
2329
yield return new WaitForSeconds(1);
24-
BugsnagUnityWebRequest.Post(Main.MazeHost, "1234567890").SendWebRequest();
30+
#if UNITY_2022_2_OR_NEWER
31+
yield return BugsnagUnityWebRequest.Post(Main.MazeHost, form).SendWebRequest();
32+
#else
33+
yield return BugsnagUnityWebRequest.Post(Main.MazeHost, "1234567890").SendWebRequest();
34+
#endif
2535
}
2636

2737
}

features/fixtures/mazerunner/Assets/Scripts/Scenarios/Network/NetworkPostSuccess.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ public override void PreparePerformanceConfig(string apiKey, string host)
1414

1515
public override void Run()
1616
{
17+
#if UNITY_2022_2_OR_NEWER
18+
WWWForm form = new WWWForm();
19+
form.AddField("data", "1234567890");
20+
BugsnagUnityWebRequest.Post(Main.MazeHost, form).SendWebRequest();
21+
#else
1722
BugsnagUnityWebRequest.Post(Main.MazeHost, "1234567890").SendWebRequest();
23+
#endif
1824
}
1925

2026
}

0 commit comments

Comments
 (0)