Skip to content

Commit 8f523d4

Browse files
committed
style: use "2.0.0" instead "2.x.x"
1 parent 6d82c28 commit 8f523d4

File tree

11 files changed

+58
-58
lines changed

11 files changed

+58
-58
lines changed

docs-source/src/en/api/public/com/highcapable/yukihookapi/hook/param/PackageParam.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ inline fun BaseFinder.BaseResult.hook(priority: YukiHookPriority, initiate: Yuki
957957
958958
::: warning
959959

960-
此功能尚在实验阶段,在 1.x.x 版本将暂定于此,在 2.x.x 版本将完全合并到新 API。
960+
此功能尚在实验阶段,在 **1.x.x** 版本将暂定于此,在 **2.0.0** 版本将完全合并到新 API。
961961

962962
:::
963963

@@ -997,7 +997,7 @@ inline fun BaseFinder.BaseResult.hookAll(priority: YukiHookPriority, initiate: Y
997997
998998
::: warning
999999

1000-
此功能尚在实验阶段,在 1.x.x 版本将暂定于此,在 2.x.x 版本将完全合并到新 API。
1000+
此功能尚在实验阶段,在 **1.x.x** 版本将暂定于此,在 **2.0.0** 版本将完全合并到新 API。
10011001

10021002
:::
10031003

docs-source/src/en/api/special-features/reflection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Please note that the more the same type **Class** is matched, the slower the spe
201201

202202
::: danger
203203

204-
After **YukiHookAPI** 2.x.x released, this function will be deprecated and will no longer be migrated to [YukiReflection](https://github.com/fankes/YukiReflection).
204+
After **YukiHookAPI** **2.0.0** released, this function will be deprecated and will no longer be migrated to [YukiReflection](https://github.com/fankes/YukiReflection).
205205

206206
We welcome all developers to start using [DexKit](https://github.com/LuckyPray/DexKit), which is a high-performance runtime parsing library for **Dex** implemented in C++, which is more efficient than the Java layer in terms of performance, efficient and excellent, it is still in the development stage, your valuable suggestions are welcome.
207207

docs-source/src/en/guide/example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ TargetClass.hook {
5858
}
5959
}
6060
}
61-
// Resources Hook (2.x.x will be discontinued)
61+
// Resources Hook (2.0.0 will be discontinued)
6262
resources().hook {
6363
injectResource {
6464
conditions {
@@ -265,7 +265,7 @@ loadSystem {
265265

266266
::: warning
267267

268-
This feature will be discontinued and removed in version 2.x.x.
268+
This feature will be discontinued and removed in version **2.0.0**.
269269

270270
:::
271271

docs-source/src/en/guide/supportive.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ The following are the related functions, Xposed Frameworks, Hook Frameworks and
44

55
> Basic Functions
66
7-
| Name | ST | Description |
8-
| -------------------------- | --- | ---------------------------------------------------------------------------------------------------------------- |
9-
| Xposed Module Auto Builder || Will use [New Xposed Module Config Plan](https://github.com/fankes/YukiHookAPI/issues/49) on `YukiHookAPI` 2.x.x |
10-
| ART Dynamic Method Hook || Stable use in multiple scenarios |
11-
| Xposed Resources Hook || Supported, but will be deprecated on `YukiHookAPI` 2.x.x |
7+
| Name | ST | Description |
8+
| -------------------------- | --- | ------------------------------------------------------------------------------------------------------------------ |
9+
| Xposed Module Auto Builder || Will use [New Xposed Module Config Plan](https://github.com/fankes/YukiHookAPI/issues/49) on `YukiHookAPI` `2.0.0` |
10+
| ART Dynamic Method Hook || Stable use in multiple scenarios |
11+
| Xposed Resources Hook || Supported, but will be deprecated on `YukiHookAPI` `2.0.0` |
1212

1313
> Extended Functions
1414
15-
| Name | ST | Description |
16-
| -------------------------------------------------------------------------------------------------- | --- | ---------------------------------------------------------------------------------------------------- |
17-
| [Reflection Extensions](../api/special-features/reflection) || Will be merge into [YukiReflection](https://github.com/fankes/YukiReflection) on `YukiHookAPI` 2.x.x |
18-
| [Xposed Module Data Storage](../api/special-features/xposed-storage) || Normal use |
19-
| [Xposed Module and Host Channel](../api/special-features/xposed-channel) || Normal use |
20-
| [Host Lifecycle Extension](../api/special-features/host-lifecycle) || Normal use |
21-
| [Inject Module Apps Resources](../api/special-features/host-inject#inject-module-apps-resources) || Normal use |
22-
| [Register Module Apps Activity](../api/special-features/host-inject#register-module-apps-activity) || Normal use |
15+
| Name | ST | Description |
16+
| -------------------------------------------------------------------------------------------------- | --- | ------------------------------------------------------------------------------------------------------ |
17+
| [Reflection Extensions](../api/special-features/reflection) || Will be merge into [YukiReflection](https://github.com/fankes/YukiReflection) on `YukiHookAPI` `2.0.0` |
18+
| [Xposed Module Data Storage](../api/special-features/xposed-storage) || Normal use |
19+
| [Xposed Module and Host Channel](../api/special-features/xposed-channel) || Normal use |
20+
| [Host Lifecycle Extension](../api/special-features/host-lifecycle) || Normal use |
21+
| [Inject Module Apps Resources](../api/special-features/host-inject#inject-module-apps-resources) || Normal use |
22+
| [Register Module Apps Activity](../api/special-features/host-inject#register-module-apps-activity) || Normal use |
2323

2424
> Xposed Frameworks
2525
@@ -45,7 +45,7 @@ The following are the related functions, Xposed Frameworks, Hook Frameworks and
4545

4646
> Hook APIs
4747
48-
| Name | ST | Description |
49-
| ------------------------------------------------- | --- | ---------------------------------------- |
50-
| [Rovo89 Xposed API](https://api.xposed.info/) || Stable use in multiple scenarios |
51-
| [Modern Xposed API](https://github.com/libxposed) || Will be supported on `YukiHookAPI` 2.x.x |
48+
| Name | ST | Description |
49+
| ------------------------------------------------- | --- | ------------------------------------------ |
50+
| [Rovo89 Xposed API](https://api.xposed.info/) || Stable use in multiple scenarios |
51+
| [Modern Xposed API](https://github.com/libxposed) || Will be supported on `YukiHookAPI` `2.0.0` |

docs-source/src/zh-cn/api/public/com/highcapable/yukihookapi/hook/param/PackageParam.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ inline fun BaseFinder.BaseResult.hook(priority: YukiHookPriority, initiate: Yuki
945945
946946
::: warning
947947

948-
此功能尚在实验阶段,在 1.x.x 版本将暂定于此,在 2.x.x 版本将完全合并到新 API。
948+
此功能尚在实验阶段,在 **1.x.x** 版本将暂定于此,在 **2.0.0** 版本将完全合并到新 API。
949949

950950
:::
951951

@@ -985,7 +985,7 @@ inline fun BaseFinder.BaseResult.hookAll(priority: YukiHookPriority, initiate: Y
985985
986986
::: warning
987987

988-
此功能尚在实验阶段,在 1.x.x 版本将暂定于此,在 2.x.x 版本将完全合并到新 API。
988+
此功能尚在实验阶段,在 **1.x.x** 版本将暂定于此,在 **2.0.0** 版本将完全合并到新 API。
989989

990990
:::
991991

docs-source/src/zh-cn/api/special-features/reflection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ var isExist = "com.demo.Test".hasClass(customClassLoader)
183183

184184
::: danger
185185

186-
**YukiHookAPI** 发布 2.x.x 版本后,此功能将被标记为作废,且不再会迁移到 [YukiReflection](https://github.com/fankes/YukiReflection)
186+
**YukiHookAPI** 发布 **2.0.0** 版本后,此功能将被标记为作废,且不再会迁移到 [YukiReflection](https://github.com/fankes/YukiReflection)
187187

188188
我们欢迎各位开发者开始使用 [DexKit](https://github.com/LuckyPray/DexKit),它是一个使用 C++ 实现的 **Dex** 高性能运行时解析库,在性能方面比 Java 层更加高效与优秀,目前尚在开发阶段,欢迎提出宝贵建议。
189189

docs-source/src/zh-cn/guide/example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ TargetClass.hook {
5858
}
5959
}
6060
}
61-
// Resources Hook (2.x.x 将停止支持)
61+
// Resources Hook (2.0.0 将停止支持)
6262
resources().hook {
6363
injectResource {
6464
conditions {
@@ -265,7 +265,7 @@ loadSystem {
265265

266266
::: warning
267267

268-
此功能将在 2.x.x 版本停止支持并移除。
268+
此功能将在 **2.0.0** 版本停止支持并移除。
269269

270270
:::
271271

docs-source/src/zh-cn/guide/supportive.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44

55
> 基本功能
66
7-
| Name | ST | Description |
8-
| -------------------------------- | --- | ------------------------------------------------------------------------------------------------------------- |
9-
| 自动化 Xposed 模块构建 || 计划 `YukiHookAPI` 2.x.x 版本使用 [新的 Xposed 模块配置方案](https://github.com/fankes/YukiHookAPI/issues/49) |
10-
| ART 动态方法 Hook || 多场景下稳定使用 |
11-
| Xposed 资源钩子 (Resources Hook) || 支持,但计划 `YukiHookAPI` 2.x.x 版本作废 |
7+
| Name | ST | Description |
8+
| -------------------------------- | --- | --------------------------------------------------------------------------------------------------------------- |
9+
| 自动化 Xposed 模块构建 || 计划 `YukiHookAPI` `2.0.0` 版本使用 [新的 Xposed 模块配置方案](https://github.com/fankes/YukiHookAPI/issues/49) |
10+
| ART 动态方法 Hook || 多场景下稳定使用 |
11+
| Xposed 资源钩子 (Resources Hook) || 支持,但计划 `YukiHookAPI` `2.0.0` 版本作废 |
1212

1313
> 扩展功能
1414
15-
| Name | ST | Description |
16-
| -------------------------------------------------------------------------------------- | --- | ---------------------------------------------------------------------------------------------- |
17-
| [字节码与反射扩展](../api/special-features/reflection) || 计划 `YukiHookAPI` 2.x.x 版本合并到 [YukiReflection](https://github.com/fankes/YukiReflection) |
18-
| [Xposed 模块数据存储](../api/special-features/xposed-storage) || 正常使用 |
19-
| [Xposed 模块与宿主通讯桥](../api/special-features/xposed-channel) || 正常使用 |
20-
| [宿主生命周期扩展](../api/special-features/host-lifecycle) || 正常使用 |
21-
| [注入模块资源 (Resources)](../api/special-features/host-inject#注入模块资源-resources) || 正常使用 |
22-
| [注册模块 Activity](../api/special-features/host-inject#注册模块-activity) || 正常使用 |
15+
| Name | ST | Description |
16+
| -------------------------------------------------------------------------------------- | --- | ------------------------------------------------------------------------------------------------ |
17+
| [字节码与反射扩展](../api/special-features/reflection) || 计划 `YukiHookAPI` `2.0.0` 版本合并到 [YukiReflection](https://github.com/fankes/YukiReflection) |
18+
| [Xposed 模块数据存储](../api/special-features/xposed-storage) || 正常使用 |
19+
| [Xposed 模块与宿主通讯桥](../api/special-features/xposed-channel) || 正常使用 |
20+
| [宿主生命周期扩展](../api/special-features/host-lifecycle) || 正常使用 |
21+
| [注入模块资源 (Resources)](../api/special-features/host-inject#注入模块资源-resources) || 正常使用 |
22+
| [注册模块 Activity](../api/special-features/host-inject#注册模块-activity) || 正常使用 |
2323

2424
> Xposed 框架
2525
@@ -45,7 +45,7 @@
4545

4646
> Hook APIs
4747
48-
| Name | ST | Description |
49-
| ------------------------------------------------- | --- | --------------------------------- |
50-
| [Rovo89 Xposed API](https://api.xposed.info/) || 多场景下稳定使用 |
51-
| [Modern Xposed API](https://github.com/libxposed) || 计划 `YukiHookAPI` 2.x.x 版本支持 |
48+
| Name | ST | Description |
49+
| ------------------------------------------------- | --- | ----------------------------------- |
50+
| [Rovo89 Xposed API](https://api.xposed.info/) || 多场景下稳定使用 |
51+
| [Modern Xposed API](https://github.com/libxposed) || 计划 `YukiHookAPI` `2.0.0` 版本支持 |

yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/core/annotation/LegacyHookApi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828
package com.highcapable.yukihookapi.hook.core.annotation
2929

30-
@RequiresOptIn(message = "这种方式将不再被推荐且将在 2.x.x 版本完全移除,建议迁移到使用 Member 创建 Hook 的新写法", level = RequiresOptIn.Level.WARNING)
30+
@RequiresOptIn(message = "这种方式将不再被推荐且将在 2.0.0 版本完全移除,建议迁移到使用 Member 创建 Hook 的新写法", level = RequiresOptIn.Level.WARNING)
3131
@MustBeDocumented
3232
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
3333
@Retention(AnnotationRetention.BINARY)

yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/core/annotation/LegacyResourcesHook.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828
package com.highcapable.yukihookapi.hook.core.annotation
2929

30-
@RequiresOptIn(message = "Resources Hook 功能将在 2.x.x 版本完全移除 (如果必须使用,你可以继续使用 1.x.x 版本)", level = RequiresOptIn.Level.WARNING)
30+
@RequiresOptIn(message = "Resources Hook 功能将在 2.0.0 版本完全移除 (如果必须使用,你可以继续使用 1.x.x 版本)", level = RequiresOptIn.Level.WARNING)
3131
@MustBeDocumented
3232
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
3333
@Retention(AnnotationRetention.BINARY)

0 commit comments

Comments
 (0)