From fef296b7f7036aa2079bb135e3f419105e176177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zombieyang=28=E6=9D=A8=E6=B5=A9=29?= Date: Mon, 31 Jul 2023 18:19:15 +0800 Subject: [PATCH] [unity] changelog of 2.0.0 --- README.md | 2 +- unity/Assets/core/upm/changelog-hans.md | 9 +++++++++ unity/Assets/core/upm/changelog.md | 9 +++++++++ unity/test/unity/Assets/Scripts/HelloWorlder.cs | 3 ++- 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 92fd3362df..ba7abca4bb 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![unreal](https://img.shields.io/badge/unreal-v1.0.4-blue.svg)](https://github.com/Tencent/puerts/releases/tag/Unreal_v1.0.4) [![unity](https://img.shields.io/badge/unity(stable)-v1.4.2-blue.svg)](doc/unity/zhcn/install.md) -[![unity](https://img.shields.io/badge/unity(latest)-v2.0.0_rc.0-blue.svg)](doc/unity/zhcn/install.md) +[![unity](https://img.shields.io/badge/unity(latest)-v2.0.0-blue.svg)](doc/unity/zhcn/install.md) ![Unity_Test](https://github.com/Tencent/puerts/workflows/unity%20unittest/badge.svg) ## What? diff --git a/unity/Assets/core/upm/changelog-hans.md b/unity/Assets/core/upm/changelog-hans.md index 994137203a..dfe3103b66 100644 --- a/unity/Assets/core/upm/changelog-hans.md +++ b/unity/Assets/core/upm/changelog-hans.md @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. you can get the english version change log at [Github Release](https://github.com/Tencent/puerts/releases) +## [2.0.0] - 2023-07-31 +1. 修复:debugpath失效并导致VSCode调试不可用的问题 +2. 修复:xil2cpp模式下`puer.$genericMethod`无法获取父类泛型函数的问题 #1417 @danij91 +3. 修复:生成代码时报GetFriendlyName is not a function的问题 #1437 + +这个版本是2.0第一个正式版本。感谢所有参与过2.0内测的朋友。 + +对升级有疑问的朋友可以参见[升级指南](https://puerts.github.io/docs/puerts/unity/other/upgrade) + ## [2.0.0-rc.1] - 2023-07-14 1. 修复: BlittableCopy不可用的问题 #1427 2. 修复: 两个wrapper生成的问题 #1433 #1432 diff --git a/unity/Assets/core/upm/changelog.md b/unity/Assets/core/upm/changelog.md index b4d8d7f64a..402804ec9c 100644 --- a/unity/Assets/core/upm/changelog.md +++ b/unity/Assets/core/upm/changelog.md @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. you can get the english version change log at [Github Release](https://github.com/Tencent/puerts/releases) +## [2.0.0] - 2023-07-31 +1. Fix: `debugpath` was not work and make VSCode debug not availabled +2. Fix: `puer.$genericMethod` cannot get the genericMethod from super class in xil2cpp mode #1417 @danij91 +3. Fix: `GetFriendlyName is not a function` when generating extensionInfo #1437 + +This is the first stable version of `2.0.0`. Shout out to everyone who attending the test. + +If you need any help in upgrading. See [upgrade guide](https://puerts.github.io/en/docs/puerts/unity/other/upgrade/) + ## [2.0.0-rc.1] - 2023-07-14 1. Fix: BlitableCopy was broken issue #1427 2. Fix: two wrapper generation issue #1433 #1432 diff --git a/unity/test/unity/Assets/Scripts/HelloWorlder.cs b/unity/test/unity/Assets/Scripts/HelloWorlder.cs index 71571182c8..8ecb79bf71 100644 --- a/unity/test/unity/Assets/Scripts/HelloWorlder.cs +++ b/unity/test/unity/Assets/Scripts/HelloWorlder.cs @@ -24,7 +24,8 @@ void Update() { if (env != null) { - if (ShouldDispose > 0) { + if (ShouldDispose > 0) + { env.Dispose(); return; }