diff --git a/README-zh-CN.md b/README-zh-CN.md index fad1885..d0b176c 100644 --- a/README-zh-CN.md +++ b/README-zh-CN.md @@ -1,7 +1,7 @@ # Yuki Reflection ![Blank](https://img.shields.io/badge/license-MIT-blue) -![Blank](https://img.shields.io/badge/version-v1.0.1-green) +![Blank](https://img.shields.io/badge/version-v1.0.2-green) [![Telegram](https://img.shields.io/badge/Follow-Telegram-blue.svg?logo=telegram)](https://t.me/YukiReflection)

diff --git a/README.md b/README.md index 3c52f08..72b30ab 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Yuki Reflection ![Blank](https://img.shields.io/badge/license-MIT-blue) -![Blank](https://img.shields.io/badge/version-v1.0.1-green) +![Blank](https://img.shields.io/badge/version-v1.0.2-green) [![Telegram](https://img.shields.io/badge/Follow-Telegram-blue.svg?logo=telegram)](https://t.me/YukiReflection)

diff --git a/build.gradle b/build.gradle index 7732512..9a55254 100644 --- a/build.gradle +++ b/build.gradle @@ -26,8 +26,8 @@ ext { repository : [ groupId : 'com.highcapable.yukireflection', apiVersion : [ - name: '1.0.1', - code: 2 + name: '1.0.2', + code: 3 ], name : 'YukiReflection', description: 'An efficient Reflection API for the Android platform built in Kotlin.', diff --git a/docs-source/src/en/about/changelog.md b/docs-source/src/en/about/changelog.md index eef92e7..3a0e8c1 100644 --- a/docs-source/src/en/about/changelog.md +++ b/docs-source/src/en/about/changelog.md @@ -16,7 +16,13 @@ Time zone of version release date: **UTC+8** ::: -### 1.0.1 | 2023.04.16   +### 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` +- Modified finder to `Sequence`, optimize the finding speed and performance of `Member` + +### 1.0.1 | 2023.04.16   - Change the type of dependent library from **Java Library** (jar) to **Android Library** (aar) - Removed wrong `Class` object declaration in Android `type` diff --git a/docs-source/src/zh-cn/about/changelog.md b/docs-source/src/zh-cn/about/changelog.md index 369230a..17826d8 100644 --- a/docs-source/src/zh-cn/about/changelog.md +++ b/docs-source/src/zh-cn/about/changelog.md @@ -8,7 +8,13 @@ ::: -### 1.0.1 | 2023.04.16   +### 1.0.2 | 2023.04.25   + +- 修复一个严重问题,`Member` 缓存未生效且持续存储最终引发 APP 内存溢出 (OOM),感谢 [Art-Chen](https://github.com/Art-Chen) +- 移除 `Member` 的直接缓存功能并作废 ~~`YukiReflection.Configs.isEnableMemberCache`~~,保留 `Class` 的缓存功能 +- 对接查找功能到 `Sequence`,优化 `Member` 的查找速度与性能 + +### 1.0.1 | 2023.04.16   - 将依赖库的类型由 **Java Library** (jar) 修改为 **Android Library** (aar) - 移除了 Android `type` 中的错误 `Class` 对象声明