import{_ as s,r as c,o as a,c as l,b as e,d as t,a as n,e as o}from"./app.78a03919.js";const r={},h=n('
Changelog
The version update history of YukiHookAPI
is recorded here.
Pay Attention
We will only maintain the latest API version, if you are using an outdate API version, you voluntarily renounce any possibility of maintenance.
Notice
To avoid translation time consumption, Changelog will use Google Translation from Chinese to English, please refer to the original text for actual reference.
Time zone of version release date: UTC+8
',4),u={id:"_1-1-2-2022-09-30",tabindex:"-1"},_=e("a",{class:"header-anchor",href:"#_1-1-2-2022-09-30","aria-hidden":"true"},"#",-1),m=o(" 1.1.2 | 2022.09.30 \u2002"),p=n('- Documentation Basic Knowledge page add a friend link to the English version
- Fixed
YukiBaseHooker
comments in English code note link errors - Fixed
ClassCastException
in ModuleClassLoader
- Fixed and standardize some code notes
- Added
ModuleClassLoader
exclusion list function, you can use excludeHostClasses
and excludeModuleClasses
methods to customize the exclusion list - Added
YukiLoggerData
real-time log data class, you can get the log array in real time through YukiHookLogger.inMemoryData
- Added
ClassLoader.listOfClasses
method, which can directly get all Class
in the current Dex
',1),f={id:"_1-1-1-2022-09-28",tabindex:"-1"},g=e("a",{class:"header-anchor",href:"#_1-1-1-2022-09-28","aria-hidden":"true"},"#",-1),k=o(" 1.1.1 | 2022.09.28 \u2002"),b=e("ul",null,[e("li",null,[o("Fixed the problem of wrong document friend links in "),e("a",{href:"../guide/knowledge"},"Basic Knowledge"),o(" page")]),e("li",null,[o("Fixed document "),e("code",null,"favicon"),o(" not showing up")]),e("li",null,[o("Fixed bug in "),e("code",null,"DexClassFinder"),o(" search conditions")])],-1),y={id:"_1-1-0-2022-09-28",tabindex:"-1"},x=e("a",{class:"header-anchor",href:"#_1-1-0-2022-09-28","aria-hidden":"true"},"#",-1),v=o(" 1.1.0 | 2022.09.28 \u2002"),w=e("li",null,[o("This is a major version update, please refer to "),e("a",{href:"../api/home"},"API Document"),o(" and "),e("a",{href:"../api/special-features/reflection"},"Special Features"),o(" for the changes and usage mentioned in the changelog")],-1),A=o("Change the help documentation framework to "),H={href:"https://v2.vuepress.vuejs.org",target:"_blank",rel:"noopener noreferrer"},P=o("VuePress"),F=n('Unify and standardize the terms and nouns in the document, for example, "query" is always changed to "find", XposedHelper
is misspelled and changed to XposedHelpers
Documentation Basic Knowledge page to add friend links, Simplified Chinese onlyConvert Class
and Method
of Hook App Demo to Java to provide better demo effectFixed code comment naming in Hook Module DemoRefactored a lot of low-level Hook logic and the docking method of Xposed APIRemoved HookParamWrapper
, it now interfaces directly with YukiBridgeFactory
Moved methods in section YukiHookBridge
to AppParasitics
Removed HookParam.args
and the underlying direct connection method setArgs
, directly get and set the object of the current arrayOptimized automatic handler to merge referenced jar
into stub
project',9),C=o("Fixed the problem that the module package name cannot be correctly matched when multi-project packaging, and modify the module package name matching logic of the automatic handler, thanks to "),M={href:"https://github.com/5ec1cff",target:"_blank",rel:"noopener noreferrer"},I=o("5ec1cff"),R=o(" for the feedback and solutions provided"),Y=n("Internal closure processing for the methods of API private tool classes to avoid polluting the top-level namespaceFixed Creater
naming to Creator
for all reflection and Hook classesAdded YukiHookAPI.Status.compiledTimestamp
function, which can get the compilation completion timestamp when used as an Xposed moduleAdded YukiHookAPI.Status.isXposedEnvironment
function, which can determine whether the current (Xposed) host environment or module environment isThe debug logging function has been overhauled, and functions such as YukiHookAPI.Configs.debugTag
have been merged into YukiHookLogger.Configs
The debug log can be added to specify the printing method as XposedBridge.log
or Logd
The package name of the current host and the current user ID are added to the debug log by default for debugging, you can change it yourself in the debugLog
configurationAdded generic
function to reflect and call generics, you can use it in Class
or CurrentClass
obsolete the buildOfAny
method, now use the buildOf
method directly (without generics) to use the constructor to create a new object and get the result Any
Fixed the issue of null pointer exception when using hasExtends
CurrentClass
added non-lambda
method of callingCurrentClass
adds name
and simpleName
functionsCompletely rewrite the core method of ReflectionTool
, sorting and classifying different search conditionsFixed the problem that Member
obtained by directly calling declared
in ReflectionTool
throws an exceptionFixed UndefinedType
in ReflectionTool
is not correctly judged in Method
and Constructor
conditionsAdded a friendly prompt method when the reflection search result is abnormal, which can specifically locate the problem that Member
cannot be found under specified conditionsAdded VagueType
condition in Method
and Constructor
for reflection search, which can be used in param
condition to ignore parameters you don't want to fill inAdded paramCount { ... }
condition in Method
and Constructor
of reflection search, now you can directly get it
in it to customize your judgment conditionThe current
method is added to the FieldFinder
result, which can directly create a call space for the result instanceModified the modifiers
condition and name
condition in the reflection lookup function, now you need to return a Boolean
at the end of the method body to make the condition true",20),S=e("code",null,"as*",-1),X=o(" function in "),z=e("code",null,"ModifierRules",-1),T=o(" renamed to "),L=e("code",null,"is*",-1),D=o(", thanks to "),W={href:"https://github.com/KyuubiRan",target:"_blank",rel:"noopener noreferrer"},j=o("Kitsune"),B=o(" suggestion"),O=n("Added RemedyPlan
feature in FieldFinder
Added Class
fuzzy search function (Beta) in Dex
, you can now directly use searchClass
function to fuzzy search Class
with specified conditions",2),N=o("Added multiple search function in reflection search, you can use relative search conditions to obtain multiple search results at the same time, thanks to "),E=e("strong",null,"AA",-1),U=o(" and "),q={href:"https://github.com/KyuubiRan",target:"_blank",rel:"noopener noreferrer"},K=o("Kitsune"),V=o(" for suggestions"),Z=o("Fixed the problem that the object obtained by "),G=e("code",null,"appClassLoader",-1),J=o(" is incorrect in system applications in some systems, thanks to "),Q={href:"https://github.com/luckyzyx",target:"_blank",rel:"noopener noreferrer"},$=o("Luckyzyx"),ee=o(" for the feedback"),oe=e("li",null,[o("Modified the calling method of "),e("code",null,"XposedBridge.invokeOriginalMethod"),o(" and added "),e("code",null,"original"),o(" function in "),e("code",null,"MethodFinder.Result.Instance")],-1),te=o("Fixed the problem of wrong value of "),de=e("code",null,"getStringSet",-1),ie=o(" method in "),ne=e("code",null,"YukiHookModulePrefs",-1),ce=o(" and optimize the code style, thanks to "),se={href:"https://github.com/Teddy-Zhu",target:"_blank",rel:"noopener noreferrer"},ae=o("Teddy_Zhu"),le=o(),re={href:"https://github.com/fankes/YukiHookAPI/pull/19",target:"_blank",rel:"noopener noreferrer"},he=o("PR"),ue=e("li",null,[o("Modify "),e("code",null,"YukiHookModulePrefs"),o(" to intercept exceptions that may not exist in "),e("code",null,"XSharePreference")],-1),_e=e("li",null,[o("Fixed the problem that "),e("code",null,"YukiHookDataChannel"),o(" could not be successfully registered in some third-party ROM system frameworks")],-1),me=e("li",null,[o("Secured "),e("code",null,"YukiHookDataChannel"),o(", now it can only communicate between modules from the specified package name and the host")],-1),pe=o("Added automatic hook "),fe=e("code",null,"SharedPreferences",-1),ge=o(" to fix the problem that file permissions are not "),ke=e("code",null,"0664",-1),be=o(" in some systems, thanks to "),ye={href:"https://github.com/5ec1cff",target:"_blank",rel:"noopener noreferrer"},xe=o("5ec1cff"),ve=o(" for the feedback and implementation code provided"),we=n("Added YukiHookAPI.Configs.isEnableHookSharedPreferences
function, which is disabled by default and can be enabled if the permission of SharedPreferences
is incorrectFixed the bug that the no-parameter construction method cannot be found when searching for Constructor
without filling in the search conditions, thanks B5 KAKA for the feedbackDetach Result
instances located in method
, constructor
in injectMember
to Process
Added the useDangerousOperation
method in the Hook process, which will automatically stop the Hook and print an error after the function in the Hook Dangerous List is not declaredAdded module resource injection and Activity
proxy functions, you can call injectModuleAppResources
and registerModuleAppActivities
to useAdded ModuleContextThemeWrapper
function, you can call applyModuleTheme
to create the Context
of a module in any Activity
Added ClassLoader.onLoadClass
function, which can be used to listen for events when the loadClass
method of ClassLoader
is calledobsolete classOf
and clazz
extension methods, add toClass
and toClassOrNull
usage, please move to the new method nowVariousClass
adds a getOrNull
method, which can return null
instead of throwing an exception when it can't match Class
Removed isUseAppClassLoader
parameter in PackageParam.hook
, changed it to isForceUseAbsolute
and automatically matched the target Class
PackageParam
adds systemContext
function, you can call this function at any time to get a persistent Context
no longer expose any methods in HookClass
Added throwToApp
function in HookParam
, which can throw exceptions directly to the hostThe onFailureThrowToApp
function is added to the Hook callback, which can be directly thrown to the host when an exception occursModified the printing logic of the debug log, the time-consuming records in the reflection search function will only be printed during the Hook processAdded the function of removing Hook in the Hook process, you can use the remove
and removeSelf
methods to remove the hookFixed the issue that caused the host to throw an exception when ReplaceHook failed, and now it is modified to call the original method to ensure the normal operation of the host functionAdded the function of checking the return value of the method in the Hook process. If the return value does not match, it will automatically throw an exception or print an error according to the situation",18),Ae=o("Added "),He=e("code",null,"array",-1),Pe=o(" type to Resources Hook, thanks to "),Fe={href:"https://github.com/fankes/YukiHookAPI/pull/12",target:"_blank",rel:"noopener noreferrer"},Ce=o("PR"),Me=o(" of "),Ie={href:"https://github.com/GSWXXN",target:"_blank",rel:"noopener noreferrer"},Re=o("GSWXXN"),Ye=e("li",null,[o("Moved "),e("code",null,"me.weishu.reflection"),o(" to "),e("code",null,"thirdparty"),o(" to prevent conflicting dependencies of the same name introduced at the same time")],-1),Se=e("li",null,"Remove the exception thrown when the Hook method body is empty, and modify it to print the warning log",-1),Xe=e("li",null,[o("Modify the exception handling logic of "),e("code",null,"AppLifecycle"),o(" and throw it directly to the host when an exception occurs")],-1),ze=e("li",null,"Updated Demo API version to 33",-1),Te={id:"_1-0-92-2022-05-31",tabindex:"-1"},Le=e("a",{class:"header-anchor",href:"#_1-0-92-2022-05-31","aria-hidden":"true"},"#",-1),De=o(" 1.0.92 | 2022.05.31 \u2002"),We=n("- Fixed the naming method of callback in a large number of methods
- Changed the solution to fix the problem that
YukiHookDataChannel
cannot call back the current Activity
broadcast on devices lower than Android 12 - The
InjectYukiHookWithXposed
annotation adds the isUsingResourcesHook
function, now you can selectively disable the dependency interface that automatically generates IXposedHookInitPackageResources
",1),je={id:"_1-0-91-2022-05-29",tabindex:"-1"},Be=e("a",{class:"header-anchor",href:"#_1-0-91-2022-05-29","aria-hidden":"true"},"#",-1),Oe=o(" 1.0.91 | 2022.05.29 \u2002"),Ne=o("Fixed the "),Ee=e("code",null,"ClassLoader",-1),Ue=o(" error when the customized system of some devices is booted in the LSPosed environment, thanks to "),qe={href:"https://github.com/luckyzyx",target:"_blank",rel:"noopener noreferrer"},Ke=o("Luckyzyx"),Ve=o(" for the feedback"),Ze=n("Fixed YukiHookDataChannel
not being able to call back the current Activity
broadcast on ZUI and systems below Android 12Integrate the YukiHookModuleStatus
function into YukiHookAPI.Status
, rewrite a lot of methods, now you can judge the status information such as module activation in the module and the host in both directions",2),Ge={id:"_1-0-90-2022-05-27",tabindex:"-1"},Je=e("a",{class:"header-anchor",href:"#_1-0-90-2022-05-27","aria-hidden":"true"},"#",-1),Qe=o(" 1.0.90 | 2022.05.27 \u2002"),$e=n("- Fixed
YukiHookDataChannel
crashing when the module sets the listener callback - Fixed
YukiHookDataChannel
still calling back when not in current Activity
- Remove the default value of
YukiHookDataChannel
callback event, no callback - Removed
YukiHookModulePrefs
warning printed if XShare is unreadable - Added the
isXSharePrefsReadable
method in YukiHookModulePrefs
to determine whether the current XShare is available
",1),eo={id:"_1-0-89-2022-05-26",tabindex:"-1"},oo=e("a",{class:"header-anchor",href:"#_1-0-89-2022-05-26","aria-hidden":"true"},"#",-1),to=o(" 1.0.89 | 2022.05.26 \u2002"),io=n("- Fixed the problem that
YukiHookDataChannel
cannot be repeatedly set to monitor, and added the function of repeating response in different Activity
modules and automatically following Activity
to destroy the monitor function - Added
YukiHookDataChannel
repeated listening use case description document - Add the
onAlreadyHooked
method to determine whether the current method is repeated Hook - Modify part of the logic of repeatedly adding HashMap, remove the
putIfAbsent
method, allow to override the addition - Fixed several possible bugs
",1),no={id:"_1-0-88-2022-05-25",tabindex:"-1"},co=e("a",{class:"header-anchor",href:"#_1-0-88-2022-05-25","aria-hidden":"true"},"#",-1),so=o(" 1.0.88 | 2022.05.25 \u2002"),ao=n("- Fully decoupled from Xposed API
- Added
android
type in type
- Separate
YukiHookModuleStatus
from auto-generated code and add isEnableHookModuleStatus
switch, it is up to you to enable or not - Internal closure processing for the constructors of a large number of classes in the API
- Set
YukiHookModulePrefs
to run as a singleton to prevent repeated creation and waste of system resources - Fixed the bug that Hook cannot be nested since version
1.0.80
, and optimize the related functions of nested Hook - Modify the Hooker storage scheme from HashSet to HashMap to prevent the problem of repeatedly adding Hookers
- Modify the core implementation method of Hook, add duplicate checking to avoid repeating the Hook multiple callbacks to the
HookParam
method MethodFinder
and FieldFinder
add the function of finding fuzzy methods and variable names, you can call name { ... }
to set search conditions, and support regular expressions- Optimize and modify the way to get
appContext
to reduce the possibility of getting empty - Modify the print
TAG
of logger
in the automatically generated code to default to your custom name, which is convenient for debugging - Optimize the
Hooker
implementation of YukiHookBridge
to improve Hook performance PackageParam
adds the onAppLifecycle
method, which can natively monitor the life cycle of the host and implement the registration system broadcast function- Added
YukiHookDataChannel
function to communicate using system out-of-order broadcast while the module and the host remain alive YukiHookDataChannel
adds the checkingVersionEquals
method, which can be monitored to verify that the host has not updated the version mismatch problem after the module is updated- Added Java version example in the example code of
demo-module
for reference only
",1),lo={id:"_1-0-87-2022-05-10",tabindex:"-1"},ro=e("a",{class:"header-anchor",href:"#_1-0-87-2022-05-10","aria-hidden":"true"},"#",-1),ho=o(" 1.0.87 | 2022.05.10 \u2002"),uo=e("ul",null,[e("li",null,[o("Added "),e("code",null,"refreshModuleAppResources"),o(" function to adapt Resources refresh when the language region, font size, resolution changes, etc.")]),e("li",null,[o("Added "),e("code",null,"isEnableModuleAppResourcesCache"),o(" function, you can set whether to automatically cache the resources of the current module")])],-1),_o={id:"_1-0-86-2022-05-06",tabindex:"-1"},mo=e("a",{class:"header-anchor",href:"#_1-0-86-2022-05-06","aria-hidden":"true"},"#",-1),po=o(" 1.0.86 | 2022.05.06 \u2002"),fo=e("ul",null,[e("li",null,[o("Fixed the problem of continuous error reporting during "),e("code",null,"initZygote"),o(" when Resources Hook is not supported, reproduced in "),e("strong",null,"ZUI"),o("/"),e("strong",null,"LSPosed CI(1.8.3-6550)")]),e("li",null,"Optimize and handle exceptions for Resources Hook, only print errors and warnings if they are used and not supported")],-1),go={id:"_1-0-85-2022-05-04",tabindex:"-1"},ko=e("a",{class:"header-anchor",href:"#_1-0-85-2022-05-04","aria-hidden":"true"},"#",-1),bo=o(" 1.0.85 | 2022.05.04 \u2002"),yo=e("ul",null,[e("li",null,[o("Fixed a serious problem of not being able to hook the system framework, since "),e("code",null,"1.0.80")]),e("li",null,[o("Added in the debug log to distinguish the package name loaded by "),e("code",null,"initZygote"),o(" as "),e("code",null,"android-zygote"),o(", "),e("code",null,"packageName"),o(" keeps "),e("code",null,"android"),o(" unchanged")])],-1),xo={id:"_1-0-83-2022-05-04",tabindex:"-1"},vo=e("a",{class:"header-anchor",href:"#_1-0-83-2022-05-04","aria-hidden":"true"},"#",-1),wo=o(" 1.0.83 | 2022.05.04 \u2002"),Ao=e("ul",null,[e("li",null,[o("Fixed "),e("code",null,"YukiHookModuleStatus"),o(" reporting a lot of errors after "),e("code",null,"loadSystem")]),e("li",null,[o("Added "),e("code",null,"android"),o(" type in "),e("code",null,"type")]),e("li",null,"Updated example descriptions in help documentation")],-1),Ho={id:"_1-0-82-2022-05-04",tabindex:"-1"},Po=e("a",{class:"header-anchor",href:"#_1-0-82-2022-05-04","aria-hidden":"true"},"#",-1),Fo=o(" 1.0.82 | 2022.05.04 \u2002"),Co=e("ul",null,[e("li",null,[o("Fixed a concept confusion error, distinguishing the relationship between "),e("code",null,"initZygote"),o(" and the system framework, there are problems with the previous comments and documentation, I am very sorry")]),e("li",null,[e("code",null,"PackageParam"),o(" adds "),e("code",null,"loadSystem"),o(" method, no need to write "),e("code",null,'loadApp(name = "android")'),o(" to hook the system framework")])],-1),Mo={id:"_1-0-81-2022-05-04",tabindex:"-1"},Io=e("a",{class:"header-anchor",href:"#_1-0-81-2022-05-04","aria-hidden":"true"},"#",-1),Ro=o(" 1.0.81 | 2022.05.04 \u2002"),Yo=e("ul",null,[e("li",null,[o("Fixed the problem that the method and constructor that cannot be found in the Hook method body still output the error log after setting the condition using the "),e("code",null,"by"),o(" method")]),e("li",null,"Added a global log to display the package name of the current Hook APP during the execution of the Hook, and fixed a problem with the printing style of the error log")],-1),So={id:"_1-0-80-2022-05-01",tabindex:"-1"},Xo=e("a",{class:"header-anchor",href:"#_1-0-80-2022-05-01","aria-hidden":"true"},"#",-1),zo=o(" 1.0.80 | 2022.05.01 \u2002"),To=n("The InjectYukiHookWithXposed
annotation adds the entryClassName
function, which can customize the generated xposed_init
entry class nameYukiHookXposedInitProxy
renamed to IYukiHookXposedInit
, the original interface name has been invalidated and will be deleted directly in subsequent versionsAdded initZygote
and Resources Hook functions to support Hook LayoutAdded onXposedEvent
method to listen to all events of native Xposed APIPerform inline
processing on the lambda
of the Hook function to avoid generating excessively broken anonymous classes and improve the running performance after compilationFixed PrefsData
compiled method body copy is too largeAdded XSharePreference
readability test, which will automatically print a warning log if it failsPackageParam
adds appResources
, moduleAppResources
, moduleAppFilePath
functionsloadApp
of PackageParam
adds the function of not writing name
, and all APPs are filtered by defaultPackageParam
adds the loadZygote
method, which can directly hook the system frameworkPackageParam
added resources().hook
functionOptimization method, construction method, variable search function, the error log that cannot be found will display the set query conditions firstAdded hasExtends
extension method to determine whether the current Class
has an inheritance relationshipAdded isSupportResourcesHook
function to determine whether resource hooks are currently supported (Resources Hook)current
function adds superClass
method to call superclassNew superClass
query conditions for search methods, construction methods and variables, you can continue to search in the parent classYukiHookAPI
lots of methods are decoupled from Xposed APIAdded native Hook priority function of Xposed APIFixed the problem that isFirstApplication
may be inaccurateBlock the problem that MiuiCatcherPatch repeatedly calls the Hook entry method on the MIUI systemOptimize Hook entry calling method to avoid multiple calls due to Hook Framework issues",21),Lo=o("Fixed the problem that Hook "),Do=e("code",null,"ClassLoader",-1),Wo=o(" causes Hook to freeze, thanks to "),jo={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},Bo=o("WankkoRee"),Oo=o(" for the feedback"),No=e("li",null,[o("Improve the performance after the "),e("code",null,"XC_Callback"),o(" interface is connected")],-1),Eo=e("li",null,[o("Java "),e("code",null,"type"),o(" added "),e("code",null,"ClassLoader"),o(" type")],-1),Uo=e("li",null,"Optimize the API help documentation, fix the problem that the page may be continuously cached",-1),qo={id:"_1-0-78-2022-04-18",tabindex:"-1"},Ko=e("a",{class:"header-anchor",href:"#_1-0-78-2022-04-18","aria-hidden":"true"},"#",-1),Vo=o(" 1.0.78 | 2022.04.18 \u2002"),Zo=n("YukiHookModulePrefs
adds isRunInNewXShareMode
method, which can be used to determine whether the module is currently in New XSharePreference
modeFixed YukiHookModulePrefs
working in New XSharePreference
modeAdded ModulePreferenceFragment
, now you can completely replace PreferenceFragmentCompat
and start using the new functionality",3),Go=o("Adapt the Sp data storage solution of "),Jo=e("code",null,"PreferenceFragmentCompat",-1),Qo=o(", thanks to "),$o={href:"https://github.com/mahoshojoHCG",target:"_blank",rel:"noopener noreferrer"},et=o("mahoshojoHCG"),ot=o(" for feedback"),tt=e("li",null,[o("Update autohandlers and "),e("code",null,"Kotlin"),o(" dependencies to the latest version")],-1),dt=e("li",null,"Fixed some bugs in documentation and code comments",-1),it={id:"_1-0-77-2022-04-15",tabindex:"-1"},nt=e("a",{class:"header-anchor",href:"#_1-0-77-2022-04-15","aria-hidden":"true"},"#",-1),ct=o(" 1.0.77 | 2022.04.15 \u2002"),st=e("code",null,"YukiHookModulePrefs",-1),at=o(" added "),lt=e("code",null,"clear",-1),rt=o(" method, thanks to "),ht={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},ut=o("WankkoRee"),_t=o(" for the suggestion"),mt=n("YukiHookModulePrefs
added getStringSet
, putStringSet
, all
methodsAdded any
method to args
of HookParam
Added ModuleApplication
, which can be inherited in modules to achieve more functionsConnect all findClass
functions to the Xposed API, and continue to use native ClassLoader
in non-hosted environmentsFixed some possible bugs",5),pt={id:"_1-0-75-2022-04-13",tabindex:"-1"},ft=e("a",{class:"header-anchor",href:"#_1-0-75-2022-04-13","aria-hidden":"true"},"#",-1),gt=o(" 1.0.75 | 2022.04.13 \u2002"),kt=o("Corrected the logic recognition part of the automatic handler, thanks to "),bt={href:"https://github.com/ApeaSuperz",target:"_blank",rel:"noopener noreferrer"},yt=o("ApeaSuperz"),xt=o(" contribution"),vt=n("Fixed an issue where the reference to a doc comment was not changedfirstArgs
and lastArgs
methods have been removed from HookParam
, now you can use args().first()
and args().last()
instead of itRemoved default parameter index = 0
in args()
in HookParam
, now you can use args().first()
or args(index = 0)
to replace itThe result
function in HookParam
adds generic matching, now you can use result<T>
to match the known return value type of your target methodThe emptyParam
condition is added to the method and constructor query function, and the misunderstanding of the query condition that needs to be paid attention to in the document has been improvedAdded android
type in type
",6),wt={id:"_1-0-73-2022-04-10",tabindex:"-1"},At=e("a",{class:"header-anchor",href:"#_1-0-73-2022-04-10","aria-hidden":"true"},"#",-1),Ht=o(" 1.0.73 | 2022.04.10 \u2002"),Pt=o("Fixed some Chinese translation errors in documents, thanks to "),Ft={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},Ct=o("WankkoRee"),Mt=o(" for their contributions"),It=o("Fixed the problem that "),Rt=e("code",null,"XC_LoadPackage.LoadPackageParam",-1),Yt=o(" throws an exception when the content is empty in some cases, thanks to "),St={href:"https://github.com/luckyzyx",target:"_blank",rel:"noopener noreferrer"},Xt=o("Luckyzyx"),zt=o(" for the feedback"),Tt=e("li",null,"Fixed some known bugs and improve Hook stability",-1),Lt={id:"_1-0-72-2022-04-09",tabindex:"-1"},Dt=e("a",{class:"header-anchor",href:"#_1-0-72-2022-04-09","aria-hidden":"true"},"#",-1),Wt=o(" 1.0.72 | 2022.04.09 \u2002"),jt=e("ul",null,[e("li",null,"Update API documentation to new address"),e("li",null,[o("Add "),e("code",null,"appContext"),o(" function to "),e("code",null,"PackageParam")]),e("li",null,"Fixed some known bugs and improve Hook stability")],-1),Bt={id:"_1-0-71-2022-04-04",tabindex:"-1"},Ot=e("a",{class:"header-anchor",href:"#_1-0-71-2022-04-04","aria-hidden":"true"},"#",-1),Nt=o(" 1.0.71 | 2022.04.04 \u2002"),Et=e("ul",null,[e("li",null,"Fixed a serious issue that would stop the Hook from throwing an exception when VariousClass could not be matched")],-1),Ut={id:"_1-0-70-2022-04-04",tabindex:"-1"},qt=e("a",{class:"header-anchor",href:"#_1-0-70-2022-04-04","aria-hidden":"true"},"#",-1),Kt=o(" 1.0.70 | 2022.04.04 \u2002"),Vt=e("li",null,[o("Fixed "),e("code",null,"instanceClass"),o(" reporting an error after being called in a static instance")],-1),Zt=o("Add "),Gt=e("code",null,"isUseAppClassLoader",-1),Jt=o(" function in Hook process, thanks to "),Qt={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},$t=o("WankkoRee"),ed=o(" for feedback"),od=e("li",null,[o("Added the "),e("code",null,"withProcess"),o(" function, which can be hooked according to the currently specified process of the APP")],-1),td=e("li",null,"Fixed critical logic errors in lookup methods, constructor classes and variables",-1),dd=e("li",null,"Fixed the problem that the abnormal output cannot be ignored when the Hook target class does not exist",-1),id=e("li",null,"Fixed the problem that the Hook could not take effect due to the fast loading of the APP startup method in some cases",-1),nd=o("Fixed "),cd=e("code",null,"allMethods",-1),sd=o(" not throwing an exception when it is not hooked to a method, thanks to "),ad={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},ld=o("WankkoRee"),rd=o(" for the feedback"),hd=o("Added Hook status monitoring function, thanks to "),ud={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},_d=o("WankkoRee"),md=o(" for the suggestion"),pd=e("li",null,"Modify the way the Xposed entry is injected into the class, and redefine the definition domain of the API",-1),fd=o("Added obfuscated method and variable lookup function, you can use different types of filter "),gd=e("code",null,"index",-1),kd=o(" to locate the specified method and variable, thanks to "),bd={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},yd=o("WankkoRee"),xd=o(" for the ideas provided"),vd=e("li",null,[o("When looking for methods and variables, multiple types are allowed, such as the class name declared by "),e("code",null,"String"),o(" and "),e("code",null,"VariousClass")],-1),wd=e("li",null,[o("Add a new "),e("code",null,"current"),o(" function, which can build a reflection method operation space for any class, and easily call and modify the methods and variables in it")],-1),Ad=o("Fixed a lot of bugs in the hook process, thanks to "),Hd={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},Pd=o("WankkoRee"),Fd=o(" for contributing to this project"),Cd={id:"_1-0-69-2022-03-30",tabindex:"-1"},Md=e("a",{class:"header-anchor",href:"#_1-0-69-2022-03-30","aria-hidden":"true"},"#",-1),Id=o(" 1.0.69 | 2022.03.30 \u2002"),Rd=e("li",null,"Added and improved annotations for some method functions",-1),Yd=e("li",null,"Added more example Hook content in Demo",-1),Sd=o("Fixed the issue that only the last one takes effect when "),Xd=e("code",null,"allMethods",-1),zd=o(" is used multiple times in a Hook instance, thanks to "),Td={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},Ld=o("WankkoRee"),Dd=o(" for the feedback"),Wd={id:"_1-0-68-2022-03-29",tabindex:"-1"},jd=e("a",{class:"header-anchor",href:"#_1-0-68-2022-03-29","aria-hidden":"true"},"#",-1),Bd=o(" 1.0.68 | 2022.03.29 \u2002"),Od=n("- Added new use case and LSPosed scope in Demo
- Added
Member
lookup cache and lookup cache configuration switches - Removed and modified
MethodFinder
, FieldFinder
and HookParam
related method calls - Add more
cast
types in Finder
and support cast
as array - Overall performance and stability improvements
- Fixed bugs that may exist in the previous version
",1),Nd={id:"_1-0-67-2022-03-27",tabindex:"-1"},Ed=e("a",{class:"header-anchor",href:"#_1-0-67-2022-03-27","aria-hidden":"true"},"#",-1),Ud=o(" 1.0.67 | 2022.03.27 \u2002"),qd=n("- Added three
modifiers
functions in Finder
, which can filter static
, native
, public
, abstract
and many other description types - When searching for methods and constructors, the method parameter type can be blurred to a specified number for searching
- Added
hasModifiers
extension for Member
- Added
give
method in MethodFinder
and ConstructorFinder
to get primitive types - Added
PrefsData
template function in YukiHookModulePrefs
- Completely refactored method, constructor and variable lookup scheme
- Optimized code comments and fixed possible bugs
",1),Kd={id:"_1-0-66-2022-03-25",tabindex:"-1"},Vd=e("a",{class:"header-anchor",href:"#_1-0-66-2022-03-25","aria-hidden":"true"},"#",-1),Zd=o(" 1.0.66 | 2022.03.25 \u2002"),Gd=e("ul",null,[e("li",null,[o("Fixed a serious bug in "),e("code",null,"MethodFinder")]),e("li",null,[o("Added "),e("code",null,"args"),o(" call method in "),e("code",null,"hookParam")]),e("li",null,"Fixed other possible problems and fix some class annotation problems")],-1),Jd={id:"_1-0-65-2022-03-25",tabindex:"-1"},Qd=e("a",{class:"header-anchor",href:"#_1-0-65-2022-03-25","aria-hidden":"true"},"#",-1),$d=o(" 1.0.65 | 2022.03.25 \u2002"),ei=n("- Republished version to fix the incorrect new version of the Maven repository due to cache issues
- Added
MethodFinder
and FieldFinder
new return value calling methods - Fixed possible problems and fix possible problems during the use of Tai Chi
- Fixed possible problems with auto-generated Xposed entry classes
- Added
android
type and java
type in type
",1),oi={id:"_1-0-6-2022-03-20",tabindex:"-1"},ti=e("a",{class:"header-anchor",href:"#_1-0-6-2022-03-20","aria-hidden":"true"},"#",-1),di=o(" 1.0.6 | 2022.03.20 \u2002"),ii=n("- Fixed
YukiHookModulePrefs
being ignored every time after using direct
once to ignore cache - Added new API, abolished the traditional usage of
isActive
to judge module activation - Fixed the issue of printing debug logs when using the API in a non-Xposed environment
- Fixed log output issue and unintercepted exception issue when looking for
Field
- Decoupling Xposed API in
ReflectionUtils
- Added
YukiHookModuleStatus
method name confusion to reduce the size of module generation - The welcome message will no longer be printed when loading the module's own Hook
- Fixed some bugs that still exist in the previous version
",1),ni={id:"_1-0-55-2022-03-18",tabindex:"-1"},ci=e("a",{class:"header-anchor",href:"#_1-0-55-2022-03-18","aria-hidden":"true"},"#",-1),si=o(" 1.0.55 | 2022.03.18 \u2002"),ai=e("ul",null,[e("li",null,"Fixed an annotation error"),e("li",null,"Temporarily fix a bug"),e("li",null,[o("Added a large number of "),e("code",null,"android"),o(" types in "),e("code",null,"type"),o(" and a small number of "),e("code",null,"java"),o(" types")]),e("li",null,"Fixed compatibility issues between new and old Kotlin APIs")],-1),li={id:"_1-0-5-2022-03-18",tabindex:"-1"},ri=e("a",{class:"header-anchor",href:"#_1-0-5-2022-03-18","aria-hidden":"true"},"#",-1),hi=o(" 1.0.5 | 2022.03.18 \u2002"),ui=n("- Fixed the problem that the welcome message was printed multiple times in the case of the old version of the LSPosed framework
- Added
onInit
method to configure YukiHookAPI
- Added
executorName
and executorVersion
to get the name and version number of the current hook framework - Added
by
method to set the timing and condition of Hook YukiHookModulePrefs
adds a controllable key-value cache, which can dynamically update data when the host is running- Fixed some possible bugs
",1),_i={id:"_1-0-4-2022-03-06",tabindex:"-1"},mi=e("a",{class:"header-anchor",href:"#_1-0-4-2022-03-06","aria-hidden":"true"},"#",-1),pi=o(" 1.0.4 | 2022.03.06 \u2002"),fi=n("- Fixed LSPosed cannot find
XposedBridge
after enabling "Only module classloader can use Xposed API" option in latest version - Added constant version name and version number for
YukiHookAPI
- Added
hasField
method and isAllowPrintingLogs
configuration parameter - Added
isDebug
to enable the API to automatically print the welcome message to test whether the module is valid
",1),gi={id:"_1-0-3-2022-03-02",tabindex:"-1"},ki=e("a",{class:"header-anchor",href:"#_1-0-3-2022-03-02","aria-hidden":"true"},"#",-1),bi=o(" 1.0.3 | 2022.03.02 \u2002"),yi=n("- Fixed a potential exception not intercepted BUG
- Added
ignoredError
function - Added
android
type in type
- Added
ClassNotFound
function after listening to hook
",1),xi={id:"_1-0-2-2022-02-18",tabindex:"-1"},vi=e("a",{class:"header-anchor",href:"#_1-0-2-2022-02-18","aria-hidden":"true"},"#",-1),wi=o(" 1.0.2 | 2022.02.18 \u2002"),Ai=e("ul",null,[e("li",null,"Fixed the problem that the project path cannot be found under Windows"),e("li",null,[o("Remove part of reflection API, merge into "),e("code",null,"BaseFinder"),o(" for integration")]),e("li",null,"Add a method to create Hook directly using string")],-1),Hi={id:"_1-0-1-2022-02-15",tabindex:"-1"},Pi=e("a",{class:"header-anchor",href:"#_1-0-1-2022-02-15","aria-hidden":"true"},"#",-1),Fi=o(" 1.0.1 | 2022.02.15 \u2002"),Ci=e("ul",null,[e("li",null,[e("code",null,"RemedyPlan"),o(" adds "),e("code",null,"onFind"),o(" function")]),e("li",null,"Integrate and modify some reflection API code"),e("li",null,[o("Added "),e("code",null,"java"),o(" type in "),e("code",null,"type")]),e("li",null,"Fixed the issue that ignored errors still output in the console")],-1),Mi={id:"_1-0-2022-02-14",tabindex:"-1"},Ii=e("a",{class:"header-anchor",href:"#_1-0-2022-02-14","aria-hidden":"true"},"#",-1),Ri=o(" 1.0 | 2022.02.14 \u2002"),Yi=e("ul",null,[e("li",null,"The first version is submitted to Maven")],-1);function Si(Xi,zi){const d=c("Badge"),i=c("ExternalLinkIcon");return a(),l("div",null,[h,e("h3",u,[_,m,t(d,{type:"tip",text:"latest",vertical:"middle"})]),p,e("h3",f,[g,k,t(d,{type:"warning",text:"stale",vertical:"middle"})]),b,e("h3",y,[x,v,t(d,{type:"warning",text:"stale",vertical:"middle"})]),e("ul",null,[w,e("li",null,[A,e("a",H,[P,t(i)])]),F,e("li",null,[C,e("a",M,[I,t(i)]),R]),Y,e("li",null,[S,X,z,T,L,D,e("a",W,[j,t(i)]),B]),O,e("li",null,[N,E,U,e("a",q,[K,t(i)]),V]),e("li",null,[Z,G,J,e("a",Q,[$,t(i)]),ee]),oe,e("li",null,[te,de,ie,ne,ce,e("a",se,[ae,t(i)]),le,e("a",re,[he,t(i)])]),ue,_e,me,e("li",null,[pe,fe,ge,ke,be,e("a",ye,[xe,t(i)]),ve]),we,e("li",null,[Ae,He,Pe,e("a",Fe,[Ce,t(i)]),Me,e("a",Ie,[Re,t(i)])]),Ye,Se,Xe,ze]),e("h3",Te,[Le,De,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),We,e("h3",je,[Be,Oe,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[e("li",null,[Ne,Ee,Ue,e("a",qe,[Ke,t(i)]),Ve]),Ze]),e("h3",Ge,[Je,Qe,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),$e,e("h3",eo,[oo,to,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),io,e("h3",no,[co,so,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),ao,e("h3",lo,[ro,ho,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),uo,e("h3",_o,[mo,po,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),fo,e("h3",go,[ko,bo,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),yo,e("h3",xo,[vo,wo,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Ao,e("h3",Ho,[Po,Fo,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Co,e("h3",Mo,[Io,Ro,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Yo,e("h3",So,[Xo,zo,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[To,e("li",null,[Lo,Do,Wo,e("a",jo,[Bo,t(i)]),Oo]),No,Eo,Uo]),e("h3",qo,[Ko,Vo,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[Zo,e("li",null,[Go,Jo,Qo,e("a",$o,[et,t(i)]),ot]),tt,dt]),e("h3",it,[nt,ct,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[e("li",null,[st,at,lt,rt,e("a",ht,[ut,t(i)]),_t]),mt]),e("h3",pt,[ft,gt,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[e("li",null,[kt,e("a",bt,[yt,t(i)]),xt]),vt]),e("h3",wt,[At,Ht,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[e("li",null,[Pt,e("a",Ft,[Ct,t(i)]),Mt]),e("li",null,[It,Rt,Yt,e("a",St,[Xt,t(i)]),zt]),Tt]),e("h3",Lt,[Dt,Wt,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),jt,e("h3",Bt,[Ot,Nt,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Et,e("h3",Ut,[qt,Kt,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[Vt,e("li",null,[Zt,Gt,Jt,e("a",Qt,[$t,t(i)]),ed]),od,td,dd,id,e("li",null,[nd,cd,sd,e("a",ad,[ld,t(i)]),rd]),e("li",null,[hd,e("a",ud,[_d,t(i)]),md]),pd,e("li",null,[fd,gd,kd,e("a",bd,[yd,t(i)]),xd]),vd,wd,e("li",null,[Ad,e("a",Hd,[Pd,t(i)]),Fd])]),e("h3",Cd,[Md,Id,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[Rd,Yd,e("li",null,[Sd,Xd,zd,e("a",Td,[Ld,t(i)]),Dd])]),e("h3",Wd,[jd,Bd,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Od,e("h3",Nd,[Ed,Ud,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),qd,e("h3",Kd,[Vd,Zd,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Gd,e("h3",Jd,[Qd,$d,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),ei,e("h3",oi,[ti,di,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),ii,e("h3",ni,[ci,si,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),ai,e("h3",li,[ri,hi,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),ui,e("h3",_i,[mi,pi,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),fi,e("h3",gi,[ki,bi,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),yi,e("h3",xi,[vi,wi,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Ai,e("h3",Hi,[Pi,Fi,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Ci,e("h3",Mi,[Ii,Ri,t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Yi])}const Li=s(r,[["render",Si],["__file","changelog.html.vue"]]);export{Li as default};