Skip to content

Commit 2c1d99e

Browse files
committed
Bump version to 1.3.0
1 parent db5516a commit 2c1d99e

File tree

3 files changed

+38
-20
lines changed

3 files changed

+38
-20
lines changed

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

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

1717
:::
1818

19-
### 1.2.1 | 2024.06.20 &ensp;<Badge type="tip" text="latest" vertical="middle" />
19+
### 1.3.0 | 2024.06.25 &ensp;<Badge type="tip" text="latest" vertical="middle" />
20+
21+
- This is a major update, please refer to [Migrate to YukiHookAPI 1.3.x](https://highcapable.github.io/YukiHookAPI/zh-cn/config/move-to-api-1-3-x)
22+
- The reflection API of `YukiHookAPI` is deprecated, please move to the brand new [KavaRef](https://github.com/HighCapable/KavaRef)
23+
- The limitation of duplicate Hooks has been deprecated, now you can repeat the same method of the Hook
24+
- Deprecated ~~`ModuleAppActivity`~~, ~~`ModuleAppCompatActivity`~~, please use `ModuleActivity` to create your own proxy `Activity`
25+
- `YLog` is now allowed to pass `msg` into any object and will be automatically converted to a string for printing
26+
- `FreeReflection` has been deprecated and has now switched to [AndroidHiddenApiBypass](https://github.com/LSPosed/AndroidHiddenApiBypass)
27+
28+
### 1.2.1 | 2024.06.20 &ensp;<Badge type="warning" text="stale" vertical="middle" />
2029

2130
- Catch exceptions in singleton Hooker to prevent it from blocking the entire process
2231
- Add automatic use of "`" in the automatic handler to fix the situation where Kotlin keywords are package names, thanks to [Fengning Zhu](https://github.com/zhufengning) for [PR](https://github.com/HighCapable/YukiHookAPI/pull/70)
@@ -56,7 +65,7 @@ Time zone of version release date: **UTC+8**
5665
- `constructor()` no longer behaves like `constructor { emptyParam() }`
5766
- Added `lazyClass` and `lazyClassOrNull` methods to lazily load `Class`
5867

59-
### 1.1.11 | 2023.04.25 &ensp;<Badge type="warning" text="stale" vertical="middle" />
68+
### 1.1.11 | 2023.04.25 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
6069

6170
- Fixed a critical issue since `1.1.5` version 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)
6271
- Remove the direct cache function of `Member` and deprecated ~~`YukiReflection.Configs.isEnableMemberCache`~~, keep the cache function of `Class`
@@ -65,7 +74,7 @@ Time zone of version release date: **UTC+8**
6574
- Deprecated ~~`YukiHookAPI.Configs.isEnablePrefsBridgeCache`~~
6675
- Deprecated ~~`direct`~~, ~~`clearCache`~~ functions in `YukiHookPrefsBridge`
6776

68-
### 1.1.10 | 2023.04.21 &ensp;<Badge type="warning" text="stale" vertical="middle" />
77+
### 1.1.10 | 2023.04.21 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
6978

7079
- The `Activity` proxy function adds the function of specifying a separate proxy `Activity` for each proxied `Activity`
7180
- Fixed problem that the `contains` and `all` methods in `YukiHookPrefsBridge` did not judge the `native` function
@@ -74,7 +83,7 @@ Time zone of version release date: **UTC+8**
7483
- Modify part of `HashMap` used for caching to `ArrayMap` to reduce memory consumption
7584
- Fix some other possible problems
7685

77-
### 1.1.9 | 2023.04.17 &ensp;<Badge type="warning" text="stale" vertical="middle" />
86+
### 1.1.9 | 2023.04.17 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
7887

7988
- Change the type of dependent library from **Java Library** (jar) to **Android Library** (aar)
8089
- Remove the inspection function of internal methods and parameters through Hook or reflection API
@@ -94,7 +103,7 @@ Time zone of version release date: **UTC+8**
94103
- Modify the proxy class of the `Activity` proxy function to be dynamically generated to prevent conflicts caused by injecting different modules into the host
95104
- Fixed some other possible problems
96105

97-
### 1.1.8 | 2023.02.01 &ensp;<Badge type="warning" text="stale" vertical="middle" />
106+
### 1.1.8 | 2023.02.01 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
98107

99108
- Fixed the problem that the underlying Hook method cannot update the modified state synchronously when modifying parameters such as `result` during callback, thanks to the [Issue](https://github.com/HighCapable/YukiHookAPI/issues/23) of [Yongzheng Lai](https://github.com/elvizlai)
100109
- Move the entry class name file automatically generated by `YukiHookAPI` from `assets/yukihookapi_init` to `resources/META-INF/yukihookapi_init`
@@ -108,15 +117,15 @@ Time zone of version release date: **UTC+8**
108117
- Fixed the problem that there may be multiple registration lifecycles in `PackageParam.AppLifecycle`
109118
- Revert: The 1.1.7 version has been withdrawn due to a serious problem, please update to this version directly (the update log is the same as version 1.1.7)
110119

111-
### 1.1.6 | 2023.01.21 &ensp;<Badge type="warning" text="stale" vertical="middle" />
120+
### 1.1.6 | 2023.01.21 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
112121

113122
- 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
114123
- 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
115124
- Fixed the problem that the number of parameters is incorrect when methods such as `HookParam.callOriginal`, `HookParam.invokeOriginal` call the original method
116125
- Modify the method parameter name `param` of reflection calls in `MethodFinder`, `ConstructorFinder`, `ReflectionFactory` to `args`
117126
- 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
118127

119-
### 1.1.5 | 2023.01.13 &ensp;<Badge type="warning" text="stale" vertical="middle" />
128+
### 1.1.5 | 2023.01.13 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
120129

121130
- Standardize and optimize the overall code style
122131
- Privatized some APIs called internally
@@ -158,7 +167,7 @@ Time zone of version release date: **UTC+8**
158167
- Fixed the problem that the debug log data package name processed by `YukiHookLogger` may be incorrect in the (Xposed) Host environment
159168
- Fixed the problem that the package name may be incorrect on some systems (in some system apps) when the Xposed Module loads the Resource Hook event
160169

161-
### 1.1.4 | 2022.10.04 &ensp;<Badge type="warning" text="stale" vertical="middle" />
170+
### 1.1.4 | 2022.10.04 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
162171

163172
- Fixed the issue that `YukiHookDataChannel` may not respond to broadcast events in the system framework, reproduced in A13
164173
- Fixed the issue that `YukiHookDataChannel` could not communicate with Module App in Host App for multiple versions
@@ -168,7 +177,7 @@ Time zone of version release date: **UTC+8**
168177
- Added `loadApp`, `loadZygote`, `loadSystem`, `withProcess` multi-parameter methods of the same name in `PackageParam`
169178
- Fixed some possible bugs
170179

171-
### 1.1.3 | 2022.09.30 &ensp;<Badge type="warning" text="stale" vertical="middle" />
180+
### 1.1.3 | 2022.09.30 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
172181

173182
- Fixed a fatal bug where the Hook entry class name could not be customized
174183
- Added some code notes in `LoggerFactory` and updated special features documentation

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

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,16 @@
88

99
:::
1010

11-
### 1.2.1 | 2024.06.20 &ensp;<Badge type="tip" text="最新" vertical="middle" />
11+
### 1.3.0 | 2025.06.25 &ensp;<Badge type="tip" text="最新" vertical="middle" />
12+
13+
- 这是一次重大更新,详情请参考 [迁移到 YukiHookAPI 1.3.x](https://highcapable.github.io/YukiHookAPI/zh-cn/config/move-to-api-1-3-x)
14+
- 弃用了 `YukiHookAPI` 自身的反射 API,现在请迁移到全新的 [KavaRef](https://github.com/HighCapable/KavaRef)
15+
- 弃用了重复 Hook 的限制,现在你可以重复 Hook 同一个方法
16+
- 弃用了 ~~`ModuleAppActivity`~~~~`ModuleAppCompatActivity`~~,现在请使用 `ModuleActivity` 创建自己的代理 `Activity`
17+
- `YLog` 现已允许 `msg` 传入任意对象,将自动转换为字符串进行打印
18+
- `FreeReflection` 已被弃用,现已切换至 [AndroidHiddenApiBypass](https://github.com/LSPosed/AndroidHiddenApiBypass)
19+
20+
### 1.2.1 | 2024.06.20 &ensp;<Badge type="warning" text="过旧" vertical="middle" />
1221

1322
- 捕获单例 Hooker 中的异常,防止其阻断整个进程
1423
- 在自动处理程序中添加自动使用 "`" 来修复 Kotlin 关键字为包名的情况,感谢 [Fengning Zhu](https://github.com/zhufengning)[PR](https://github.com/HighCapable/YukiHookAPI/pull/70)
@@ -46,7 +55,7 @@
4655
- `constructor()` 的行为不再是 `constructor { emptyParam() }`
4756
- 新增 `lazyClass``lazyClassOrNull` 方法,可延迟装载 `Class`
4857

49-
### 1.1.11 | 2023.04.25 &ensp;<Badge type="warning" text="过旧" vertical="middle" />
58+
### 1.1.11 | 2023.04.25 &ensp;<Badge type="danger" text="过期" vertical="middle" />
5059

5160
- 修复从 `1.1.5` 版本开始的一个严重问题,`Member` 缓存未生效且持续存储最终引发 APP 内存溢出 (OOM),感谢 [Art-Chen](https://github.com/Art-Chen)
5261
- 移除 `Member` 的直接缓存功能并作废 ~~`YukiHookAPI.Configs.isEnableMemberCache`~~,保留 `Class` 的缓存功能
@@ -55,7 +64,7 @@
5564
- 作废了 ~~`YukiHookAPI.Configs.isEnablePrefsBridgeCache`~~
5665
- 作废了 `YukiHookPrefsBridge` 中的 ~~`direct`~~~~`clearCache`~~ 方法
5766

58-
### 1.1.10 | 2023.04.21 &ensp;<Badge type="warning" text="过旧" vertical="middle" />
67+
### 1.1.10 | 2023.04.21 &ensp;<Badge type="danger" text="过期" vertical="middle" />
5968

6069
- `Activity` 代理功能新增每个被代理的 `Activity` 指定单独的代理 `Activity` 功能
6170
- 修复 `YukiHookPrefsBridge` 中的 `contains``all` 方法未判断 `native` 功能的问题
@@ -64,7 +73,7 @@
6473
- 修改部分用于缓存的 `HashMap``ArrayMap` 以减少内存消耗
6574
- 修复一些其它可能出现的问题
6675

67-
### 1.1.9 | 2023.04.17 &ensp;<Badge type="warning" text="过旧" vertical="middle" />
76+
### 1.1.9 | 2023.04.17 &ensp;<Badge type="danger" text="过期" vertical="middle" />
6877

6978
- 将依赖库的类型由 **Java Library** (jar) 修改为 **Android Library** (aar)
7079
- 移除通过 Hook 或反射 API 内部方法、参数的检查功能
@@ -84,7 +93,7 @@
8493
- 修改 `Activity` 代理功能的代理类为动态生成,防止不同模块注入宿主后造成冲突
8594
- 修复一些其它可能出现的问题
8695

87-
### 1.1.8 | 2023.02.01 &ensp;<Badge type="warning" text="过旧" vertical="middle" />
96+
### 1.1.8 | 2023.02.01 &ensp;<Badge type="danger" text="过期" vertical="middle" />
8897

8998
- 修复底层 Hook 方法在回调时修改 `result` 等参数时时不能同步更新修改后的状态问题,感谢 [Yongzheng Lai](https://github.com/elvizlai)[Issue](https://github.com/HighCapable/YukiHookAPI/issues/23)
9099
- 移动 `YukiHookAPI` 自动生成的入口类名称文件 `assets/yukihookapi_init``resources/META-INF/yukihookapi_init`
@@ -98,15 +107,15 @@
98107
- 修复在 `PackageParam.AppLifecycle` 中可能存在多次注册生命周期的问题
99108
- Revert: 1.1.7 版本由于有一个严重问题已经撤回,请直接更新到此版本即可 (更新日志同 1.1.7 版本)
100109

101-
### 1.1.6 | 2023.01.21 &ensp;<Badge type="warning" text="过旧" vertical="middle" />
110+
### 1.1.6 | 2023.01.21 &ensp;<Badge type="danger" text="过期" vertical="middle" />
102111

103112
- 修复 Xposed 模块装载时可能存在同一个进程多个包名的情况导致 `PackageParam` 保持单例后 `ClassLoader` 不符的严重问题
104113
- 新增同一个进程多个包名的情况下未区分包名时,停止装载单例化的子 Hooker 并打印警告信息
105114
- 修复 `HookParam.callOriginal``HookParam.invokeOriginal` 等方法调用原始方法时参数个数不正确的问题
106115
- 修改 `MethodFinder``ConstructorFinder``ReflectionFactory` 中反射调用的方法参数名 `param``args`
107116
- 新增 Xposed 模块自动处理程序中判断入口类构造方法参数功能,入口类需要保证其不存在任何构造方法参数
108117

109-
### 1.1.5 | 2023.01.13 &ensp;<Badge type="warning" text="过旧" vertical="middle" />
118+
### 1.1.5 | 2023.01.13 &ensp;<Badge type="danger" text="过期" vertical="middle" />
110119

111120
- 规范并优化整体代码风格
112121
- 对部分内部调用的 API 进行了私有化处理
@@ -148,7 +157,7 @@
148157
- 修复 `YukiHookLogger` 处理后的调试日志数据包名可能在 (Xposed) 宿主环境不正确的问题
149158
- 修复 Xposed 模块装载资源钩子 (Resources Hook) 事件时在部分系统上 (部分系统 APP 中) 包名可能不正确的问题
150159

151-
### 1.1.4 | 2022.10.04 &ensp;<Badge type="warning" text="过旧" vertical="middle" />
160+
### 1.1.4 | 2022.10.04 &ensp;<Badge type="danger" text="过期" vertical="middle" />
152161

153162
- 修复 `YukiHookDataChannel` 可能不能响应系统框架中响应广播事件的问题,在 Android 13 中复现
154163
- 修复 `YukiHookDataChannel` 长达多个版本在 (Xposed) 宿主环境无法与模块通讯的问题
@@ -158,7 +167,7 @@
158167
- `PackageParam` 中新增 `loadApp``loadZygote``loadSystem``withProcess` 的同名多参数方法
159168
- 修复了一些可能存在的 BUG
160169

161-
### 1.1.3 | 2022.09.30 &ensp;<Badge type="warning" text="过旧" vertical="middle" />
170+
### 1.1.3 | 2022.09.30 &ensp;<Badge type="danger" text="过期" vertical="middle" />
162171

163172
- 修复一个无法自定义 Hook 入口类名的致命错误
164173
- 添加 `LoggerFactory` 中的部分代码注释文案并更新特色功能文档

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ project.name=YukiHookAPI
99
project.url=https://github.com/HighCapable/YukiHookAPI
1010
project.groupName=com.highcapable.yukihookapi
1111
project.yukihookapi-core.moduleName=api
12-
project.yukihookapi-core.version="1.2.1"
12+
project.yukihookapi-core.version="1.3.0"
1313
project.yukihookapi-ksp-xposed.moduleName=ksp-xposed
1414
project.yukihookapi-ksp-xposed.version=${project.yukihookapi-core.version}
1515
project.android.compileSdk=35
@@ -22,7 +22,7 @@ project.samples-demo-module.packageName=${project.groupName}.demo_module
2222
project.samples-demo-module.versionName=universal
2323
project.samples-demo-module.versionCode=1
2424
# Maven Publish Configuration
25-
SONATYPE_HOST=S01
25+
SONATYPE_HOST=CENTRAL_PORTAL
2626
RELEASE_SIGNING_ENABLED=true
2727
# Maven POM Configuration
2828
POM_NAME=YukiHookAPI

0 commit comments

Comments
 (0)