From 58a6b7206c1ff858f2d7cec52b568295f626f228 Mon Sep 17 00:00:00 2001 From: Fankesyooni Date: Mon, 4 Apr 2022 02:43:08 +0800 Subject: [PATCH] Update version to 1.0.7 --- README.md | 16 ++++++++++++++-- build.gradle | 2 +- .../com/highcapable/yukihookapi/YukiHookAPI.kt | 4 ++-- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cb7a2734..0e24aa5e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![Eclipse Marketplace](https://img.shields.io/badge/build-passing-brightgreen) ![Eclipse Marketplace](https://img.shields.io/badge/license-MIT-blue) -![Eclipse Marketplace](https://img.shields.io/badge/version-v1.0.69-green) +![Eclipse Marketplace](https://img.shields.io/badge/version-v1.0.7-green) [![Telegram](https://img.shields.io/static/v1?label=Telegram&message=交流讨论&color=0088cc)](https://t.me/XiaofangInternet)

@@ -194,7 +194,19 @@ class MainHook : YukiHookXposedInitProxy { 增加 Demo 中的更多示例 Hook 内容;
修复在一个 Hook 实例中,`allMethods` 多次使用时只有最后一个生效的问题,感谢 [WankkoRee](https://github.com/WankkoRee) 的反馈。

- 1.0.7
- 完善中。 + 修复 `instanceClass` 在静态实例中调用后报错问题;

+ 在 Hook 过程中加入 `isUseAppClassLoader` 功能,感谢 [WankkoRee](https://github.com/WankkoRee) 的反馈;

+ 加入 `withProcess` 功能,可根据 APP 当前指定进程进行 Hook;

+ 修复查找方法、构造类和变量的严重逻辑错误问题;

+ 修复 Hook 目标类不存在的时候无法忽略异常输出的问题;

+ 修复部分情况下 APP 启动方法装载过快导致 Hook 不能生效的问题;

+ 修复 `allMethods` 未 Hook 到方法时不会抛出异常的问题,感谢 [WankkoRee](https://github.com/WankkoRee) 的反馈;

+ 加入 Hook 状态监听功能,感谢 [WankkoRee](https://github.com/WankkoRee) 的建议;

+ 修改 Xposed 入口注入类的方式,重新声明 API 的定义域;

+ 加入混淆的方法以及变量的查找功能,可使用不同类型筛选 `index` 定位指定的方法和变量,感谢 [WankkoRee](https://github.com/WankkoRee) 提供的思路;

+ 查找方法、变量时允许传入多种类型,例如 `String` 声明的类名和 `VariousClass`;

+ 加入全新的 `current` 功能,可对任意的类构建一个反射方法操作空间,方便地调用和修改其中的方法和变量;

+ 修复了 Hook 过程中的大量 BUG,感谢 [WankkoRee](https://github.com/WankkoRee) 对此项目所做出的贡献。 # Features diff --git a/build.gradle b/build.gradle index 6098fbd8..580e6e35 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ ext { devUser = "fankesyooni" userEmail = "qzmmcn@163.com" groupId = "com.highcapable.yukihookapi" - apiVersion = "1.0.69" + apiVersion = "1.0.7" repoName = "YukiHookAPI" repoDescription = "An efficient Kotlin version of the Xposed Hook API." licenceName = "MIT License" diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/YukiHookAPI.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/YukiHookAPI.kt index 67b63cd2..06385d78 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/YukiHookAPI.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/YukiHookAPI.kt @@ -69,10 +69,10 @@ object YukiHookAPI { internal var isLoadedFromBaseContext = false /** 获取当前 [YukiHookAPI] 的版本 */ - const val API_VERSION_NAME = "1.0.69" + const val API_VERSION_NAME = "1.0.7" /** 获取当前 [YukiHookAPI] 的版本号 */ - const val API_VERSION_CODE = 14 + const val API_VERSION_CODE = 15 /** * 获取当前 Hook 框架的名称