Update version to 1.1.6

This commit is contained in:
2023-01-21 00:32:05 +08:00
parent f4b835f65c
commit a7f9144c3d
6 changed files with 23 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
# Yuki Hook API
![Blank](https://img.shields.io/badge/license-MIT-blue)
![Blank](https://img.shields.io/badge/version-v1.1.5-green)
![Blank](https://img.shields.io/badge/version-v1.1.6-green)
[![Telegram](https://img.shields.io/badge/Follow-Telegram-blue.svg?logo=telegram)](https://t.me/YukiHookAPI)
<br/><br/>
<img src="https://github.com/fankes/YuKiHookAPI/blob/master/img-src/icon.png?raw=true" width = "100" height = "100"/>

View File

@@ -1,7 +1,7 @@
# Yuki Hook API
![Blank](https://img.shields.io/badge/license-MIT-blue)
![Blank](https://img.shields.io/badge/version-v1.1.5-green)
![Blank](https://img.shields.io/badge/version-v1.1.6-green)
[![Telegram](https://img.shields.io/badge/Follow-Telegram-blue.svg?logo=telegram)](https://t.me/YukiHookAPI)
<br/><br/>
<img src="https://github.com/fankes/YuKiHookAPI/blob/master/img-src/icon.png?raw=true" width = "100" height = "100"/>

View File

@@ -10,7 +10,7 @@ ext {
devUser = "fankesyooni"
userEmail = "qzmmcn@163.com"
groupId = "com.highcapable.yukihookapi"
apiVersion = "1.1.5"
apiVersion = "1.1.6"
repoName = "YukiHookAPI"
repoDescription = "An efficient Hook API and Xposed Module solution built in Kotlin."
licenceName = "MIT License"

View File

@@ -16,7 +16,15 @@ Time zone of version release date: **UTC+8**
:::
### 1.1.5 | 2023.01.13 &ensp;<Badge type="tip" text="latest" vertical="middle" />
### 1.1.6 | 2023.01.21 &ensp;<Badge type="tip" text="latest" vertical="middle" />
- Fixed the serious problem that `ClassLoader` does not match after `PackageParam` keeps a single instance when there may be multiple package names in the same process when Xposed Module is loaded
- When the package name is not distinguished when there are multiple package names in the same process, stop loading the singleton child Hooker and print a warning message
- Fixed the problem that the number of parameters is incorrect when methods such as `HookParam.callOriginal`, `HookParam.invokeOriginal` call the original method
- Modify the method parameter name `param` of reflection calls in `MethodFinder`, `ConstructorFinder`, `ReflectionFactory` to `args`
- Added the function of judging the parameters of the entry class constructor in the automatic processing program of the Xposed Module, the entry class needs to ensure that it does not have any constructor parameters
### 1.1.5 | 2023.01.13 &ensp;<Badge type="warning" text="stale" vertical="middle" />
- Standardize and optimize the overall code style
- Privatized some APIs called internally

View File

@@ -8,7 +8,15 @@
:::
### 1.1.5 | 2023.01.13 &ensp;<Badge type="tip" text="最新" vertical="middle" />
### 1.1.6 | 2023.01.21 &ensp;<Badge type="tip" text="最新" vertical="middle" />
- 修复 Xposed 模块装载时可能存在同一个进程多个包名的情况导致 `PackageParam` 保持单例后 `ClassLoader` 不符的严重问题
- 新增同一个进程多个包名的情况下未区分包名时,停止装载单例化的子 Hooker 并打印警告信息
- 修复 `HookParam.callOriginal``HookParam.invokeOriginal` 等方法调用原始方法时参数个数不正确的问题
- 修改 `MethodFinder``ConstructorFinder``ReflectionFactory` 中反射调用的方法参数名 `param``args`
- 新增 Xposed 模块自动处理程序中判断入口类构造方法参数功能,入口类需要保证其不存在任何构造方法参数
### 1.1.5 | 2023.01.13 &ensp;<Badge type="warning" text="过旧" vertical="middle" />
- 规范并优化整体代码风格
- 对部分内部调用的 API 进行了私有化处理

View File

@@ -80,10 +80,10 @@ object YukiHookAPI {
internal var isLoadedFromBaseContext = false
/** 获取当前 [YukiHookAPI] 的版本 */
const val API_VERSION_NAME = "1.1.5"
const val API_VERSION_NAME = "1.1.6"
/** 获取当前 [YukiHookAPI] 的版本号 */
const val API_VERSION_CODE = 39
const val API_VERSION_CODE = 40
/**
* 当前 [YukiHookAPI] 的状态