diff --git a/README.md b/README.md index ee045c7a..fff3e8f1 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![Blank](https://img.shields.io/badge/build-passing-brightgreen) ![Blank](https://img.shields.io/badge/license-MIT-blue) -![Blank](https://img.shields.io/badge/version-v1.0.88-green) +![Blank](https://img.shields.io/badge/version-v1.0.89-green) [![Telegram](https://img.shields.io/badge/Follow-Telegram-blue.svg?logo=telegram)](https://t.me/YukiHookAPI)

@@ -64,7 +64,7 @@ > 你大概率会遇到浏览器缓存造成文档不是最新版本的问题,若已经查看过一次文档,请手动在每个页面上刷新一次以同步最新版本,或清除浏览器缓存。 -The latest version update time/最新版本更新时间:2022-05-25 04:03 +The latest version update time/最新版本更新时间:2022-05-26 04:37 ## Contacts diff --git a/build.gradle b/build.gradle index 1631b60e..3833f559 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.88" + apiVersion = "1.0.89" repoName = "YukiHookAPI" repoDescription = "An efficient Kotlin version of the Xposed Hook API." licenceName = "MIT License" diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 0c4e44de..fab303d5 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -12,7 +12,7 @@ - 方便移植 快速上手 -`更新时间 2022-05-25 04:03` +`更新时间 2022-05-26 04:37` [GitHub](https://github.com/fankes/YukiHookAPI) [Get Started](#介绍) diff --git a/docs/about/changelog.md b/docs/about/changelog.md index f050cdfe..72cf0b91 100644 --- a/docs/about/changelog.md +++ b/docs/about/changelog.md @@ -2,6 +2,14 @@ > 这里记录了 `YukiHookAPI` 的版本更新历史。 +### 1.0.89 | 2022.05.26 + +- 修复 `YukiHookDataChannel` 不能重复设置监听的问题,并加入在模块不同 `Activity` 中重复响应和自动跟随 `Activity` 销毁监听功能 +- 新增 `YukiHookDataChannel` 重复监听用例说明文档 +- 加入 `onAlreadyHooked` 方法,可判断当前方法是否被重复 Hook +- 修改部分重复添加 HashMap 的逻辑,移除 `putIfAbsent` 方法,允许覆盖添加 +- 修复了几处可能的 BUG + ### 1.0.88 | 2022.05.25 - 对 Xposed API 完全解耦合 diff --git a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/YukiHookAPI.kt b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/YukiHookAPI.kt index 134ea10d..a1b319f9 100644 --- a/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/YukiHookAPI.kt +++ b/yukihookapi/src/api/kotlin/com/highcapable/yukihookapi/YukiHookAPI.kt @@ -73,10 +73,10 @@ object YukiHookAPI { internal var isLoadedFromBaseContext = false /** 获取当前 [YukiHookAPI] 的版本 */ - const val API_VERSION_NAME = "1.0.88" + const val API_VERSION_NAME = "1.0.89" /** 获取当前 [YukiHookAPI] 的版本号 */ - const val API_VERSION_CODE = 29 + const val API_VERSION_CODE = 30 /** * 获取当前 Hook 框架的名称