From b05c18eb10168681f2407a141be4b7a3afd1294e Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Sat, 7 Oct 2023 17:35:55 +0800 Subject: [PATCH] Bump version to 1.0.3 --- docs-source/src/en/about/changelog.md | 18 ++++++++++++++++-- docs-source/src/zh-cn/about/changelog.md | 16 +++++++++++++++- gradle.properties | 2 +- 3 files changed, 32 insertions(+), 4 deletions(-) diff --git a/docs-source/src/en/about/changelog.md b/docs-source/src/en/about/changelog.md index 3a0e8c1..33c2c51 100644 --- a/docs-source/src/en/about/changelog.md +++ b/docs-source/src/en/about/changelog.md @@ -16,7 +16,21 @@ Time zone of version release date: **UTC+8** ::: -### 1.0.2 | 2023.04.25   +### 1.0.3 | 2023.10.07   + +- Change the type of dependency library from **Android Library** (aar) back to **Java Library** (jar) +- Adapt and support the native Java platform (some functions are only available on the Android platform) +- Fixed [fix get interfaces of class](https://github.com/HighCapable/YukiHookAPI/pull/38) issue and merged into `YukiReflection` +- Deprecated ~~`isAllowPrintingLogs`~~, please start using the `debugLog` method +- Added `YukiReflection.TAG` +- Obsolete ~~`YukiReflection.API_VERSION_NAME`~~, ~~`YukiReflection.API_VERSION_CODE`~~, merged into `YukiReflection.VERSION` +- Refactored `remendy` functionality in find methods, which now prints exceptions in steps +- The multi-method find result type is changed from `HashSet` to `MutableList` +- Added `method()`, `constructor()`, `field()` to directly obtain all object functions in the class +- `constructor()` no longer behaves like `constructor { emptyParam() }` +- Added `lazyClass` and `lazyClassOrNull` methods to lazily load `Class` + +### 1.0.2 | 2023.04.25   - Fixed a critical issue where the `Member` cache did not take effect and persistent storage eventually caused app out of memory (OOM), thanks to [Art-Chen](https://github.com/Art-Chen) - Remove the direct cache function of `Member` and deprecated ~~`YukiReflection.Configs.isEnableMemberCache`~~, keep the cache function of `Class` @@ -24,7 +38,7 @@ Time zone of version release date: **UTC+8** ### 1.0.1 | 2023.04.16   -- Change the type of dependent library from **Java Library** (jar) to **Android Library** (aar) +- Change the type of dependency library from **Java Library** (jar) to **Android Library** (aar) - Removed wrong `Class` object declaration in Android `type` ### 1.0.0 | 2023.01.26   diff --git a/docs-source/src/zh-cn/about/changelog.md b/docs-source/src/zh-cn/about/changelog.md index 17826d8..bab64ae 100644 --- a/docs-source/src/zh-cn/about/changelog.md +++ b/docs-source/src/zh-cn/about/changelog.md @@ -8,7 +8,21 @@ ::: -### 1.0.2 | 2023.04.25   +### 1.0.3 | 2023.10.07   + +- 将依赖库的类型由 **Android Library** (aar) 修改回 **Java Library** (jar) +- 适配并支持原生 Java 平台 (部分功能仅限 Android 平台) +- 修复 [fix get interfaces of class](https://github.com/HighCapable/YukiHookAPI/pull/38) 问题并合并到 `YukiReflection` +- 作废了 ~~`isAllowPrintingLogs`~~,请开始使用 `debugLog` 方法 +- 新增 `YukiReflection.TAG` +- 作废了 ~~`YukiReflection.API_VERSION_NAME`~~、~~`YukiReflection.API_VERSION_CODE`~~,统一合并到 `YukiReflection.VERSION` +- 重构方法查找中的 `remendy` 功能,现在可以对其进行分步打印异常 +- 多重方法查找结果类型由 `HashSet` 改为 `MutableList` +- 新增使用 `method()`、`constructor()`、`field()` 可直接获取到类中的所有对象功能 +- `constructor()` 的行为不再是 `constructor { emptyParam() }` +- 新增 `lazyClass`、`lazyClassOrNull` 方法,可延迟装载 `Class` + +### 1.0.2 | 2023.04.25   - 修复一个严重问题,`Member` 缓存未生效且持续存储最终引发 APP 内存溢出 (OOM),感谢 [Art-Chen](https://github.com/Art-Chen) - 移除 `Member` 的直接缓存功能并作废 ~~`YukiReflection.Configs.isEnableMemberCache`~~,保留 `Class` 的缓存功能 diff --git a/gradle.properties b/gradle.properties index 17f6493..fdce932 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,7 +10,7 @@ project.description=An efficient Reflection API for Java and Android built in Ko project.url=https://github.com/HighCapable/YukiReflection project.groupName=com.highcapable.yukireflection project.yukireflection-core.moduleName=api -project.yukireflection-core.version="1.0.2" +project.yukireflection-core.version="1.0.3" project.licence.name=Apache License 2.0 project.licence.url=https://github.com/HighCapable/YukiReflection/blob/master/LICENSE project.developer.id="0"