From 5a0d7b7ab8d4857c6b04a98e912239fa21f7d4d2 Mon Sep 17 00:00:00 2001 From: Richard Elms Date: Thu, 14 Nov 2024 14:29:33 +0100 Subject: [PATCH 1/3] add support for unity v6 (#148) * update unity web request * add unity 6000 tests [full ci] * defines [full ci] * pipeline fix [full ci] --- .buildkite/pipeline.full.yml | 5 + .buildkite/unity.6000.full.yml | 226 +++++++++++ .gitmodules | 3 - .../Scripts/BugsnagUnityWebRequest | 1 - .../BugsnagUnityWebRequest.cs | 370 ++++++++++++++++++ .../BugsnagUnityWebRequest.cs.meta | 11 + .../Scripts/Public/BugsnagPerformance.cs | 3 +- .../ProjectSettings/ProjectSettings.asset | 8 +- 8 files changed, 618 insertions(+), 9 deletions(-) create mode 100644 .buildkite/unity.6000.full.yml delete mode 160000 BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest create mode 100644 BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest/BugsnagUnityWebRequest.cs create mode 100644 BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest/BugsnagUnityWebRequest.cs.meta diff --git a/.buildkite/pipeline.full.yml b/.buildkite/pipeline.full.yml index 833cc77b..4ba08e2b 100644 --- a/.buildkite/pipeline.full.yml +++ b/.buildkite/pipeline.full.yml @@ -13,3 +13,8 @@ steps: - name: 'Append Unity 2022 Full Pipeline' commands: - buildkite-agent pipeline upload .buildkite/unity.2022.full.yml + + - name: 'Append Unity 6000 Full Pipeline' + commands: + - buildkite-agent pipeline upload .buildkite/unity.6000.full.yml + diff --git a/.buildkite/unity.6000.full.yml b/.buildkite/unity.6000.full.yml new file mode 100644 index 00000000..6978078e --- /dev/null +++ b/.buildkite/unity.6000.full.yml @@ -0,0 +1,226 @@ +aliases: + - &6000 "6000.0.25f1" + +agents: + queue: macos-14 + +steps: + - group: ":hammer: Build Unity 6000 Test Fixtures" + steps: + - label: ':macos: Build macos test fixture for Unity 2022' + timeout_in_minutes: 30 + key: build-macos-fixture-6000 + depends_on: build-artifacts + env: + UNITY_PERFORMANCE_VERSION: *6000 + plugins: + 'artifacts#v1.9.0': + download: + - upm-package.zip + upload: + - features/fixtures/mazerunner/mazerunner_macos_6000.zip + - features/fixtures/build_macos.log + commands: + - bundle install + - 'rake test:macos:build' + retry: + automatic: + - exit_status: '*' + limit: 1 + + - label: ':windows: Build Windows test fixture for Unity 6000' + timeout_in_minutes: 30 + key: build-windows-fixture-6000 + depends_on: build-artifacts + agents: + queue: windows-unity-wsl + env: + UNITY_PERFORMANCE_VERSION: *6000 + plugins: + 'artifacts#v1.9.0': + download: + - upm-package.zip + upload: + - features/fixtures/mazerunner/build/Windows-6000.zip + - features/fixtures/build_windows.log + commands: + - features/scripts/import_package.sh --windows + - features/scripts/build_windows.sh release + retry: + automatic: + - exit_status: '*' + limit: 1 + + - label: ':android: Build Android test fixture for Unity 6000' + timeout_in_minutes: 30 + key: build-android-fixture-6000 + depends_on: build-artifacts + env: + UNITY_PERFORMANCE_VERSION: *6000 + plugins: + 'artifacts#v1.9.0': + download: + - upm-package.zip + upload: + - features/fixtures/mazerunner/mazerunner_6000.apk + - features/fixtures/import_package.log + - features/fixtures/build_android.log + commands: + - bundle install + - 'rake test:android:build' + retry: + automatic: + - exit_status: '*' + limit: 1 + + - label: ':ios: Generate Xcode project - Unity 6000' + timeout_in_minutes: 30 + key: generate-fixture-project-6000 + depends_on: build-artifacts + env: + UNITY_PERFORMANCE_VERSION: *6000 + plugins: + 'artifacts#v1.9.0': + download: + - upm-package.zip + upload: + - features/fixtures/generateXcodeProject.log + - project_6000.tgz + commands: + - bundle install + - 'rake test:ios:generate_xcode' + - tar -zvcf project_6000.tgz features/fixtures/mazerunner/mazerunner_xcode + retry: + automatic: + - exit_status: '*' + limit: 1 + + - label: ':ios: Build iOS test fixture for Unity 6000' + timeout_in_minutes: 30 + key: build-ios-fixture-6000 + depends_on: generate-fixture-project-6000 + env: + XCODE_VERSION: 15.3.0 + UNITY_PERFORMANCE_VERSION: *6000 + plugins: + 'artifacts#v1.9.0': + download: + - project_6000.tgz + upload: + - features/fixtures/mazerunner/mazerunner_6000.ipa + - features/fixtures/unity.log + commands: + - bundle install + - tar -zxf project_6000.tgz features/fixtures/mazerunner + - 'rake test:ios:build_xcode' + retry: + automatic: + - exit_status: '*' + limit: 1 + + - group: ":test_tube: E2E Tests Unity 6000" + steps: + - label: Run MacOS e2e tests for Unity 6000 + timeout_in_minutes: 60 + depends_on: build-macos-fixture-6000 + env: + UNITY_PERFORMANCE_VERSION: *6000 + plugins: + 'artifacts#v1.9.0': + download: + - features/fixtures/mazerunner/mazerunner_macos_6000.zip + upload: + - maze_output/**/* + - '*-mazerunner.log' + - 'clear_cache.log' + - maze_output/metrics.csv + test-collector#v1.10.2: + files: "reports/TEST-*.xml" + format: "junit" + branch: "^main|next$$" + commands: + - features/scripts/run-macos-ci-tests.sh release + + - label: Run Windows e2e tests for Unity 6000 + timeout_in_minutes: 60 + depends_on: build-windows-fixture-6000 + agents: + queue: windows-unity-wsl + env: + UNITY_PERFORMANCE_VERSION: *6000 + plugins: + 'artifacts#v1.5.0': + download: + - features/fixtures/mazerunner/build/Windows-6000.zip + upload: + - maze_output/**/* + - '*-mazerunner.log' + - 'clear_cache.log' + - maze_output/metrics.csv + test-collector#v1.10.2: + files: "reports/TEST-*.xml" + format: "junit" + branch: "^main|next$$" + commands: + - features/scripts/run-windows-ci-tests.sh release + + - label: ':bitbar: Run Android e2e tests for Unity 6000' + timeout_in_minutes: 60 + depends_on: build-android-fixture-6000 + agents: + queue: opensource + plugins: + 'artifacts#v1.9.0': + download: + - features/fixtures/mazerunner/mazerunner_6000.apk + upload: + - maze_output/**/* + 'docker-compose#v4.8.0': + pull: maze-runner + run: maze-runner + service-ports: true + command: + - '--app=/app/features/fixtures/mazerunner/mazerunner_6000.apk' + - '--farm=bb' + - '--device=ANDROID_9|ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13' + - '--appium-version=1.22' + - '--no-tunnel' + - '--aws-public-ip' + - '--fail-fast' + test-collector#v1.10.2: + files: "reports/TEST-*.xml" + format: "junit" + branch: "^main|next$$" + concurrency: 25 + concurrency_group: bitbar + concurrency_method: eager + + - label: ':bitbar: Run iOS e2e tests for Unity 6000' + timeout_in_minutes: 60 + depends_on: build-ios-fixture-6000 + agents: + queue: opensource + plugins: + 'artifacts#v1.9.0': + download: + - features/fixtures/mazerunner/mazerunner_6000.ipa + upload: + - maze_output/**/* + 'docker-compose#v4.8.0': + pull: maze-runner + run: maze-runner + service-ports: true + command: + - '--app=/app/features/fixtures/mazerunner/mazerunner_6000.ipa' + - '--farm=bb' + - '--device=IOS_15' + - '--no-tunnel' + - '--aws-public-ip' + - '--fail-fast' + test-collector#v1.10.2: + files: "reports/TEST-*.xml" + format: "junit" + branch: "^main|next$$" + concurrency: 25 + concurrency_group: bitbar + concurrency_method: eager diff --git a/.gitmodules b/.gitmodules index d3a048cf..e69de29b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest"] - path = BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest - url = https://github.com/bugsnag/bugsnag-unity-web-request diff --git a/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest b/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest deleted file mode 160000 index 123faa68..00000000 --- a/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 123faa6897e593ef7389735e5c6bcc0f279da2ad diff --git a/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest/BugsnagUnityWebRequest.cs b/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest/BugsnagUnityWebRequest.cs new file mode 100644 index 00000000..3383feba --- /dev/null +++ b/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest/BugsnagUnityWebRequest.cs @@ -0,0 +1,370 @@ +// VERSION 2.0.0 +using System; +using System.Collections; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using UnityEngine.Events; +using UnityEngine.Networking; + +#if !BUGSNAG_UNITY_WEB_REQUEST +namespace BugsnagNetworking +{ + + public class BugsnagUnityWebRequest : IDisposable + { + + public static RequestEvent OnSend = new RequestEvent(); + + public static RequestEvent OnComplete = new RequestEvent(); + + public static RequestEvent OnAbort = new RequestEvent(); + + public UnityWebRequest UnityWebRequest; + + // Constructors + public BugsnagUnityWebRequest() + { + UnityWebRequest = new UnityWebRequest(); + } + + public BugsnagUnityWebRequest(UnityWebRequest unityWebRequest) + { + UnityWebRequest = unityWebRequest; + } + + public BugsnagUnityWebRequest(string url) + { + UnityWebRequest = new UnityWebRequest(url); + } + + public BugsnagUnityWebRequest(Uri uri) + { + UnityWebRequest = new UnityWebRequest(uri); + } + + public BugsnagUnityWebRequest(string url, string method) + { + UnityWebRequest = new UnityWebRequest(url, method); + } + + public BugsnagUnityWebRequest(Uri uri, string method) + { + UnityWebRequest = new UnityWebRequest(uri, method); + } + + // Static Constructors + + // Get + public static BugsnagUnityWebRequest Get(string uri) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Get(uri)); + } + + public static BugsnagUnityWebRequest Get(Uri uri) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Get(uri)); + } + + // Post + #if UNITY_2022_2_OR_NEWER + public static BugsnagUnityWebRequest PostWwwForm(string uri, string form) + { + return new BugsnagUnityWebRequest(UnityWebRequest.PostWwwForm(uri, form)); + } + #else + public static BugsnagUnityWebRequest Post(string uri, string postData) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Post(uri, postData)); + } + #endif + + + public static BugsnagUnityWebRequest Post(string uri, WWWForm formData) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Post(uri, formData)); + } + + public static BugsnagUnityWebRequest Post(string uri, List multipartFormSections) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Post(uri, multipartFormSections)); + } + + public static BugsnagUnityWebRequest Post(string uri, Dictionary formFields) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Post(uri, formFields)); + } + + #if UNITY_2022_2_OR_NEWER + public static BugsnagUnityWebRequest PostWwwForm(Uri uri, string form) + { + return new BugsnagUnityWebRequest(UnityWebRequest.PostWwwForm(uri, form)); + } + #else + public static BugsnagUnityWebRequest Post(Uri uri, string postData) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Post(uri, postData)); + } + #endif + + + public static BugsnagUnityWebRequest Post(Uri uri, WWWForm formData) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Post(uri, formData)); + } + + public static BugsnagUnityWebRequest Post(Uri uri, List multipartFormSections) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Post(uri, multipartFormSections)); + } + + public static BugsnagUnityWebRequest Post(Uri uri, Dictionary formFields) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Post(uri, formFields)); + } + + public static BugsnagUnityWebRequest Post(string uri, List multipartFormSections, byte[] boundary) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Post(uri, multipartFormSections, boundary)); + } + + public static BugsnagUnityWebRequest Post(Uri uri, List multipartFormSections, byte[] boundary) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Post(uri, multipartFormSections, boundary)); + } + + // Put + public static BugsnagUnityWebRequest Put(string uri, byte[] bodyData) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Put(uri, bodyData)); + } + + public static BugsnagUnityWebRequest Put(string uri, string bodyData) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Put(uri, bodyData)); + } + + public static BugsnagUnityWebRequest Put(Uri uri, byte[] bodyData) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Put(uri, bodyData)); + } + + public static BugsnagUnityWebRequest Put(Uri uri, string bodyData) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Put(uri, bodyData)); + } + + // Head + public static BugsnagUnityWebRequest Head(string uri) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Head(uri)); + } + + public static BugsnagUnityWebRequest Head(Uri uri) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Head(uri)); + } + + // Delete + public static BugsnagUnityWebRequest Delete(string uri) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Delete(uri)); + } + + public static BugsnagUnityWebRequest Delete(Uri uri) + { + return new BugsnagUnityWebRequest(UnityWebRequest.Delete(uri)); + } + + // Static Methods + + public static void ClearCookieCache() + { + UnityWebRequest.ClearCookieCache(); + } + + public static string EscapeURL(string s) + { + return UnityWebRequest.EscapeURL(s); + } + + public static string EscapeURL(string s, Encoding e) + { + return UnityWebRequest.EscapeURL(s, e); + } + + public static string UnEscapeURL(string s) + { + return UnityWebRequest.UnEscapeURL(s); + } + + public static string UnEscapeURL(string s, Encoding e) + { + return UnityWebRequest.UnEscapeURL(s, e); + } + + public static byte[] GenerateBoundary() + { + return UnityWebRequest.GenerateBoundary(); + } + + public static byte[] SerializeFormSections(List multipartFormSections, byte[] boundary) + { + return UnityWebRequest.SerializeFormSections(multipartFormSections, boundary); + } + + public static byte[] SerializeSimpleForm(Dictionary formFields) + { + return UnityWebRequest.SerializeSimpleForm(formFields); + } + + + // Public methods + + public UnityWebRequestAsyncOperation SendWebRequest() + { + OnSend.Invoke(this); + var asyncAction = UnityWebRequest.SendWebRequest(); + asyncAction.completed += RequestCompleted; + return asyncAction; + } + + private void RequestCompleted(AsyncOperation obj) + { + OnComplete.Invoke(this); + } + + public void Abort() + { + OnAbort.Invoke(this); + UnityWebRequest.Abort(); + } + + public string GetRequestHeader(string name) => UnityWebRequest.GetRequestHeader(name); + + public string GetResponseHeader(string name) => UnityWebRequest.GetResponseHeader(name); + + public Dictionary GetResponseHeaders() => UnityWebRequest.GetResponseHeaders(); + + public void SetRequestHeader(string name, string value) => UnityWebRequest.SetRequestHeader(name, value); + + public void Dispose() => UnityWebRequest.Dispose(); + + // Static Properties + + public static string kHttpVerbCREATE => UnityWebRequest.kHttpVerbCREATE; + + public static string kHttpVerbDELETE => UnityWebRequest.kHttpVerbDELETE; + + public static string kHttpVerbGET => UnityWebRequest.kHttpVerbGET; + + public static string kHttpVerbHEAD => UnityWebRequest.kHttpVerbHEAD; + + public static string kHttpVerbPOST => UnityWebRequest.kHttpVerbPOST; + + public static string kHttpVerbPUT => UnityWebRequest.kHttpVerbPUT; + + // Properties + + public UnityEngine.Networking.CertificateHandler certificateHandler + { + get { return UnityWebRequest.certificateHandler; } + set { UnityWebRequest.certificateHandler = value; } + } + + public bool disposeCertificateHandlerOnDispose + { + get { return UnityWebRequest.disposeCertificateHandlerOnDispose; } + set { UnityWebRequest.disposeCertificateHandlerOnDispose = value; } + } + + public bool disposeDownloadHandlerOnDispose + { + get { return UnityWebRequest.disposeDownloadHandlerOnDispose; } + set { UnityWebRequest.disposeDownloadHandlerOnDispose = value; } + } + + public bool disposeUploadHandlerOnDispose + { + get { return UnityWebRequest.disposeUploadHandlerOnDispose; } + set { UnityWebRequest.disposeUploadHandlerOnDispose = value; } + } + + public ulong downloadedBytes => UnityWebRequest.downloadedBytes; + + + public UnityEngine.Networking.DownloadHandler downloadHandler + { + get { return UnityWebRequest.downloadHandler; } + set { UnityWebRequest.downloadHandler = value; } + } + + public UnityEngine.Networking.UploadHandler uploadHandler + { + get { return UnityWebRequest.uploadHandler; } + set { UnityWebRequest.uploadHandler = value; } + } + + public float downloadProgress => UnityWebRequest.downloadProgress; + + public string error => UnityWebRequest.error; + + public bool isModifiable => UnityWebRequest.isModifiable; + + public string method + { + get { return UnityWebRequest.method; } + set { UnityWebRequest.method = value; } + } + + public int redirectLimit + { + get { return UnityWebRequest.redirectLimit; } + set { UnityWebRequest.redirectLimit = value; } + } + + public int timeout + { + get { return UnityWebRequest.timeout; } + set { UnityWebRequest.timeout = value; } + } + + public ulong uploadedBytes => UnityWebRequest.uploadedBytes; + + public Uri uri + { + get { return UnityWebRequest.uri; } + set { UnityWebRequest.uri = value; } + } + + public string url + { + get { return UnityWebRequest.url; } + set { UnityWebRequest.url = value; } + } + + public bool useHttpContinue + { + get { return UnityWebRequest.useHttpContinue; } + set { UnityWebRequest.useHttpContinue = value; } + } + + + public bool isDone => UnityWebRequest.isDone; + + public long responseCode => UnityWebRequest.responseCode; + + public float uploadProgress => UnityWebRequest.uploadProgress; + + + } + + [System.Serializable] + public class RequestEvent : UnityEvent + { + + } + +} + +#endif \ No newline at end of file diff --git a/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest/BugsnagUnityWebRequest.cs.meta b/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest/BugsnagUnityWebRequest.cs.meta new file mode 100644 index 00000000..94783472 --- /dev/null +++ b/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/BugsnagUnityWebRequest/BugsnagUnityWebRequest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a687aae7369fc41138429539138fddc2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/Public/BugsnagPerformance.cs b/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/Public/BugsnagPerformance.cs index 21bc7475..00076a28 100644 --- a/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/Public/BugsnagPerformance.cs +++ b/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/Public/BugsnagPerformance.cs @@ -5,6 +5,7 @@ using System.Text.RegularExpressions; using BugsnagNetworking; using UnityEngine; +using UnityEngine.Networking; using UnityEngine.SceneManagement; using UnityEngine.Scripting; @@ -357,7 +358,7 @@ private void EndNetworkSpan(BugsnagUnityWebRequest request, bool abort = false) if (networkSpanKey != null && _networkSpans.TryGetValue(networkSpanKey, out var span)) { - if (abort || request.isHttpError || request.isNetworkError) + if (abort || request.UnityWebRequest.result == UnityWebRequest.Result.ProtocolError || request.UnityWebRequest.result == UnityWebRequest.Result.ConnectionError) { span.Discard(); } diff --git a/features/fixtures/mazerunner/ProjectSettings/ProjectSettings.asset b/features/fixtures/mazerunner/ProjectSettings/ProjectSettings.asset index a7f20d2d..970d049e 100644 --- a/features/fixtures/mazerunner/ProjectSettings/ProjectSettings.asset +++ b/features/fixtures/mazerunner/ProjectSettings/ProjectSettings.asset @@ -773,10 +773,10 @@ PlayerSettings: 13: BUGSNAG_PERFORMANCE;BUGSNAG_DEBUG;BUGSNAG_UNITY_WEB_REQUEST 4: BUGSNAG_PERFORMANCE;BUGSNAG_DEBUG;BUGSNAG_UNITY_WEB_REQUEST 7: BUGSNAG_PERFORMANCE;BUGSNAG_DEBUG;BUGSNAG_UNITY_WEB_REQUEST - Android: BUGSNAG_PERFORMANCE;BUGSNAG_DEBUG;BUGSNAG_UNITY_WEB_REQUEST - Standalone: BUGSNAG_PERFORMANCE;BUGSNAG_DEBUG;BUGSNAG_UNITY_WEB_REQUEST - WebGL: BUGSNAG_PERFORMANCE;BUGSNAG_DEBUG;BUGSNAG_UNITY_WEB_REQUEST - iPhone: BUGSNAG_PERFORMANCE;BUGSNAG_DEBUG;BUGSNAG_UNITY_WEB_REQUEST + Android: BUGSNAG_PERFORMANCE;BUGSNAG_UNITY_WEB_REQUEST + Standalone: BUGSNAG_PERFORMANCE;BUGSNAG_UNITY_WEB_REQUEST + WebGL: BUGSNAG_PERFORMANCE + iPhone: BUGSNAG_PERFORMANCE;BUGSNAG_UNITY_WEB_REQUEST additionalCompilerArguments: {} platformArchitecture: {} scriptingBackend: From 099a8c862fd26be144f398865f0e430158102c9e Mon Sep 17 00:00:00 2001 From: richard elms Date: Thu, 14 Nov 2024 14:37:23 +0100 Subject: [PATCH 2/3] Release v1.7.0 --- .../Assets/BugsnagPerformance/Scripts/Internal/Version.cs | 2 +- CHANGELOG.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/Internal/Version.cs b/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/Internal/Version.cs index 5f48902e..abc414e1 100644 --- a/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/Internal/Version.cs +++ b/BugsnagPerformance/Assets/BugsnagPerformance/Scripts/Internal/Version.cs @@ -3,6 +3,6 @@ internal static class Version { //TODO set this using sed or something in the release automation task - public const string VersionString = "1.6.2"; + public const string VersionString = "1.7.0"; } } diff --git a/CHANGELOG.md b/CHANGELOG.md index e581c767..8f038287 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v1.7.0 (2024-11-14) + +### Dependencies + +- Updated BugsnagUnityWebRequest to remove deprecation warnings and add new PostWwwForm methods introduced in Unity 2022.2 [#148](https://github.com/bugsnag/bugsnag-unity-performance/pull/148) + ## v1.6.2 (2024-10-30) ### Bug Fixes From 8e74ba26b4564a5ca5e5a216f5b69fb50b73c3a7 Mon Sep 17 00:00:00 2001 From: richard elms Date: Thu, 14 Nov 2024 15:13:54 +0100 Subject: [PATCH 3/3] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f038287..ebac0c7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## v1.7.0 (2024-11-14) +### Additions + +- Add support for Unity V6. [#148](https://github.com/bugsnag/bugsnag-unity-performance/pull/148) + ### Dependencies - Updated BugsnagUnityWebRequest to remove deprecation warnings and add new PostWwwForm methods introduced in Unity 2022.2 [#148](https://github.com/bugsnag/bugsnag-unity-performance/pull/148)