github HighCapable/YukiHookAPI 1.1.8

latest releases: 1.2.1, 1.2.0, 1.1.11...
21 months ago

YukiHookAPI 1.1.8 Released

  • Fixed the problem that the underlying Hook method cannot update the modified state synchronously when modifying parameters such as result during callback, thanks to #23
  • Move the entry class name file automatically generated by YukiHookAPI from assets/yukihookapi_init to resources/META-INF/yukihookapi_init
  • When only printing the exception stack, the msg parameter is allowed to be empty and the msg parameter can not be set, and the log with the msg parameter left blank will not be logged unless the exception stack is not empty
  • Fixed the bug that the log printed by the exception that occurs in the body of the Hook callback method has no specific method information
  • HookParam adds instanceOrNull variable and method, which can be used on the premise that the Hook instance is not sure whether it is empty to prevent the Hook instance from being empty and throw an exception
  • Decoupled all hookers in Member lookup functionality to MemberBaseFinder.MemberHookerManager
  • Modified the usage of by condition in YukiMemberHookCreator, now you can reuse by method to set multiple conditions
  • Removed wrong Class object declaration in Android type
  • The registerReceiver method in PackageParam.AppLifecycle adds the function of directly using IntentFilter to create a system broadcast listener
  • 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)

For more details, please check the changelog.


YukiHookAPI 1.1.8 已发布

  • 修复底层 Hook 方法在回调时修改 result 等参数时时不能同步更新修改后的状态问题,感谢 #23
  • 移动 YukiHookAPI 自动生成的入口类名称文件 assets/yukihookapi_initresources/META-INF/yukihookapi_init
  • 允许在仅打印异常堆栈时 msg 参数为空并可以不设置 msg 参数,留空 msg 参数的日志除非异常堆栈不为空否则将不会被记录
  • 修复 Hook 回调方法体内发生的异常打印的日志无具体方法信息的 BUG
  • HookParam 新增 instanceOrNull 变量与方法,可以在不确定 Hook 实例是否为空的前提下使用以防止 Hook 实例为空抛出异常
  • 解耦合所有 Member 查找功能中的 Hooker 到 MemberBaseFinder.MemberHookerManager
  • 修改了 YukiMemberHookCreator 中的 by 条件用法,现在可以重复使用 by 方法设置多个条件
  • 移除了 Android type 中的错误 Class 对象声明
  • PackageParam.AppLifecycle 中的 registerReceiver 方法新增直接使用 IntentFilter 创建系统广播监听的功能
  • 修复在 PackageParam.AppLifecycle 中可能存在多次注册生命周期的问题
  • Revert: 1.1.7 版本由于有一个严重问题已经撤回,请直接更新到此版本即可 (更新日志同 1.1.7 版本)

详情请查看更新日志

Don't miss a new YukiHookAPI release

NewReleases is sending notifications on new releases.