From 7a0032934b438ad20a4a691f8093ce1865824c42 Mon Sep 17 00:00:00 2001 From: walon Date: Fri, 2 May 2025 10:41:51 +0800 Subject: [PATCH] [version] Release v8.0.0 --- Data~/hybridclr_version.json | 28 ++++++++++++++-------------- RELEASELOG.md | 23 +++++++++++++++++++++++ package.json | 2 +- 3 files changed, 38 insertions(+), 15 deletions(-) diff --git a/Data~/hybridclr_version.json b/Data~/hybridclr_version.json index b948d4e..0027aec 100644 --- a/Data~/hybridclr_version.json +++ b/Data~/hybridclr_version.json @@ -2,38 +2,38 @@ "versions": [ { "unity_version":"2019", - "hybridclr" : { "branch":"v7.10.0"}, - "il2cpp_plus": { "branch":"v2019-7.8.0"} + "hybridclr" : { "branch":"v8.0.0"}, + "il2cpp_plus": { "branch":"v2019-8.0.0"} }, { "unity_version":"2020", - "hybridclr" : { "branch":"v7.10.0"}, - "il2cpp_plus": { "branch":"v2020-7.8.0"} + "hybridclr" : { "branch":"v8.0.0"}, + "il2cpp_plus": { "branch":"v2020-8.0.0"} }, { "unity_version":"2021", - "hybridclr" : { "branch":"v7.10.0"}, - "il2cpp_plus": { "branch":"v2021-7.8.0"} + "hybridclr" : { "branch":"v8.0.0"}, + "il2cpp_plus": { "branch":"v2021-8.0.0"} }, { "unity_version":"2022", - "hybridclr" : { "branch":"v7.10.0"}, - "il2cpp_plus": { "branch":"v2022-7.8.0"} + "hybridclr" : { "branch":"v8.0.0"}, + "il2cpp_plus": { "branch":"v2022-8.0.0"} }, { "unity_version":"2022-tuanjie", - "hybridclr" : { "branch":"v7.10.0"}, - "il2cpp_plus": { "branch":"v2022-tuanjie-7.10.0"} + "hybridclr" : { "branch":"v8.0.0"}, + "il2cpp_plus": { "branch":"v2022-tuanjie-8.0.0"} }, { "unity_version":"2023", - "hybridclr" : { "branch":"v7.10.0"}, - "il2cpp_plus": { "branch":"v2023-7.8.0"} + "hybridclr" : { "branch":"v8.0.0"}, + "il2cpp_plus": { "branch":"v2023-8.0.0"} }, { "unity_version":"6000", - "hybridclr" : { "branch":"v7.10.0"}, - "il2cpp_plus": { "branch":"v6000-7.9.0"} + "hybridclr" : { "branch":"v8.0.0"}, + "il2cpp_plus": { "branch":"v6000-8.0.0"} } ] } \ No newline at end of file diff --git a/RELEASELOG.md b/RELEASELOG.md index 3b8cd81..38706e1 100644 --- a/RELEASELOG.md +++ b/RELEASELOG.md @@ -1,5 +1,28 @@ # ReleaseLog +## 8.0.0 + +Release Date: 2025-05-02. + +### Runtime + +- [new] support define PInvoke method in interpreter assembly +- [new] InterpreterImage initialize ImplMap for PInvoke methods. +- [new] RawImageBase support ModuleRef and ImplMap table. +- [fix] fixed a compilation error on PS4 platform for the code `TokenGenericContextType key = { token, genericContext };` — the C++ compiler version on PS4 is too old to support this initialization syntax for std::tuple. + +### Editor + +- [fix] fix error of computing CallingConvention in MethodBridge/Generator::BuildCalliMethods +- [new] generate Managed2NativeFunction for PInvoke method +- [change] AssemblyResolver also resolves `*.dll.bytes` files besides `*.dll`. +- [change] change type of the first argument `methodPointer` of Managed2NativeFunctionPointer from `const void*` to `Il2CppMethodPointer` +- [change] the shared type of ElementType.FnPtr is changed from IntPtr to UIntPtr +- [change] validate unsupported parameter type(.e.g string) in MonoPInvokeCallback signature when generate MethodBridge file +- [opt] optimization unnecessary initialization of typeArgsStack and methodArgsStack of GenericArgumentContext +- [refactor] refactor code of settings. +- [refactor] move ReversePInvokeWrap/Analyzer.cs to MethodBridge/MonoPInvokeCallbackAnalyzer.cs + ## 7.10.0 Release Date: 2025-04-22. diff --git a/package.json b/package.json index 5688205..45c6be9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.code-philosophy.hybridclr", - "version": "7.10.0", + "version": "8.0.0", "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",