Skip to content

Commit b7b6811

Browse files
authored
Merge pull request #61 from bugsnag/next
Release v0.1.1
2 parents 3b3b7ce + 883dc33 commit b7b6811

File tree

5 files changed

+23
-4
lines changed

5 files changed

+23
-4
lines changed

BugsnagPerformance/Assets/BugsnagPerformance/Scripts/Public/BugsnagPerformanceSettingsObject.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,17 @@ private PerformanceConfiguration GetSettingsFromNotifier(out bool autoStart)
9494

9595
config.ReleaseStage = (string)GetValueFromNotifer(notifierSettings, "ReleaseStage");
9696

97-
config.EnabledReleaseStages = (string[])GetValueFromNotifer(notifierSettings, "EnabledReleaseStages");
97+
if (string.IsNullOrEmpty(config.ReleaseStage))
98+
{
99+
config.ReleaseStage = Debug.isDebugBuild ? "development" : "production";
100+
}
101+
102+
var notifierReleaseStages = (string[])GetValueFromNotifer(notifierSettings, "EnabledReleaseStages");
103+
104+
if (notifierReleaseStages != null && notifierReleaseStages.Length > 0)
105+
{
106+
config.EnabledReleaseStages = notifierReleaseStages;
107+
}
98108

99109
config.AppVersion = (string)GetValueFromNotifer(notifierSettings, "AppVersion");
100110
config.BundleVersion = (string)GetValueFromNotifer(notifierSettings, "BundleVersion");

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Changelog
2+
3+
## v0.1.1 (2023-07-04)
4+
5+
## Bug Fixes
6+
7+
- Fix issue where empty EnabledReleaseStages resulted in the SDK not starting. [#60](https://github.com/bugsnag/bugsnag-unity-performance/pull/60)
8+
9+
- Fix issue where both BugSnag UPM packages had conflicting GUIDs. [#59](https://github.com/bugsnag/bugsnag-unity-performance/pull/59)

upm/upm-resources/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ The source code for this project is located at: https://github.com/bugsnag/bugsn
1414

1515
## Resources
1616

17-
* [Documentation](https://docs.bugsnag.com/platforms/unity/)
17+
* [Documentation](https://docs.bugsnag.com/performance/unity/)

upm/upm-resources/README.md.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

upm/upm-resources/package.json.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)