From 4587cb7c19ef20b62650d52a8728df369a93be7f Mon Sep 17 00:00:00 2001 From: walon Date: Mon, 25 Sep 2023 09:34:32 +0800 Subject: [PATCH] =?UTF-8?q?[version]=20=E5=8F=91=E5=B8=83v4.0.5=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data~/hybridclr_version.json | 12 ++++++------ RELEASELOG.md | 24 ++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 31 insertions(+), 7 deletions(-) diff --git a/Data~/hybridclr_version.json b/Data~/hybridclr_version.json index 4e5ee2c..16a4893 100644 --- a/Data~/hybridclr_version.json +++ b/Data~/hybridclr_version.json @@ -2,18 +2,18 @@ "versions": [ { "unity_version":"2020", - "hybridclr" : { "branch":"v4.0.3"}, - "il2cpp_plus": { "branch":"v2020-4.0.1"} + "hybridclr" : { "branch":"v4.0.4"}, + "il2cpp_plus": { "branch":"v2020-4.0.2"} }, { "unity_version":"2021", - "hybridclr" : { "branch":"v4.0.3"}, - "il2cpp_plus": { "branch":"v2021-4.0.0"} + "hybridclr" : { "branch":"v4.0.4"}, + "il2cpp_plus": { "branch":"v2021-4.0.1"} }, { "unity_version":"2022", - "hybridclr" : { "branch":"v4.0.3"}, - "il2cpp_plus": { "branch":"v2022-4.0.0"} + "hybridclr" : { "branch":"v4.0.4"}, + "il2cpp_plus": { "branch":"v2022-4.0.1"} } ] } \ No newline at end of file diff --git a/RELEASELOG.md b/RELEASELOG.md index 27d7124..498f5c1 100644 --- a/RELEASELOG.md +++ b/RELEASELOG.md @@ -1,5 +1,29 @@ # 发布日志 +## 4.0.5 + +发布日期 2023.09.25. + +### Runtime + +- [fix] 修复Transform中未析构pendingFlows造成内存泄露的bug +- [fix] 修复多维数组SetMdArrElement未区分带ref与不带ref结构的bug +- [fix] 修复CpobjVarVAr_WriteBarrier_n_4未设置size的bug +- [fix] 修复计算interface成员函数slot时未考虑到static之类函数的bug +- [fix] 修复2022版本ExplicitLayout未设置layout.alignment,导致计算出size==0的bug +- [fix] 修复InterpreterInvoke在完全泛型共享时,class类型的methodPointer与virtualMethodPointer有可能不一致,导致失误对this指针+1的bug +- [fix] ldobj当T为byte之类size<4的类型时,未将数据展开为int的bug +- [fix] 修复CopySize未考虑到内存对齐的问题 +- [opt] 优化stelem当元素为size较大的struct时统一当作含ref结构的问题 +- [opt] TemporaryMemoryArena默认内存块大小由1M调整8K +- [opt] 将Image::Image中Assembly::GetAllAssemblies()换成Assembly::GetAllAssemblies(AssemblyVector&),避免创建assembly快照而造成不必要的内存泄露 + +### Editor + +- [fix] 修复StandaloneLinux平台DllImport的dllName和裁剪dll路径的错误 +- [change] 对于小版本不兼容的Unity版本,不再禁止安装,而是提示警告 +- [fix] 修复桥接函数计算中MetaUtil.ToShareTypeSig将Ptr和ByRef计算成IntPtr的bug,正确应该是UIntPtr + ## 4.0.4 发布日期 2023.09.11。 diff --git a/package.json b/package.json index f3e1517..006d09a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.code-philosophy.hybridclr", - "version": "4.0.4", + "version": "4.0.5", "displayName": "HybridCLR", "description": "HybridCLR is a fully featured, zero-cost, high-performance, low-memory solution for Unity's all-platform native c# hotupdate.", "category": "Runtime",