Skip to content

Commit a7f9144

Browse files
committed
Update version to 1.1.6
1 parent f4b835f commit a7f9144

File tree

6 files changed

+23
-7
lines changed

6 files changed

+23
-7
lines changed

README-zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Yuki Hook API
22

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Yuki Hook API
22

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

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ext {
1010
devUser = "fankesyooni"
1111
userEmail = "[email protected]"
1212
groupId = "com.highcapable.yukihookapi"
13-
apiVersion = "1.1.5"
13+
apiVersion = "1.1.6"
1414
repoName = "YukiHookAPI"
1515
repoDescription = "An efficient Hook API and Xposed Module solution built in Kotlin."
1616
licenceName = "MIT License"

docs-source/src/en/about/changelog.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,15 @@ Time zone of version release date: **UTC+8**
1616

1717
:::
1818

19-
### 1.1.5 | 2023.01.13 &ensp;<Badge type="tip" text="latest" vertical="middle" />
19+
### 1.1.6 | 2023.01.21 &ensp;<Badge type="tip" text="latest" vertical="middle" />
20+
21+
- 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
22+
- 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
23+
- Fixed the problem that the number of parameters is incorrect when methods such as `HookParam.callOriginal`, `HookParam.invokeOriginal` call the original method
24+
- Modify the method parameter name `param` of reflection calls in `MethodFinder`, `ConstructorFinder`, `ReflectionFactory` to `args`
25+
- 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
26+
27+
### 1.1.5 | 2023.01.13 &ensp;<Badge type="warning" text="stale" vertical="middle" />
2028

2129
- Standardize and optimize the overall code style
2230
- Privatized some APIs called internally

docs-source/src/zh-cn/about/changelog.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@
88

99
:::
1010

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

1321
- 规范并优化整体代码风格
1422
- 对部分内部调用的 API 进行了私有化处理

yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/YukiHookAPI.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ object YukiHookAPI {
8080
internal var isLoadedFromBaseContext = false
8181

8282
/** 获取当前 [YukiHookAPI] 的版本 */
83-
const val API_VERSION_NAME = "1.1.5"
83+
const val API_VERSION_NAME = "1.1.6"
8484

8585
/** 获取当前 [YukiHookAPI] 的版本号 */
86-
const val API_VERSION_CODE = 39
86+
const val API_VERSION_CODE = 40
8787

8888
/**
8989
* 当前 [YukiHookAPI] 的状态

0 commit comments

Comments
 (0)