Skip to content

Commit

Permalink
Update version to 1.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
fankes committed Apr 16, 2023
1 parent 51a9f42 commit 6b4804c
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README-zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Yuki Hook API

![Blank](https://img.shields.io/badge/license-MIT-blue)
![Blank](https://img.shields.io/badge/version-v1.1.8-green)
![Blank](https://img.shields.io/badge/version-v1.1.9-green)
[![Telegram](https://img.shields.io/badge/Follow-Telegram-blue.svg?logo=telegram)](https://t.me/YukiHookAPI)
<br/><br/>
<img src="https://github.com/fankes/YuKiHookAPI/blob/master/img-src/icon.png?raw=true" width = "100" height = "100"/>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Yuki Hook API

![Blank](https://img.shields.io/badge/license-MIT-blue)
![Blank](https://img.shields.io/badge/version-v1.1.8-green)
![Blank](https://img.shields.io/badge/version-v1.1.9-green)
[![Telegram](https://img.shields.io/badge/Follow-Telegram-blue.svg?logo=telegram)](https://t.me/YukiHookAPI)
<br/><br/>
<img src="https://github.com/fankes/YuKiHookAPI/blob/master/img-src/icon.png?raw=true" width = "100" height = "100"/>
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ ext {
repository : [
groupId : 'com.highcapable.yukihookapi',
apiVersion : [
name: '1.1.8',
code: 41
name: '1.1.9',
code: 42
],
name : 'YukiHookAPI',
description: 'An efficient Hook API and Xposed Module solution built in Kotlin.',
Expand Down
22 changes: 21 additions & 1 deletion docs-source/src/en/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,27 @@ Time zone of version release date: **UTC+8**

:::

### 1.1.8 | 2023.02.01 &ensp;<Badge type="tip" text="latest" vertical="middle" />
### 1.1.9 | 2023.04.17 &ensp;<Badge type="tip" text="latest" vertical="middle" />

- Change the type of dependent library from **Java Library** (jar) to **Android Library** (aar)
- Remove the inspection function of internal methods and parameters through Hook or reflection API
- Fixed the problem that `YukiHookDataChannel` automatically segmented data sending function could not work normally (exception would still be thrown)
- Added the ability to manually modify the maximum data byte size allowed by `YukiHookDataChannel` to be sent at one time according to the limitations of the target device
- Remove the restriction that `YukiHookDataChannel` can only be used in module `Activity`, now you can use it anywhere
- Modify and standardize the broadcast Action name used by `YukiHookDataChannel`
- Fix the problem that `BadParcelableException` occurs when `YukiHookDataChannel` has different modules with the same host
- Added `ExecutorType`, you can get the type of known Hook Framework through `YukiHookAPI.Status.Executor.type`
- ~~`YukiHookModulePrefs`~~ renamed to `YukiHookPrefsBridge`
- Modify `YukiHookPrefsBridge` to be implemented as a non-singleton, as a singleton may cause data confusion
- Deprecated ~~`Context.modulePrefs(...)`~~ method, please move to `Context.prefs(...)`
- `YukiHookPrefsBridge` adds `native` method, which supports storing private data in modules and hosts directly as native storage
- Integrate the storage method in `YukiHookPrefsBridge` to `YukiHookPrefsBridge.Editor`, please use `edit` method to store data
- `YukiHookPrefsBridge` adds `contains` method
- Cache dynamically created proxy objects in `YukiHookPrefsBridge`, try to fix problems that may cause OOM in the host and modules
- Modify the proxy class of the `Activity` proxy function to be dynamically generated to prevent conflicts caused by injecting different modules into the host
- Fixed some other possible problems

### 1.1.8 | 2023.02.01 &ensp;<Badge type="warning" text="stale" vertical="middle" />

- 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/fankes/YukiHookAPI/issues/23) of [Yongzheng Lai](https://github.com/elvizlai)
- Move the entry class name file automatically generated by `YukiHookAPI` from `assets/yukihookapi_init` to `resources/META-INF/yukihookapi_init`
Expand Down
22 changes: 21 additions & 1 deletion docs-source/src/zh-cn/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,27 @@

:::

### 1.1.8 | 2023.02.01 &ensp;<Badge type="tip" text="最新" vertical="middle" />
### 1.1.9 | 2023.04.17 &ensp;<Badge type="tip" text="最新" vertical="middle" />

- 将依赖库的类型由 **Java Library** (jar) 修改为 **Android Library** (aar)
- 移除通过 Hook 或反射 API 内部方法、参数的检查功能
- 修复 `YukiHookDataChannel` 自动分段发送数据功能不能正常生效 (依然会抛出异常) 的问题
- 新增可以手动根据目标设备的限制修改 `YukiHookDataChannel` 允许一次发送的最大数据字节大小
- 移除 `YukiHookDataChannel` 只能在模块 `Activity` 中使用的限制,现在你可以在任何地方使用它
- 修改并规范 `YukiHookDataChannel` 使用的广播 Action 名称
- 修复 `YukiHookDataChannel` 在不同模块同一宿主的情况下出现 `BadParcelableException` 异常的问题
- 新增 `ExecutorType`,可以通过 `YukiHookAPI.Status.Executor.type` 来获取已知 Hook Framework 的类型
- ~~`YukiHookModulePrefs`~~ 更名为 `YukiHookPrefsBridge`
- 修改 `YukiHookPrefsBridge` 为非单例实现,作为单例可能发生数据混淆的问题
- 作废了 ~~`Context.modulePrefs(...)`~~ 方法,请转移到 `Context.prefs(...)`
- `YukiHookPrefsBridge` 新增 `native` 方法,支持直接作为原生存储在模块和宿主中存储私有数据
- 整合 `YukiHookPrefsBridge` 中的存储方法到 `YukiHookPrefsBridge.Editor`,请使用 `edit` 方法来存储数据
- `YukiHookPrefsBridge` 新增 `contains` 方法
- 缓存 `YukiHookPrefsBridge` 中动态创建的代理对象,尝试修复可能会导致宿主、模块出现 OOM 的问题
- 修改 `Activity` 代理功能的代理类为动态生成,防止不同模块注入宿主后造成冲突
- 修复一些其它可能出现的问题

### 1.1.8 | 2023.02.01 &ensp;<Badge type="warning" text="过旧" vertical="middle" />

- 修复底层 Hook 方法在回调时修改 `result` 等参数时时不能同步更新修改后的状态问题,感谢 [Yongzheng Lai](https://github.com/elvizlai)[Issue](https://github.com/fankes/YukiHookAPI/issues/23)
- 移动 `YukiHookAPI` 自动生成的入口类名称文件 `assets/yukihookapi_init``resources/META-INF/yukihookapi_init`
Expand Down

0 comments on commit 6b4804c

Please sign in to comment.