diff --git a/docs-source/src/.vuepress/configs/template.ts b/docs-source/src/.vuepress/configs/template.ts index d80220ca..a4776e0e 100644 --- a/docs-source/src/.vuepress/configs/template.ts +++ b/docs-source/src/.vuepress/configs/template.ts @@ -197,8 +197,8 @@ export const navBarItems = { { text: 'API 异常处理', link: i18n.string(navigationLinks.config[1], 'zh-cn') }, { text: '作为 Xposed 模块使用的相关配置', link: i18n.string(navigationLinks.config[2], 'zh-cn') }, { text: '作为 Hook API 使用的相关配置', link: i18n.string(navigationLinks.config[3], 'zh-cn') }, - { text: '迁移到 YukiHookAPI 1.2.x', link: i18n.string(navigationLinks.config[4], 'zh-cn') }, - { text: '迁移到 YukiHookAPI 1.3.x', link: i18n.string(navigationLinks.config[5], 'zh-cn') }, + { text: '迁移至 YukiHookAPI 1.2.x', link: i18n.string(navigationLinks.config[4], 'zh-cn') }, + { text: '迁移至 YukiHookAPI 1.3.x', link: i18n.string(navigationLinks.config[5], 'zh-cn') }, { text: 'R8 与 Proguard 混淆', link: i18n.string(navigationLinks.config[6], 'zh-cn') } ] }, { diff --git a/docs-source/src/en/api/special-features/reflection.md b/docs-source/src/en/api/special-features/reflection.md index 5239ba89..ff6c144e 100644 --- a/docs-source/src/en/api/special-features/reflection.md +++ b/docs-source/src/en/api/special-features/reflection.md @@ -215,7 +215,7 @@ Please note that the more the same type **Class** is matched, the slower the spe ::: danger -After **YukiHookAPI** **2.0.0** released, this function will be deprecated and will no longer be migrated to [YukiReflection](https://github.com/HighCapable/YukiReflection). +~~After **YukiHookAPI** **2.0.0** released, this function will be deprecated and will no longer be migrated to [YukiReflection](https://github.com/HighCapable/YukiReflection).~~ 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. diff --git a/docs-source/src/zh-cn/api/special-features/reflection.md b/docs-source/src/zh-cn/api/special-features/reflection.md index 0a8ad3b7..f26e4487 100644 --- a/docs-source/src/zh-cn/api/special-features/reflection.md +++ b/docs-source/src/zh-cn/api/special-features/reflection.md @@ -196,7 +196,7 @@ var isExist = "com.demo.Test".hasClass(customClassLoader) ::: danger -在 **YukiHookAPI** 发布 **2.0.0** 版本后,此功能将被标记为作废,且不再会迁移到 [YukiReflection](https://github.com/HighCapable/YukiReflection)。 +~~在 **YukiHookAPI** 发布 **2.0.0** 版本后,此功能将被标记为作废,且不再会迁移到 [YukiReflection](https://github.com/HighCapable/YukiReflection)。~~ 我们欢迎各位开发者开始使用 [DexKit](https://github.com/LuckyPray/DexKit),它是一个使用 C++ 实现的 **Dex** 高性能运行时解析库,在性能方面比 Java 层更加高效与优秀,目前尚在开发阶段,欢迎提出宝贵建议。 diff --git a/docs-source/src/zh-cn/config/move-to-api-1-2-x.md b/docs-source/src/zh-cn/config/move-to-api-1-2-x.md index ddeea107..319272d2 100644 --- a/docs-source/src/zh-cn/config/move-to-api-1-2-x.md +++ b/docs-source/src/zh-cn/config/move-to-api-1-2-x.md @@ -1,12 +1,12 @@ -# 迁移到 YukiHookAPI 1.2.x +# 迁移至 YukiHookAPI 1.2.x `YukiHookAPI` 从 `1.2.0` 版本开始进行了大量调整,你可以继续向下阅读以查看有哪些注意事项和新功能。 ::: warning -如果你正在使用 `1.2.x` 之前版本的 `YukiHookAPI`,建议先参考此文档迁移到 `1.2.x` 版本。 +如果你正在使用 `1.2.x` 之前版本的 `YukiHookAPI`,建议先参考此文档迁移至 `1.2.x` 版本。 -如果你正在使用 `1.2.x` 版本的 `YukiHookAPI`,请直接阅读 [迁移到 YukiHookAPI 1.3.x](move-to-api-1-3-x) 而不是此文档。 +如果你正在使用 `1.2.x` 版本的 `YukiHookAPI`,请直接阅读 [迁移至 YukiHookAPI 1.3.x](move-to-api-1-3-x) 而不是此文档。 ::: @@ -66,7 +66,7 @@ findClass("com.example.Test").hook { } ``` -新版 API 的 Hook 对象从 `Class` 迁移到了 `Member`,这种方式将更加直观。 +新版 API 的 Hook 对象从 `Class` 迁移至了 `Member`,这种方式将更加直观。 ## 差异性功能 diff --git a/docs-source/src/zh-cn/config/move-to-api-1-3-x.md b/docs-source/src/zh-cn/config/move-to-api-1-3-x.md index e7f8e41c..d0064b07 100644 --- a/docs-source/src/zh-cn/config/move-to-api-1-3-x.md +++ b/docs-source/src/zh-cn/config/move-to-api-1-3-x.md @@ -1,27 +1,27 @@ -# 迁移到 YukiHookAPI 1.3.x +# 迁移至 YukiHookAPI 1.3.x `YukiHookAPI` 从 `1.3.0` 版本开始弃用了自身的反射 API,你可以继续向下阅读以查看有哪些注意事项和新功能。 ::: warning -如果你正在使用 `1.2.x` 及之前版本的 `YukiHookAPI`,建议先阅读 [迁移到 YukiHookAPI 1.2.x](move-to-api-1-2-x) 而不是此文档。 +如果你正在使用 `1.2.x` 及之前版本的 `YukiHookAPI`,建议先阅读 [迁移至 YukiHookAPI 1.2.x](move-to-api-1-2-x) 而不是此文档。 ::: ## 自身反射 API 弃用 -`YukiHookAPI` 从 `1.3.0` 版本开始弃用了自身的反射 API,现在我们推荐所有开发者迁移到全新开发的 +`YukiHookAPI` 从 `1.3.0` 版本开始弃用了自身的反射 API,现在我们推荐所有开发者迁移至全新开发的 [KavaRef](https://github.com/HighCapable/KavaRef),我们不再推荐使用 `YukiHookAPI` 自身的反射 API,这些 API 已被标记为弃用。 请参考 [这里](https://highcapable.github.io/KavaRef/zh-cn/config/migration) 的迁移文档,这将跳转到 `KavaRef` 的文档。 -`YukiHookAPI` 目前已经实现了反射 API 的完全解耦合,其内部 API 使用的反射 API 同样迁移到了 `KavaRef`,且已经稳定测试通过。 +`YukiHookAPI` 目前已经实现了反射 API 的完全解耦合,其内部 API 使用的反射 API 同样迁移至了 `KavaRef`,且已经稳定测试通过。 -在后期的 `2.0.0` 版本中,自身反射 API 将被完全移除,在此期间,你将有足够的时间来学习和迁移到这套全新的反射 API。 +在后期的 `2.0.0` 版本中,自身反射 API 将被完全移除,在此期间,你将有足够的时间来学习和迁移至这套全新的反射 API。 ## FreeReflection 弃用 -`YukiHookAPI` 从 `1.3.0` 版本开始弃用了 [FreeReflection](https://github.com/tiann/FreeReflection) 并迁移到由 LSPosed 团队维护的 +`YukiHookAPI` 从 `1.3.0` 版本开始弃用了 [FreeReflection](https://github.com/tiann/FreeReflection) 并迁移至由 LSPosed 团队维护的 [AndroidHiddenApiBypass](https://github.com/LSPosed/AndroidHiddenApiBypass)。 在反射系统隐藏 API 时,你不可以像之前那样直接进行反射,而是需要进行一些操作。 @@ -43,7 +43,7 @@ ::: warning -`AndroidHiddenApiBypassResolver` 是暂定的功能,可能会在 `2.0.0` 版本迁移到单独的模块中,你也可以参考 +`AndroidHiddenApiBypassResolver` 是暂定的功能,可能会在 `2.0.0` 版本迁移至单独的模块中,你也可以参考 [第三方 Member 解析器](https://highcapable.github.io/KavaRef/zh-cn/config/processor-resolvers) 自己实现一份,这将跳转到 `KavaRef` 的文档。 ::: diff --git a/docs-source/src/zh-cn/guide/move-to-new-api.md b/docs-source/src/zh-cn/guide/move-to-new-api.md index f6491aea..458d4923 100644 --- a/docs-source/src/zh-cn/guide/move-to-new-api.md +++ b/docs-source/src/zh-cn/guide/move-to-new-api.md @@ -1,10 +1,10 @@ # 从其它 Hook API 迁移 -此文档可以帮助你快速从你熟悉的 Hook API 迁移到 `YukiHookAPI` 来熟悉对 `YukiHookAPI` 的相关写法。 +此文档可以帮助你快速从你熟悉的 Hook API 迁移至 `YukiHookAPI` 来熟悉对 `YukiHookAPI` 的相关写法。 ## Rovo89 Xposed API -> 若你熟悉 [Rovo89 Xposed API](https://api.xposed.info/),你可以参考下方的相同点将自己的 API 快速迁移到 `YukiHookAPI`。 +> 若你熟悉 [Rovo89 Xposed API](https://api.xposed.info/),你可以参考下方的相同点将自己的 API 快速迁移至 `YukiHookAPI`。 ### 迁移 Hook 入口点