Skip to content

Commit dc4b028

Browse files
committed
Bump version to 1.2.0
1 parent d55e4e3 commit dc4b028

File tree

3 files changed

+69
-3
lines changed

3 files changed

+69
-3
lines changed

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

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

1717
:::
1818

19-
### 1.1.11 | 2023.04.25 &ensp;<Badge type="tip" text="latest" vertical="middle" />
19+
### 1.2.0 | 2023.10.07 &ensp;<Badge type="tip" text="latest" vertical="middle" />
20+
21+
- The license agreement has been changed from `MIT` to `Apache-2.0`, subsequent versions will be distributed under this license agreement, you should change the relevant license agreement after using this version
22+
- This is a breaking update, please refer to [Migrate to YukiHookAPI 1.2.x](https://highcapable.github.io/YukiHookAPI/en/config/move-to-api-1-2-x) for details
23+
- Adapted to Android 14, thanks to [BlueCat300](https://github.com/BlueCat300) for [PR](https://github.com/HighCapable/YukiHookAPI/pull/44)
24+
- Fixed `findAllInterfaces` related issues, thanks to [buffcow](https://github.com/buffcow) for [PR](https://github.com/HighCapable/YukiHookAPI/pull/38)
25+
- Fixed the delayed callback problem in the Hook process, thanks to [cesaryuan](https://github.com/cesaryuan) for his [Issue](https://github.com/HighCapable/YukiHookAPI/issues/47)
26+
- Added support for Resources Hook related functions, please refer to this [Issue](https://github.com/HighCapable/YukiHookAPI/issues/36) for details
27+
- Added `YukiHookAPI.TAG`
28+
- Obsolete ~~`YukiHookAPI.API_VERSION_NAME`~~, ~~`YukiHookAPI.API_VERSION_CODE`~~, merged into `YukiHookAPI.VERSION`
29+
- Added `YukiHookAPI.TAG`
30+
- Obsolete ~~`YYukiHookAPI.API_VERSION_NAME`~~, ~~`YukiHookAPI.API_VERSION_CODE`~~, merged into `YukiHookAPI.VERSION`
31+
- Deprecated the `useDangerousOperation` method in `YukiMemberHookCreator`
32+
- The `instanceClass` function in `YukiMemberHookCreator` is obsolete and is no longer recommended
33+
- Modify `instanceClass` in `HookParam` to be a null safe return value type
34+
- Detach all Hook objects created using `injectMember` to `LegacyCreator`
35+
- Modify `appClassLoader` in `PackageParam` to be a null safe return value type
36+
- Refactor all `logger...` methods to new usage `YLog`
37+
- Removed the `-->` style behind the print log function
38+
- Fixed and improved the problem that the module package name cannot be obtained through KSP after using `namespace`
39+
- Functions such as whether to enable module activation status have now been moved to the `InjectYukiHookWithXposed` annotation
40+
- Detached [FreeReflection](https://github.com/tiann/FreeReflection) will no longer be automatically generated and will be automatically imported as a dependency
41+
- Added a warning log that will be automatically printed when the same Hook method is repeated
42+
- The `findClass(...)` method in `PackageParam` is obsolete, please migrate to the `"...".toClass()` method
43+
- The `String.hook { ... }` method in `PackageParam` is obsolete, and it is recommended to use a new method for Hook
44+
- `AppLifecycle` can now be created repeatedly in different Hookers
45+
- The old version of Hook priority writing is obsolete and migrated to `YukiHookPriority`
46+
- Removed the `tag` function in the Hook process
47+
- Refactored `remendy` functionality in find methods, which now prints exceptions in steps
48+
- The multi-method find result type is changed from `HashSet` to `MutableList`
49+
- Added `method()`, `constructor()`, `field()` to directly obtain all object functions in the class
50+
- `constructor()` no longer behaves like `constructor { emptyParam() }`
51+
- Added `lazyClass` and `lazyClassOrNull` methods to lazily load `Class`
52+
53+
### 1.1.11 | 2023.04.25 &ensp;<Badge type="warning" text="stale" vertical="middle" />
2054

2155
- 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)
2256
- Remove the direct cache function of `Member` and deprecated ~~`YukiReflection.Configs.isEnableMemberCache`~~, keep the cache function of `Class`

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

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

99
:::
1010

11-
### 1.1.11 | 2023.04.25 &ensp;<Badge type="tip" text="最新" vertical="middle" />
11+
### 1.2.0 | 2023.10.07 &ensp;<Badge type="tip" text="最新" vertical="middle" />
12+
13+
- 许可协议由 `MIT` 变更为 `Apache-2.0`,在此之后的版本将由此许可协议进行分发,您在使用此版本后应变更相关许可协议
14+
- 这是一次重大更新,详情请参考 [迁移到 YukiHookAPI 1.2.x](https://highcapable.github.io/YukiHookAPI/zh-cn/config/move-to-api-1-2-x)
15+
- 适配 Android 14,感谢 [BlueCat300](https://github.com/BlueCat300)[PR](https://github.com/HighCapable/YukiHookAPI/pull/44)
16+
- 修复 `findAllInterfaces` 相关问题,感谢 [buffcow](https://github.com/buffcow)[PR](https://github.com/HighCapable/YukiHookAPI/pull/38)
17+
- 修复 Hook 过程中的延迟回调问题,感谢 [cesaryuan](https://github.com/cesaryuan)[Issue](https://github.com/HighCapable/YukiHookAPI/issues/47)
18+
- 新增 Resources Hook 相关功能支持,详情请参考这个 [Issue](https://github.com/HighCapable/YukiHookAPI/issues/36)
19+
- 新增 `YukiHookAPI.TAG`
20+
- 作废了 ~~`YukiHookAPI.API_VERSION_NAME`~~~~`YukiHookAPI.API_VERSION_CODE`~~,统一合并到 `YukiHookAPI.VERSION`
21+
- 作废了 `YukiMemberHookCreator` 中的 `useDangerousOperation` 方法
22+
- 作废了 `YukiMemberHookCreator` 中的 `instanceClass` 功能,不再推荐使用
23+
- 修改 `HookParam` 中的 `instanceClass` 为空安全返回值类型
24+
- 分离全部使用 `injectMember` 创建的 Hook 对象到 `LegacyCreator`
25+
- 修改 `PackageParam` 中的 `appClassLoader` 为空安全返回值类型
26+
- 重构全部 `logger...` 方法到新用法 `YLog`
27+
- 移除了打印日志功能后方的 `-->` 样式
28+
- 修复并改进在使用 `namespace` 后通过 KSP 无法获取模块包名的问题
29+
- 是否启用模块激活状态等功能现已移动到 `InjectYukiHookWithXposed` 注解中
30+
- 分离 [FreeReflection](https://github.com/tiann/FreeReflection) 不再自动生成,将作为依赖自动导入
31+
- 新增重复 Hook 同一个方法时将自动打印警告日志
32+
- 作废了 `PackageParam` 中的 `findClass(...)` 方法,请迁移到 `"...".toClass()` 方法
33+
- 作废了 `PackageParam` 中的 `String.hook { ... }` 方法,推荐使用新方式进行 Hook
34+
- `AppLifecycle` 现在可以在不同 Hooker 中重复创建
35+
- 作废了旧版 Hook 优先级写法,统一迁移到 `YukiHookPriority`
36+
- 移除了 Hook 过程中的 `tag` 功能
37+
- 重构方法查找中的 `remendy` 功能,现在可以对其进行分步打印异常
38+
- 多重方法查找结果类型由 `HashSet` 改为 `MutableList`
39+
- 新增使用 `method()``constructor()``field()` 可直接获取到类中的所有对象功能
40+
- `constructor()` 的行为不再是 `constructor { emptyParam() }`
41+
- 新增 `lazyClass``lazyClassOrNull` 方法,可延迟装载 `Class`
42+
43+
### 1.1.11 | 2023.04.25 &ensp;<Badge type="warning" text="过旧" vertical="middle" />
1244

1345
- 修复从 `1.1.5` 版本开始的一个严重问题,`Member` 缓存未生效且持续存储最终引发 APP 内存溢出 (OOM),感谢 [Art-Chen](https://github.com/Art-Chen)
1446
- 移除 `Member` 的直接缓存功能并作废 ~~`YukiHookAPI.Configs.isEnableMemberCache`~~,保留 `Class` 的缓存功能

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ project.description=An efficient Hook API and Xposed Module solution built in Ko
1010
project.url=https://github.com/HighCapable/YukiHookAPI
1111
project.groupName=com.highcapable.yukihookapi
1212
project.yukihookapi-core.moduleName=api
13-
project.yukihookapi-core.version="1.0.11"
13+
project.yukihookapi-core.version="1.2.0"
1414
project.yukihookapi-ksp-xposed.moduleName=ksp-xposed
1515
project.yukihookapi-ksp-xposed.version=${project.yukihookapi-core.version}
1616
project.licence.name=Apache License 2.0

0 commit comments

Comments
 (0)