Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v7.7.4 #792

Merged
merged 5 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 33 additions & 33 deletions .buildkite/pipeline.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ steps:
- scripts/ci-build-macos-packages.sh
artifact_paths:
- unity.log
- features/fixtures/maze_runner/build/MacOS-2020.3.48f1.zip
- features/fixtures/maze_runner/build/WebGL-2020.3.48f1.zip
- features/fixtures/maze_runner/build/MacOS-2020.zip
- features/fixtures/maze_runner/build/WebGL-2020.zip
retry:
automatic:
- exit_status: "*"
Expand All @@ -52,8 +52,8 @@ steps:
- scripts/ci-build-macos-packages.sh
artifact_paths:
- unity.log
- features/fixtures/maze_runner/build/MacOS-2021.3.36f1.zip
- features/fixtures/maze_runner/build/WebGL-2021.3.36f1.zip
- features/fixtures/maze_runner/build/MacOS-2021.zip
- features/fixtures/maze_runner/build/WebGL-2021.zip
retry:
automatic:
- exit_status: "*"
Expand All @@ -74,8 +74,8 @@ steps:
- scripts/ci-build-macos-packages.sh
artifact_paths:
- unity.log
- features/fixtures/maze_runner/build/MacOS-2022.3.22f1.zip
- features/fixtures/maze_runner/build/WebGL-2022.3.22f1.zip
- features/fixtures/maze_runner/build/MacOS-2022.zip
- features/fixtures/maze_runner/build/WebGL-2022.zip
retry:
automatic:
- exit_status: "*"
Expand All @@ -94,7 +94,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/MacOS-2020.3.48f1.zip
- features/fixtures/maze_runner/build/MacOS-2020.zip
upload:
- maze_output/**/*
- '*-mazerunner.log'
Expand All @@ -113,7 +113,7 @@ steps:
# plugins:
# artifacts#v1.5.0:
# download:
# - features/fixtures/maze_runner/build/MacOS-2021.3.36f1.zip
# - features/fixtures/maze_runner/build/MacOS-2021.zip
# upload:
# - maze_output/**/*
# - Mazerunner.log
Expand All @@ -130,7 +130,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/MacOS-2022.3.22f1.zip
- features/fixtures/maze_runner/build/MacOS-2022.zip
upload:
- maze_output/**/*
- '*-mazerunner.log'
Expand All @@ -152,7 +152,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/WebGL-2020.3.48f1.zip
- features/fixtures/maze_runner/build/WebGL-2020.zip
upload:
- maze_output/**/*
- maze_output/metrics.csv
Expand All @@ -170,7 +170,7 @@ steps:
# plugins:
# artifacts#v1.5.0:
# download:
# - features/fixtures/maze_runner/build/WebGL-2021.3.36f1.zip
# - features/fixtures/maze_runner/build/WebGL-2021.zip
# upload:
# - maze_output/**/*
# # TODO: WebGL persistence tests are currently skipped pending PLAT-8151
Expand All @@ -187,7 +187,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/WebGL-2022.3.22f1.zip
- features/fixtures/maze_runner/build/WebGL-2022.zip
upload:
- maze_output/**/*
# TODO: WebGL persistence tests are currently skipped pending PLAT-8151
Expand All @@ -208,7 +208,7 @@ steps:
download:
- Bugsnag.unitypackage
upload:
- features/fixtures/maze_runner/mazerunner_2020.3.48f1.apk
- features/fixtures/maze_runner/mazerunner_2020.apk
- features/fixtures/build_android_apk.log
commands:
- bundle install
Expand All @@ -229,7 +229,7 @@ steps:
download:
- Bugsnag.unitypackage
upload:
- features/fixtures/maze_runner/mazerunner_2022.3.22f1.apk
- features/fixtures/maze_runner/mazerunner_2022.apk
- features/fixtures/build_android_apk.log
commands:
- bundle install
Expand All @@ -250,7 +250,7 @@ steps:
# download:
# - Bugsnag.unitypackage
# upload:
# - features/fixtures/EDM_Fixture/edm_2020.3.48f1.apk
# - features/fixtures/EDM_Fixture/edm_2020.apk
# - features/scripts/buildEdmFixture.log
# - features/scripts/edmImport.log
# - features/scripts/enableEdm.log
Expand All @@ -274,7 +274,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- "features/fixtures/maze_runner/mazerunner_2020.3.48f1.apk"
- "features/fixtures/maze_runner/mazerunner_2020.apk"
upload:
- "maze_output/**/*"
- "maze_output/metrics.csv"
Expand All @@ -285,7 +285,7 @@ steps:
command:
- "features/csharp"
- "features/android"
- "--app=features/fixtures/maze_runner/mazerunner_2020.3.48f1.apk"
- "--app=features/fixtures/maze_runner/mazerunner_2020.apk"
- "--farm=bb"
- "--appium-version=1.22"
- "--device=ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13"
Expand All @@ -306,7 +306,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- "features/fixtures/maze_runner/mazerunner_2022.3.22f1.apk"
- "features/fixtures/maze_runner/mazerunner_2022.apk"
upload:
- "maze_output/**/*"
- "maze_output/metrics.csv"
Expand All @@ -317,7 +317,7 @@ steps:
command:
- "features/csharp"
- "features/android"
- "--app=features/fixtures/maze_runner/mazerunner_2022.3.22f1.apk"
- "--app=features/fixtures/maze_runner/mazerunner_2022.apk"
- "--farm=bb"
- "--appium-version=1.22"
- "--device=ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13"
Expand All @@ -338,14 +338,14 @@ steps:
# plugins:
# artifacts#v1.5.0:
# download:
# - "features/fixtures/EDM_Fixture/edm_2020.3.48f1.apk"
# - "features/fixtures/EDM_Fixture/edm_2020.apk"
# upload:
# - "maze_output/**/*"
# docker-compose#v3.7.0:
# pull: maze-runner
# run: maze-runner
# command:
# - "--app=/app/features/fixtures/EDM_Fixture/edm_2020.3.48f1.apk"
# - "--app=/app/features/fixtures/EDM_Fixture/edm_2020.apk"
# - "--farm=bs"
# - "--device=ANDROID_11_0"
# - "features/edm"
Expand Down Expand Up @@ -391,7 +391,7 @@ steps:
- Bugsnag.unitypackage
- project_2020.tgz
upload:
- features/fixtures/maze_runner/mazerunner_2020.3.48f1.ipa
- features/fixtures/maze_runner/mazerunner_2020.ipa
- features/fixtures/unity.log
commands:
- bundle install
Expand Down Expand Up @@ -437,7 +437,7 @@ steps:
- Bugsnag.unitypackage
- project_2022.tgz
upload:
- features/fixtures/maze_runner/mazerunner_2022.3.22f1.ipa
- features/fixtures/maze_runner/mazerunner_2022.ipa
- features/fixtures/unity.log
commands:
- bundle install
Expand All @@ -459,7 +459,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- "features/fixtures/maze_runner/mazerunner_2020.3.48f1.ipa"
- "features/fixtures/maze_runner/mazerunner_2020.ipa"
upload:
- "maze_output/**/*"
- "maze_output/metrics.csv"
Expand All @@ -470,7 +470,7 @@ steps:
command:
- "features/csharp"
- "features/ios"
- "--app=features/fixtures/maze_runner/mazerunner_2020.3.48f1.ipa"
- "--app=features/fixtures/maze_runner/mazerunner_2020.ipa"
- "--farm=bb"
- "--appium-version=1.22"
- "--device=IOS_13|IOS_14|IOS_15"
Expand All @@ -489,7 +489,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- "features/fixtures/maze_runner/mazerunner_2022.3.22f1.ipa"
- "features/fixtures/maze_runner/mazerunner_2022.ipa"
upload:
- "maze_output/**/*"
- "maze_output/metrics.csv"
Expand All @@ -500,7 +500,7 @@ steps:
command:
- "features/csharp"
- "features/ios"
- "--app=features/fixtures/maze_runner/mazerunner_2022.3.22f1.ipa"
- "--app=features/fixtures/maze_runner/mazerunner_2022.ipa"
- "--farm=bb"
- "--appium-version=1.22"
- "--device=IOS_13|IOS_14|IOS_15"
Expand Down Expand Up @@ -528,7 +528,7 @@ steps:
- Bugsnag.unitypackage
upload:
- unity.log
- features/fixtures/maze_runner/build/Windows-2020.3.48f1.zip
- features/fixtures/maze_runner/build/Windows-2020.zip
commands:
- scripts/ci-build-windows-fixture-wsl.sh
retry:
Expand All @@ -552,7 +552,7 @@ steps:
- Bugsnag.unitypackage
upload:
- unity.log
- features/fixtures/maze_runner/build/Windows-2021.3.36f1.zip
- features/fixtures/maze_runner/build/Windows-2021.zip
retry:
automatic:
- exit_status: "*"
Expand All @@ -574,7 +574,7 @@ steps:
- Bugsnag.unitypackage
upload:
- unity.log
- features/fixtures/maze_runner/build/Windows-2022.3.22f1.zip
- features/fixtures/maze_runner/build/Windows-2022.zip
retry:
automatic:
- exit_status: "*"
Expand All @@ -593,7 +593,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/Windows-2020.3.48f1.zip
- features/fixtures/maze_runner/build/Windows-2020.zip
upload:
- maze_output/**/*
- maze_output/metrics.csv
Expand All @@ -611,7 +611,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/Windows-2021.3.36f1.zip
- features/fixtures/maze_runner/build/Windows-2021.zip
upload:
- maze_output/**/*
- maze_output/metrics.csv
Expand All @@ -628,7 +628,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- features/fixtures/maze_runner/build/Windows-2022.3.22f1.zip
- features/fixtures/maze_runner/build/Windows-2022.zip
upload:
- maze_output/**/*
- maze_output/metrics.csv
Expand Down
13 changes: 6 additions & 7 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
aliases:
- &2020 "2020.3.48f1"
- &2021 "2021.3.36f1"

agents:
Expand Down Expand Up @@ -67,7 +66,7 @@ steps:
download:
- Bugsnag.unitypackage
upload:
- features/fixtures/maze_runner/mazerunner_2021.3.36f1.apk
- features/fixtures/maze_runner/mazerunner_2021.apk
- features/fixtures/build_android_apk.log
commands:
- bundle install
Expand Down Expand Up @@ -112,7 +111,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- "features/fixtures/maze_runner/mazerunner_2021.3.36f1.apk"
- "features/fixtures/maze_runner/mazerunner_2021.apk"
upload:
- "maze_output/**/*"
- "maze_output/metrics.csv"
Expand All @@ -123,7 +122,7 @@ steps:
command:
- "features/csharp"
- "features/android"
- "--app=features/fixtures/maze_runner/mazerunner_2021.3.36f1.apk"
- "--app=features/fixtures/maze_runner/mazerunner_2021.apk"
- "--farm=bb"
- "--appium-version=1.22"
- "--device=ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13"
Expand Down Expand Up @@ -199,7 +198,7 @@ steps:
- Bugsnag.unitypackage
- project_2021.tgz
upload:
- features/fixtures/maze_runner/mazerunner_2021.3.36f1.ipa
- features/fixtures/maze_runner/mazerunner_2021.ipa
- features/fixtures/unity.log
commands:
- bundle install
Expand All @@ -221,7 +220,7 @@ steps:
plugins:
artifacts#v1.5.0:
download:
- "features/fixtures/maze_runner/mazerunner_2021.3.36f1.ipa"
- "features/fixtures/maze_runner/mazerunner_2021.ipa"
upload:
- "maze_output/**/*"
- "maze_output/metrics.csv"
Expand All @@ -233,7 +232,7 @@ steps:
command:
- "features/csharp"
- "features/ios"
- "--app=features/fixtures/maze_runner/mazerunner_2021.3.36f1.ipa"
- "--app=features/fixtures/maze_runner/mazerunner_2021.ipa"
- "--farm=bb"
- "--appium-version=1.22"
- "--device=IOS_13|IOS_14|IOS_15"
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 7.7.4 (2024-05-19)

### Bug Fixes

- Fixed issue where iOS C# events reported the incorrect value for device.osName. [#791](https://github.com/bugsnag/bugsnag-unity/pull/791)

## 7.7.3 (2024-04-11)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var target = Argument("target", "Default");
var solution = File("./BugsnagUnity.sln");
var configuration = Argument("configuration", "Release");
var project = File("./src/BugsnagUnity/BugsnagUnity.csproj");
var version = "7.7.3";
var version = "7.7.4";

Task("Restore-NuGet-Packages")
.Does(() => NuGetRestore(solution));
Expand Down
21 changes: 20 additions & 1 deletion features/csharp/csharp_metadata.feature
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,23 @@ Feature: Metadata
And the event "metaData.numberArray.testKey.1" equals 2
And the event "metaData.stringArray.testKey.1" equals "2"
And the event "metaData.dictionary.foo" equals "bar"
And the event "metaData.number.testKey" equals 123
And the event "metaData.number.testKey" equals 123

# these platform specific tests are smoke tests, if os name is wrong then it's a sign that the native information has not been properly retrieved from the native layer and the unity placeholder data is being used
@ios_only
Scenario: iOS specific metadata
When I run the game in the "NotifySmokeTest" state
And I wait to receive an error
Then the error is valid for the error reporting API sent by the Unity notifier
And expected device metadata is included in the event
And expected app metadata is included in the event
And the event "device.osName" equals "iOS"

@android_only
Scenario: Android specific metadata
When I run the game in the "NotifySmokeTest" state
And I wait to receive an error
Then the error is valid for the error reporting API sent by the Unity notifier
And expected device metadata is included in the event
And expected app metadata is included in the event
And the event "device.osName" equals "android"
2 changes: 1 addition & 1 deletion features/scripts/build_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ $UNITY_PATH/Unity $DEFAULT_CLI_ARGS -projectPath $project_path -executeMethod Bu
RESULT=$?
if [ $RESULT -ne 0 ]; then exit $RESULT; fi

mv $project_path/mazerunner.apk $project_path/mazerunner_$UNITY_VERSION.apk
mv $project_path/mazerunner.apk $project_path/mazerunner_${UNITY_VERSION:0:4}.apk
2 changes: 1 addition & 1 deletion features/scripts/build_edm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ $UNITY_PATH/Unity $DEFAULT_CLI_ARGS -buildTarget Android -logFile $script_path/b
RESULT=$?
if [ $RESULT -ne 0 ]; then exit $RESULT; fi

mv $project_path/edm.apk $project_path/edm_$UNITY_VERSION.apk
mv $project_path/edm.apk $project_path/edm_${UNITY_VERSION:0:4}.apk
2 changes: 1 addition & 1 deletion features/scripts/build_ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ if [ $? -ne 0 ]; then
fi

# Move to known location for running (note - the name of the .ipa differs between Xcode versions)
find $project_path/output/ -name "*.ipa" -exec mv '{}' $project_path/mazerunner_$UNITY_VERSION.ipa \;
find $project_path/output/ -name "*.ipa" -exec mv '{}' $project_path/mazerunner_${UNITY_VERSION:0:4}.ipa \;
Loading