Bump version to 1.3.0

This commit is contained in:
2025-06-25 20:11:00 +08:00
parent db5516ad6d
commit 2c1d99e0ea
3 changed files with 38 additions and 20 deletions

View File

@@ -16,7 +16,16 @@ Time zone of version release date: **UTC+8**
:::
### 1.2.1 | 2024.06.20 &ensp;<Badge type="tip" text="latest" vertical="middle" />
### 1.3.0 | 2024.06.25 &ensp;<Badge type="tip" text="latest" vertical="middle" />
- 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)
- The reflection API of `YukiHookAPI` is deprecated, please move to the brand new [KavaRef](https://github.com/HighCapable/KavaRef)
- The limitation of duplicate Hooks has been deprecated, now you can repeat the same method of the Hook
- Deprecated ~~`ModuleAppActivity`~~, ~~`ModuleAppCompatActivity`~~, please use `ModuleActivity` to create your own proxy `Activity`
- `YLog` is now allowed to pass `msg` into any object and will be automatically converted to a string for printing
- `FreeReflection` has been deprecated and has now switched to [AndroidHiddenApiBypass](https://github.com/LSPosed/AndroidHiddenApiBypass)
### 1.2.1 | 2024.06.20 &ensp;<Badge type="warning" text="stale" vertical="middle" />
- Catch exceptions in singleton Hooker to prevent it from blocking the entire process
- 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**
- `constructor()` no longer behaves like `constructor { emptyParam() }`
- Added `lazyClass` and `lazyClassOrNull` methods to lazily load `Class`
### 1.1.11 | 2023.04.25 &ensp;<Badge type="warning" text="stale" vertical="middle" />
### 1.1.11 | 2023.04.25 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
- 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)
- 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**
- Deprecated ~~`YukiHookAPI.Configs.isEnablePrefsBridgeCache`~~
- Deprecated ~~`direct`~~, ~~`clearCache`~~ functions in `YukiHookPrefsBridge`
### 1.1.10 | 2023.04.21 &ensp;<Badge type="warning" text="stale" vertical="middle" />
### 1.1.10 | 2023.04.21 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
- The `Activity` proxy function adds the function of specifying a separate proxy `Activity` for each proxied `Activity`
- 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**
- Modify part of `HashMap` used for caching to `ArrayMap` to reduce memory consumption
- Fix some other possible problems
### 1.1.9 | 2023.04.17 &ensp;<Badge type="warning" text="stale" vertical="middle" />
### 1.1.9 | 2023.04.17 &ensp;<Badge type="danger" text="outdate" 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
@@ -94,7 +103,7 @@ Time zone of version release date: **UTC+8**
- 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" />
### 1.1.8 | 2023.02.01 &ensp;<Badge type="danger" text="outdate" 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/HighCapable/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`
@@ -108,7 +117,7 @@ Time zone of version release date: **UTC+8**
- Fixed the problem that there may be multiple registration lifecycles in `PackageParam.AppLifecycle`
- 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)
### 1.1.6 | 2023.01.21 &ensp;<Badge type="warning" text="stale" vertical="middle" />
### 1.1.6 | 2023.01.21 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
- 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
- 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
@@ -116,7 +125,7 @@ Time zone of version release date: **UTC+8**
- Modify the method parameter name `param` of reflection calls in `MethodFinder`, `ConstructorFinder`, `ReflectionFactory` to `args`
- 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
### 1.1.5 | 2023.01.13 &ensp;<Badge type="warning" text="stale" vertical="middle" />
### 1.1.5 | 2023.01.13 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
- Standardize and optimize the overall code style
- Privatized some APIs called internally
@@ -158,7 +167,7 @@ Time zone of version release date: **UTC+8**
- Fixed the problem that the debug log data package name processed by `YukiHookLogger` may be incorrect in the (Xposed) Host environment
- 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
### 1.1.4 | 2022.10.04 &ensp;<Badge type="warning" text="stale" vertical="middle" />
### 1.1.4 | 2022.10.04 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
- Fixed the issue that `YukiHookDataChannel` may not respond to broadcast events in the system framework, reproduced in A13
- 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**
- Added `loadApp`, `loadZygote`, `loadSystem`, `withProcess` multi-parameter methods of the same name in `PackageParam`
- Fixed some possible bugs
### 1.1.3 | 2022.09.30 &ensp;<Badge type="warning" text="stale" vertical="middle" />
### 1.1.3 | 2022.09.30 &ensp;<Badge type="danger" text="outdate" vertical="middle" />
- Fixed a fatal bug where the Hook entry class name could not be customized
- Added some code notes in `LoggerFactory` and updated special features documentation