Skip to content

Commit

Permalink
Bump version to 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fankes committed Oct 7, 2023
1 parent d84fdd6 commit b05c18e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
18 changes: 16 additions & 2 deletions docs-source/src/en/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,29 @@ Time zone of version release date: **UTC+8**

:::

### 1.0.2 | 2023.04.25 &ensp;<Badge type="tip" text="latest" vertical="middle" />
### 1.0.3 | 2023.10.07 &ensp;<Badge type="tip" text="latest" vertical="middle" />

- 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 &ensp;<Badge type="warning" text="stale" vertical="middle" />

- 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 &ensp;<Badge type="warning" text="stale" vertical="middle" />

- 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 &ensp;<Badge type="warning" text="stale" vertical="middle" />
Expand Down
16 changes: 15 additions & 1 deletion docs-source/src/zh-cn/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,21 @@

:::

### 1.0.2 | 2023.04.25 &ensp;<Badge type="tip" text="最新" vertical="middle" />
### 1.0.3 | 2023.10.07 &ensp;<Badge type="tip" text="最新" vertical="middle" />

- 将依赖库的类型由 **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 &ensp;<Badge type="warning" text="过旧" vertical="middle" />

- 修复一个严重问题,`Member` 缓存未生效且持续存储最终引发 APP 内存溢出 (OOM),感谢 [Art-Chen](https://github.com/Art-Chen)
- 移除 `Member` 的直接缓存功能并作废 ~~`YukiReflection.Configs.isEnableMemberCache`~~,保留 `Class` 的缓存功能
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b05c18e

Please sign in to comment.