Files
YukiHookAPI/assets/changelog.html-BQ5AB5_x.js
github-actions[bot] aac9e42e84 Deploy to GitHub pages
2025-08-02 18:17:09 +00:00

2 lines
67 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as c,r as a,o as l,c as s,b as e,d as o,e as t,a as n}from"./app-BpUB8-Q8.js";const r={},h=n('<h1 id="changelog" tabindex="-1"><a class="header-anchor" href="#changelog" aria-hidden="true">#</a> Changelog</h1><blockquote><p>The version update history of <code>YukiHookAPI</code> is recorded here.</p></blockquote><div class="custom-container danger"><p class="custom-container-title">Pay Attention</p><p>We will only maintain the latest API version, if you are using an outdate API version, you voluntarily renounce any possibility of maintenance.</p></div><div class="custom-container warning"><p class="custom-container-title">Notice</p><p>To avoid translation time consumption, Changelog will use <strong>Google Translation</strong> from <strong>Chinese</strong> to <strong>English</strong>, please refer to the original text for actual reference.</p><p>Time zone of version release date: <strong>UTC+8</strong></p></div>',4),u={id:"_1-3-0-2024-06-25",tabindex:"-1"},m=e("a",{class:"header-anchor",href:"#_1-3-0-2024-06-25","aria-hidden":"true"},"#",-1),p={href:"https://highcapable.github.io/YukiHookAPI/zh-cn/config/move-to-api-1-3-x",target:"_blank",rel:"noopener noreferrer"},f=e("code",null,"YukiHookAPI",-1),g={href:"https://github.com/HighCapable/KavaRef",target:"_blank",rel:"noopener noreferrer"},_=n("<li>The limitation of duplicate Hooks has been deprecated, now you can repeat the same method of the Hook</li><li>Deprecated <s><code>ModuleAppActivity</code></s>, <s><code>ModuleAppCompatActivity</code></s>, please use <code>ModuleActivity</code> to create your own proxy <code>Activity</code></li><li><code>YLog</code> is now allowed to pass <code>msg</code> into any object and will be automatically converted to a string for printing</li>",3),k=e("code",null,"FreeReflection",-1),b={href:"https://github.com/LSPosed/AndroidHiddenApiBypass",target:"_blank",rel:"noopener noreferrer"},y={id:"_1-2-1-2024-06-20",tabindex:"-1"},x=e("a",{class:"header-anchor",href:"#_1-2-1-2024-06-20","aria-hidden":"true"},"#",-1),v=e("li",null,"Catch exceptions in singleton Hooker to prevent it from blocking the entire process",-1),w={href:"https://github.com/zhufengning",target:"_blank",rel:"noopener noreferrer"},A={href:"https://github.com/HighCapable/YukiHookAPI/pull/70",target:"_blank",rel:"noopener noreferrer"},H={href:"https://github.com/xihan123",target:"_blank",rel:"noopener noreferrer"},P={href:"https://github.com/HighCapable/YukiHookAPI/pull/76",target:"_blank",rel:"noopener noreferrer"},C={id:"_1-2-0-2023-10-07",tabindex:"-1"},F=e("a",{class:"header-anchor",href:"#_1-2-0-2023-10-07","aria-hidden":"true"},"#",-1),M=e("li",null,[o("The license agreement has been changed from "),e("code",null,"MIT"),o(" to "),e("code",null,"Apache-2.0"),o(", subsequent versions will be distributed under this license agreement, you should change the relevant license agreement after using this version")],-1),Y={href:"https://highcapable.github.io/YukiHookAPI/en/config/move-to-api-1-2-x",target:"_blank",rel:"noopener noreferrer"},I={href:"https://github.com/BlueCat300",target:"_blank",rel:"noopener noreferrer"},R={href:"https://github.com/HighCapable/YukiHookAPI/pull/44",target:"_blank",rel:"noopener noreferrer"},S=e("code",null,"findAllInterfaces",-1),D={href:"https://github.com/buffcow",target:"_blank",rel:"noopener noreferrer"},T={href:"https://github.com/HighCapable/YukiHookAPI/pull/38",target:"_blank",rel:"noopener noreferrer"},L={href:"https://github.com/cesaryuan",target:"_blank",rel:"noopener noreferrer"},z={href:"https://github.com/HighCapable/YukiHookAPI/issues/47",target:"_blank",rel:"noopener noreferrer"},X={href:"https://github.com/HighCapable/YukiHookAPI/issues/36",target:"_blank",rel:"noopener noreferrer"},j=n("<li>Added <code>YukiHookAPI.TAG</code></li><li>Deprecated <s><code>YukiHookAPI.API_VERSION_NAME</code></s>, <s><code>YukiHookAPI.API_VERSION_CODE</code></s>, merged into <code>YukiHookAPI.VERSION</code></li><li>Added <code>YukiHookAPI.TAG</code></li><li>Deprecated <s><code>YukiHookAPI.API_VERSION_NAME</code></s>, <s><code>YukiHookAPI.API_VERSION_CODE</code></s>, merged into <code>YukiHookAPI.VERSION</code></li><li>Deprecated <s><code>useDangerousOperation</code></s> method in <code>YukiMemberHookCreator</code></li><li>Deprecated <s><code>instanceClass</code></s> function in <code>YukiMemberHookCreator</code>, it is no longer recommended</li><li>Modify <code>instanceClass</code> in <code>HookParam</code> to be a null safe return value type</li><li>Detach all Hook objects created using <code>injectMember</code> to <code>LegacyCreator</code></li><li>Modify <code>appClassLoader</code> in <code>PackageParam</code> to be a null safe return value type</li><li>Refactor all <code>logger...</code> methods to new usage <code>YLog</code></li><li>Removed the <code>--&gt;</code> style behind the print log function</li><li>Fixed and improved the problem that the module package name cannot be obtained through KSP after using <code>namespace</code></li><li>Functions such as whether to enable module activation status have now been moved to the <code>InjectYukiHookWithXposed</code> annotation</li>",13),O={href:"https://github.com/tiann/FreeReflection",target:"_blank",rel:"noopener noreferrer"},B=n("<li>Added a warning log that will be automatically printed when the same Hook method is repeated</li><li>The <code>findClass(...)</code> method in <code>PackageParam</code> is obsolete, please migrate to the <code>&quot;...&quot;.toClass()</code> method</li><li>The <code>String.hook { ... }</code> method in <code>PackageParam</code> is obsolete, and it is recommended to use a new method for Hook</li><li><code>AppLifecycle</code> can now be created repeatedly in different Hookers</li><li>The old version of Hook priority writing is obsolete and migrated to <code>YukiHookPriority</code></li><li>Removed the <code>tag</code> function in the Hook process</li><li>Refactored <code>remendy</code> functionality in find methods, which now prints exceptions in steps</li><li>The multi-method find result type is changed from <code>HashSet</code> to <code>MutableList</code></li><li>Added <code>method()</code>, <code>constructor()</code>, <code>field()</code> to directly obtain all object functions in the class</li><li><code>constructor()</code> no longer behaves like <code>constructor { emptyParam() }</code></li><li>Added <code>lazyClass</code> and <code>lazyClassOrNull</code> methods to lazily load <code>Class</code></li>",11),E={id:"_1-1-11-2023-04-25",tabindex:"-1"},N=e("a",{class:"header-anchor",href:"#_1-1-11-2023-04-25","aria-hidden":"true"},"#",-1),W=e("code",null,"1.1.5",-1),q=e("code",null,"Member",-1),V={href:"https://github.com/Art-Chen",target:"_blank",rel:"noopener noreferrer"},K=n("<li>Remove the direct cache function of <code>Member</code> and deprecated <s><code>YukiReflection.Configs.isEnableMemberCache</code></s>, keep the cache function of <code>Class</code></li><li>Modified finder to <code>Sequence</code>, optimize the finding speed and performance of <code>Member</code></li><li>Remove the <code>YukiHookPrefsBridge</code>&#39;s direct key-value cache function and removed <code>LruCache</code> related functions</li><li>Deprecated <s><code>YukiHookAPI.Configs.isEnablePrefsBridgeCache</code></s></li><li>Deprecated <s><code>direct</code></s>, <s><code>clearCache</code></s> functions in <code>YukiHookPrefsBridge</code></li>",5),U={id:"_1-1-10-2023-04-21",tabindex:"-1"},Z=e("a",{class:"header-anchor",href:"#_1-1-10-2023-04-21","aria-hidden":"true"},"#",-1),G=n("<ul><li>The <code>Activity</code> proxy function adds the function of specifying a separate proxy <code>Activity</code> for each proxied <code>Activity</code></li><li>Fixed problem that the <code>contains</code> and <code>all</code> methods in <code>YukiHookPrefsBridge</code> did not judge the <code>native</code> function</li><li>Integrate the cache function in <code>YukiHookPrefsBridge</code> into <code>PreferencesCacheManager</code> and use <code>LruCache</code> as a key-value pair cache</li><li>Modify <code>YukiHookPrefsBridge</code> key-value pair caching function to take effect in all environments (Module Apps, Host Apps)</li><li>Modify part of <code>HashMap</code> used for caching to <code>ArrayMap</code> to reduce memory consumption</li><li>Fix some other possible problems</li></ul>",1),J={id:"_1-1-9-2023-04-17",tabindex:"-1"},Q=e("a",{class:"header-anchor",href:"#_1-1-9-2023-04-17","aria-hidden":"true"},"#",-1),$=n("<ul><li>Change the type of dependent library from <strong>Java Library</strong> (jar) to <strong>Android Library</strong> (aar)</li><li>Remove the inspection function of internal methods and parameters through Hook or reflection API</li><li>Fixed the problem that <code>YukiHookDataChannel</code> automatically segmented data sending function could not work normally (exception would still be thrown)</li><li>Added the ability to manually modify the maximum data byte size allowed by <code>YukiHookDataChannel</code> to be sent at one time according to the limitations of the target device</li><li>Remove the restriction that <code>YukiHookDataChannel</code> can only be used in module <code>Activity</code>, now you can use it anywhere</li><li>Modify and standardize the broadcast Action name used by <code>YukiHookDataChannel</code></li><li>Fix the problem that <code>BadParcelableException</code> occurs when <code>YukiHookDataChannel</code> has different modules with the same host</li><li>Added <code>ExecutorType</code>, you can get the type of known Hook Framework through <code>YukiHookAPI.Status.Executor.type</code></li><li><s><code>YukiHookModulePrefs</code></s> renamed to <code>YukiHookPrefsBridge</code></li><li>Modify <code>YukiHookPrefsBridge</code> to be implemented as a non-singleton, as a singleton may cause data confusion</li><li>Deprecated <s><code>Context.modulePrefs(...)</code></s> method, please move to <code>Context.prefs(...)</code></li><li><code>YukiHookPrefsBridge</code> adds <code>native</code> method, which supports storing private data in modules and hosts directly as native storage</li><li>Integrate the storage method in <code>YukiHookPrefsBridge</code> to <code>YukiHookPrefsBridge.Editor</code>, please use <code>edit</code> method to store data</li><li><code>YukiHookPrefsBridge</code> adds <code>contains</code> method</li><li>Cache dynamically created proxy objects in <code>YukiHookPrefsBridge</code>, try to fix problems that may cause OOM in the host and modules</li><li>Modify the proxy class of the <code>Activity</code> proxy function to be dynamically generated to prevent conflicts caused by injecting different modules into the host</li><li>Fixed some other possible problems</li></ul>",1),ee={id:"_1-1-8-2023-02-01",tabindex:"-1"},oe=e("a",{class:"header-anchor",href:"#_1-1-8-2023-02-01","aria-hidden":"true"},"#",-1),te=e("code",null,"result",-1),de={href:"https://github.com/HighCapable/YukiHookAPI/issues/23",target:"_blank",rel:"noopener noreferrer"},ie={href:"https://github.com/elvizlai",target:"_blank",rel:"noopener noreferrer"},ne=n("<li>Move the entry class name file automatically generated by <code>YukiHookAPI</code> from <code>assets/yukihookapi_init</code> to <code>resources/META-INF/yukihookapi_init</code></li><li>When only printing the exception stack, the <code>msg</code> parameter is allowed to be empty and the <code>msg</code> parameter can not be set, and the log with the <code>msg</code> parameter left blank will not be logged unless the exception stack is not empty</li><li>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</li><li><code>HookParam</code> adds <code>instanceOrNull</code> 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</li><li>Decoupled all hookers in <code>Member</code> lookup functionality to <code>MemberBaseFinder.MemberHookerManager</code></li><li>Modified the usage of <code>by</code> condition in <code>YukiMemberHookCreator</code>, now you can reuse <code>by</code> method to set multiple conditions</li><li>Removed wrong <code>Class</code> object declaration in Android <code>type</code></li><li>The <code>registerReceiver</code> method in <code>PackageParam.AppLifecycle</code> adds the function of directly using <code>IntentFilter</code> to create a system broadcast listener</li><li>Fixed the problem that there may be multiple registration lifecycles in <code>PackageParam.AppLifecycle</code></li><li>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)</li>",10),ae={id:"_1-1-6-2023-01-21",tabindex:"-1"},ce=e("a",{class:"header-anchor",href:"#_1-1-6-2023-01-21","aria-hidden":"true"},"#",-1),le=n("<ul><li>Fixed the serious problem that <code>ClassLoader</code> does not match after <code>PackageParam</code> keeps a single instance when there may be multiple package names in the same process when Xposed Module is loaded</li><li>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</li><li>Fixed the problem that the number of parameters is incorrect when methods such as <code>HookParam.callOriginal</code>, <code>HookParam.invokeOriginal</code> call the original method</li><li>Modify the method parameter name <code>param</code> of reflection calls in <code>MethodFinder</code>, <code>ConstructorFinder</code>, <code>ReflectionFactory</code> to <code>args</code></li><li>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</li></ul>",1),se={id:"_1-1-5-2023-01-13",tabindex:"-1"},re=e("a",{class:"header-anchor",href:"#_1-1-5-2023-01-13","aria-hidden":"true"},"#",-1),he=n('<ul><li>Standardize and optimize the overall code style</li><li>Privatized some APIs called internally</li><li>The underlying API interface is decoupled as a whole to prepare for compatibility with more Hook Frameworks</li><li>Move some of the functions integrated in the API to <code>ksp-xposed</code> dependencies (decoupling), and the separate introduction of <code>api</code> dependencies will no longer contain references to functions such as third-party libraries</li><li>Documentation <a href="../guide/quick-start">Quick Start</a> page added instructions on when <code>YukiHookAPI.Configs.isDebug</code> needs to be closed</li><li>Standardize Java Primitive Types in type definitions and sync update to docs</li><li>Java <code>type</code> adds <code>NumberClass</code> type</li><li>Improved (Xposed) Host environment recognition</li><li>Take over all exceptions after loading the Xposed Module, if an exception occurs, it will automatically intercept and print the error log</li><li>Modify the <code>Class</code> that does not exist in the lower Android system version (Android 5.0) in the type definition to be an empty safe type</li><li>Adapt and support native Xposed, the minimum recommended version is Android 7.0</li><li>Added support for Hook entry class declared as <code>object</code> type (singleton)</li><li>Fixed the problem that the system below Android 8 does not support the <code>Executable</code> type, causing the Hook to fail</li><li>Fixed the problem of reporting an error when using the <code>Activity</code> proxy function for systems below Android 9 and limit the minimum supported version of this function to Android 7.0</li><li>Added the prohibition of resource injection and <code>Activity</code> proxy function injection into the current module&#39;s own instance process to prevent problems</li><li>Fixed a serious error that the return value of a method in the Hook process is not consistent with the target&#39;s inherited class and interface.</li><li>Fixed the problem that the object is empty when calling <code>HookParam.callOriginal</code> and <code>HookParam.invokeOriginal</code> when the current Hook instance object is static</li><li>Optimize the function of judging the Tai Chi activation method and update the relevant instructions of the document synchronously</li><li>Obsolete <s><code>YukiHookAPI.Status.executorName</code></s>, <s><code>YukiHookAPI.Status.executorVersion</code></s>, please move to <code>YukiHookAPI.Status.Executor</code></li><li>Adapted the <code>YukiHookAPI.Status.Executor.name</code> name display function of some third-party Hook Frameworks</li><li>Added <code>Class.extends</code>, <code>Class.implements</code> and other methods, which can more conveniently judge the inheritance and interface relationship of the current <code>Class</code></li><li>Added generic methods of the same name as <code>Class.toClass</code>, <code>Class.toClassOrNull</code> and other related methods, you can use generics to constrain the instance object type of known <code>Class</code></li><li>Modify the return value of the <code>classOf&lt;T&gt;</code> method to the generic type <code>T</code> to constrain the instance object type of the known <code>Class</code></li><li>Added <code>initialize</code> parameter of <code>Class</code> related extension method, which can control whether to initialize its static method block at the same time when getting <code>Class</code> object</li><li>Added <code>param { ... }</code>, <code>type { ... }</code> and other usages in the variable, method, and construction method search functions, which can add more specific conditional judgments to the searched objects</li><li>The <code>loadApp</code> method of <code>PackageParam</code> adds the <code>isExcludeSelf</code> parameter, which can be used to exclude Hook-related functions from injecting into the module&#39;s own instance process</li><li>The <code>onAppLifecycle</code> method of <code>PackageParam</code> adds the <code>isOnFailureThrowToApp</code> parameter, which can directly throw the exception that occurs in the lifecycle method body to the host</li><li>Modify <code>appClassLoader</code> in <code>PackageParam</code> to be a modifiable variable, which can dynamically set the <code>ClassLoader</code> used by the host in the Hook process</li><li>Added <code>dataExtra</code> function in <code>HookParam</code>, which can be used to temporarily store the data in the Hook method body</li><li>Obsolete <s><code>isRunInNewXShareMode</code></s>, <s><code>isXSharePrefsReadable</code></s> in <code>YukiHookModulePrefs</code>, merged into <code>isPreferencesAvailable</code></li><li><code>Class.allFields</code>, <code>Class.allMethods</code> and other related methods add the <code>isAccessible</code> parameter, which can control when the member object can be set as an accessible type</li><li>Fixed the problem that only the last method body will be called back when receiving the same key-value data in an Activity when there are multiple hosts in <code>YukiHookDataChannel</code></li><li>Added <code>priority</code> parameter in <code>wait</code> and other related methods of <code>YukiHookDataChannel</code>, you can pass in <code>ChannelPriority</code> to customize the conditions for callback data results</li><li><code>YukiHookDataChannel</code> adds the function of automatically using <code>ChannelDataWrapper</code> type wrapper when sending data, which improves the user experience and enhances data protection</li><li><code>YukiHookDataChannel</code> has added the function of limiting the maximum byte size of data sent at one time to prevent the app from crashing due to excessive data</li><li><code>YukiHookDataChannel</code> has added the function of automatically segmenting when the sent data is too large, only supports <code>List</code>, <code>Map</code>, <code>Set</code>, <code>String</code> types</li><li><code>YukiHookLogger</code> adds the <code>contents</code> method and the <code>data</code> parameter of <code>saveToFile</code>, which can be passed in custom debug log data for formatting or saving to a file</li><li>Fixed the problem that the debug log data package name processed by <code>YukiHookLogger</code> may be incorrect in the (Xposed) Host environment</li><li>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</li></ul>',1),ue={id:"_1-1-4-2022-10-04",tabindex:"-1"},me=e("a",{class:"header-anchor",href:"#_1-1-4-2022-10-04","aria-hidden":"true"},"#",-1),pe=n("<ul><li>Fixed the issue that <code>YukiHookDataChannel</code> may not respond to broadcast events in the system framework, reproduced in A13</li><li>Fixed the issue that <code>YukiHookDataChannel</code> could not communicate with Module App in Host App for multiple versions</li><li>Added <code>obtainLoggerInMemoryData</code> method in <code>YukiHookDataChannel</code> to share debug log data between module and host</li><li>Modify the type of <code>YukiHookLogger.inMemoryData</code> to <code>ArrayList</code> and change <code>YukiLoggerData</code> to <code>data class</code></li><li>Fixed <code>YukiLoggerData</code> printing blank when the package name is empty in the module</li><li>Added <code>loadApp</code>, <code>loadZygote</code>, <code>loadSystem</code>, <code>withProcess</code> multi-parameter methods of the same name in <code>PackageParam</code></li><li>Fixed some possible bugs</li></ul>",1),fe={id:"_1-1-3-2022-09-30",tabindex:"-1"},ge=e("a",{class:"header-anchor",href:"#_1-1-3-2022-09-30","aria-hidden":"true"},"#",-1),_e=e("ul",null,[e("li",null,"Fixed a fatal bug where the Hook entry class name could not be customized"),e("li",null,[o("Added some code notes in "),e("code",null,"LoggerFactory"),o(" and updated special features documentation")])],-1),ke={id:"_1-1-2-2022-09-30",tabindex:"-1"},be=e("a",{class:"header-anchor",href:"#_1-1-2-2022-09-30","aria-hidden":"true"},"#",-1),ye=n('<ul><li>Documentation <a href="../guide/knowledge">Basic Knowledge</a> page add a friend link to the English version</li><li>Fixed <code>YukiBaseHooker</code> comments in English code note link errors</li><li>Fixed <code>ClassCastException</code> in <code>ModuleClassLoader</code></li><li>Fixed and standardize some code notes</li><li>Added <code>ModuleClassLoader</code> exclusion list function, you can use <code>excludeHostClasses</code> and <code>excludeModuleClasses</code> methods to customize the exclusion list</li><li>Added <code>YukiLoggerData</code> real-time log data class, you can get the log array in real time through <code>YukiHookLogger.inMemoryData</code></li><li>Added <code>ClassLoader.listOfClasses</code> method, which can directly get all <code>Class</code> in the current <code>Dex</code></li></ul>',1),xe={id:"_1-1-1-2022-09-28",tabindex:"-1"},ve=e("a",{class:"header-anchor",href:"#_1-1-1-2022-09-28","aria-hidden":"true"},"#",-1),we=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),Ae={id:"_1-1-0-2022-09-28",tabindex:"-1"},He=e("a",{class:"header-anchor",href:"#_1-1-0-2022-09-28","aria-hidden":"true"},"#",-1),Pe=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),Ce={href:"https://v2.vuepress.vuejs.org",target:"_blank",rel:"noopener noreferrer"},Fe=n('<li>Unify and standardize the terms and nouns in the document, for example, &quot;query&quot; is always changed to &quot;find&quot;, <code>XposedHelper</code> is misspelled and changed to <code>XposedHelpers</code></li><li>Documentation <a href="../guide/knowledge">Basic Knowledge</a> page to add friend links, Simplified Chinese only</li><li>Convert <code>Class</code> and <code>Method</code> of Hook App Demo to Java to provide better demo effect</li><li>Fixed code comment naming in Hook Module Demo</li><li>Refactored a lot of low-level Hook logic and the docking method of Xposed API</li><li>Removed <code>HookParamWrapper</code>, it now interfaces directly with <code>YukiBridgeFactory</code></li><li>Moved methods in section <code>YukiHookBridge</code> to <code>AppParasitics</code></li><li>Removed <code>HookParam.args</code> and the underlying direct connection method <code>setArgs</code>, directly get and set the object of the current array</li><li>Optimized automatic handler to merge referenced <code>jar</code> into <code>stub</code> project</li>',9),Me={href:"https://github.com/5ec1cff",target:"_blank",rel:"noopener noreferrer"},Ye=n("<li>Internal closure processing for the methods of API private tool classes to avoid polluting the top-level namespace</li><li>Fixed <code>Creater</code> naming to <code>Creator</code> for all reflection and Hook classes</li><li>Added <code>YukiHookAPI.Status.compiledTimestamp</code> function, which can get the compilation completion timestamp when used as an Xposed module</li><li>Added <code>YukiHookAPI.Status.isXposedEnvironment</code> function, which can determine whether the current (Xposed) host environment or module environment is</li><li>The debug logging function has been overhauled, and functions such as <code>YukiHookAPI.Configs.debugTag</code> have been merged into <code>YukiHookLogger.Configs</code></li><li>The debug log can be added to specify the printing method as <code>XposedBridge.log</code> or <code>Logd</code></li><li>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 <code>debugLog</code> configuration</li><li>Added <code>generic</code> function to reflect and call generics, you can use it in <code>Class</code> or <code>CurrentClass</code></li><li>obsolete the <code>buildOfAny</code> method, now use the <code>buildOf</code> method directly (without generics) to use the constructor to create a new object and get the result <code>Any</code></li><li>Fixed the issue of null pointer exception when using <code>hasExtends</code></li><li><code>CurrentClass</code> added non-<strong>lambda</strong> method of calling</li><li><code>CurrentClass</code> adds <code>name</code> and <code>simpleName</code> functions</li><li>Completely rewrite the core method of <code>ReflectionTool</code>, sorting and classifying different search conditions</li><li>Fixed the problem that <code>Member</code> obtained by directly calling <code>declared</code> in <code>ReflectionTool</code> throws an exception</li><li>Fixed <code>UndefinedType</code> in <code>ReflectionTool</code> is not correctly judged in <code>Method</code> and <code>Constructor</code> conditions</li><li>Added a friendly prompt method when the reflection search result is abnormal, which can specifically locate the problem that <code>Member</code> cannot be found under specified conditions</li><li>Added <code>VagueType</code> condition in <code>Method</code> and <code>Constructor</code> for reflection search, which can be used in <code>param</code> condition to ignore parameters you don&#39;t want to fill in</li><li>Added <code>paramCount { ... }</code> condition in <code>Method</code> and <code>Constructor</code> of reflection search, now you can directly get <code>it</code> in it to customize your judgment condition</li><li>The <code>current</code> method is added to the <code>FieldFinder</code> result, which can directly create a call space for the result instance</li><li>Modified the <code>modifiers</code> condition and <code>name</code> condition in the reflection lookup function, now you need to return a <code>Boolean</code> at the end of the method body to make the condition true</li>",20),Ie=e("code",null,"as*",-1),Re=e("code",null,"ModifierRules",-1),Se=e("code",null,"is*",-1),De={href:"https://github.com/KyuubiRan",target:"_blank",rel:"noopener noreferrer"},Te=n("<li>Added <code>RemedyPlan</code> feature in <code>FieldFinder</code></li><li>Added <code>Class</code> fuzzy search function (Beta) in <code>Dex</code>, you can now directly use <code>searchClass</code> function to fuzzy search <code>Class</code> with specified conditions</li>",2),Le=e("strong",null,"AA",-1),ze={href:"https://github.com/KyuubiRan",target:"_blank",rel:"noopener noreferrer"},Xe=e("code",null,"appClassLoader",-1),je={href:"https://github.com/luckyzyx",target:"_blank",rel:"noopener noreferrer"},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),Be=e("code",null,"getStringSet",-1),Ee=e("code",null,"YukiHookModulePrefs",-1),Ne={href:"https://github.com/Teddy-Zhu",target:"_blank",rel:"noopener noreferrer"},We={href:"https://github.com/HighCapable/YukiHookAPI/pull/19",target:"_blank",rel:"noopener noreferrer"},qe=e("li",null,[o("Modify "),e("code",null,"YukiHookModulePrefs"),o(" to intercept exceptions that may not exist in "),e("code",null,"XSharePreference")],-1),Ve=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),Ke=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),Ue=e("code",null,"SharedPreferences",-1),Ze=e("code",null,"0664",-1),Ge={href:"https://github.com/5ec1cff",target:"_blank",rel:"noopener noreferrer"},Je=n("<li>Added <code>YukiHookAPI.Configs.isEnableHookSharedPreferences</code> function, which is disabled by default and can be enabled if the permission of <code>SharedPreferences</code> is incorrect</li><li>Fixed the bug that the no-parameter construction method cannot be found when searching for <code>Constructor</code> without filling in the search conditions, thanks <strong>B5 KAKA</strong> for the feedback</li><li>Detach <code>Result</code> instances located in <code>method</code>, <code>constructor</code> in <code>injectMember</code> to <code>Process</code></li><li>Added the <code>useDangerousOperation</code> 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 declared</li><li>Added module resource injection and <code>Activity</code> proxy functions, you can call <code>injectModuleAppResources</code> and <code>registerModuleAppActivities</code> to use</li><li>Added <code>ModuleContextThemeWrapper</code> function, you can call <code>applyModuleTheme</code> to create the <code>Context</code> of a module in any <code>Activity</code></li><li>Added <code>ClassLoader.onLoadClass</code> function, which can be used to listen for events when the <code>loadClass</code> method of <code>ClassLoader</code> is called</li><li>obsolete <code>classOf</code> and <code>clazz</code> extension methods, add <code>toClass</code> and <code>toClassOrNull</code> usage, please move to the new method now</li><li><code>VariousClass</code> adds a <code>getOrNull</code> method, which can return <code>null</code> instead of throwing an exception when it can&#39;t match <code>Class</code></li><li>Removed <code>isUseAppClassLoader</code> parameter in <code>PackageParam.hook</code>, changed it to <code>isForceUseAbsolute</code> and automatically matched the target <code>Class</code></li><li><code>PackageParam</code> adds <code>systemContext</code> function, you can call this function at any time to get a persistent <code>Context</code></li><li>no longer expose any methods in <code>HookClass</code></li><li>Added <code>throwToApp</code> function in <code>HookParam</code>, which can throw exceptions directly to the host</li><li>The <code>onFailureThrowToApp</code> function is added to the Hook callback, which can be directly thrown to the host when an exception occurs</li><li>Modified the printing logic of the debug log, the time-consuming records in the reflection search function will only be printed during the Hook process</li><li>Added the function of removing Hook in the Hook process, you can use the <code>remove</code> and <code>removeSelf</code> methods to remove the hook</li><li>Fixed 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 function</li><li>Added 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</li>",18),Qe=e("code",null,"array",-1),$e={href:"https://github.com/HighCapable/YukiHookAPI/pull/12",target:"_blank",rel:"noopener noreferrer"},eo={href:"https://github.com/GSWXXN",target:"_blank",rel:"noopener noreferrer"},oo=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),to=e("li",null,"Remove the exception thrown when the Hook method body is empty, and modify it to print the warning log",-1),io=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),no=e("li",null,"Updated Demo API version to 33",-1),ao={id:"_1-0-92-2022-05-31",tabindex:"-1"},co=e("a",{class:"header-anchor",href:"#_1-0-92-2022-05-31","aria-hidden":"true"},"#",-1),lo=n("<ul><li>Fixed the naming method of callback in a large number of methods</li><li>Changed the solution to fix the problem that <code>YukiHookDataChannel</code> cannot call back the current <code>Activity</code> broadcast on devices lower than <strong>Android 12</strong></li><li>The <code>InjectYukiHookWithXposed</code> annotation adds the <code>isUsingResourcesHook</code> function, now you can selectively disable the dependency interface that automatically generates <code>IXposedHookInitPackageResources</code></li></ul>",1),so={id:"_1-0-91-2022-05-29",tabindex:"-1"},ro=e("a",{class:"header-anchor",href:"#_1-0-91-2022-05-29","aria-hidden":"true"},"#",-1),ho=e("code",null,"ClassLoader",-1),uo={href:"https://github.com/luckyzyx",target:"_blank",rel:"noopener noreferrer"},mo=n("<li>Fixed <code>YukiHookDataChannel</code> not being able to call back the current <code>Activity</code> broadcast on <strong>ZUI</strong> and systems below <strong>Android 12</strong></li><li>Integrate the <code>YukiHookModuleStatus</code> function into <code>YukiHookAPI.Status</code>, 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</li>",2),po={id:"_1-0-90-2022-05-27",tabindex:"-1"},fo=e("a",{class:"header-anchor",href:"#_1-0-90-2022-05-27","aria-hidden":"true"},"#",-1),go=n("<ul><li>Fixed <code>YukiHookDataChannel</code> crashing when the module sets the listener callback</li><li>Fixed <code>YukiHookDataChannel</code> still calling back when not in current <code>Activity</code></li><li>Remove the default value of <code>YukiHookDataChannel</code> callback event, no callback</li><li>Removed <code>YukiHookModulePrefs</code> warning printed if XShare is unreadable</li><li>Added the <code>isXSharePrefsReadable</code> method in <code>YukiHookModulePrefs</code> to determine whether the current XShare is available</li></ul>",1),_o={id:"_1-0-89-2022-05-26",tabindex:"-1"},ko=e("a",{class:"header-anchor",href:"#_1-0-89-2022-05-26","aria-hidden":"true"},"#",-1),bo=n("<ul><li>Fixed the problem that <code>YukiHookDataChannel</code> cannot be repeatedly set to monitor, and added the function of repeating response in different <code>Activity</code> modules and automatically following <code>Activity</code> to destroy the monitor function</li><li>Added <code>YukiHookDataChannel</code> repeated listening use case description document</li><li>Add the <code>onAlreadyHooked</code> method to determine whether the current method is repeated Hook</li><li>Modify part of the logic of repeatedly adding HashMap, remove the <code>putIfAbsent</code> method, allow to override the addition</li><li>Fixed several possible bugs</li></ul>",1),yo={id:"_1-0-88-2022-05-25",tabindex:"-1"},xo=e("a",{class:"header-anchor",href:"#_1-0-88-2022-05-25","aria-hidden":"true"},"#",-1),vo=n("<ul><li>Fully decoupled from Xposed API</li><li>Added <code>android</code> type in <code>type</code></li><li>Separate <code>YukiHookModuleStatus</code> from auto-generated code and add <code>isEnableHookModuleStatus</code> switch, it is up to you to enable or not</li><li>Internal closure processing for the constructors of a large number of classes in the API</li><li>Set <code>YukiHookModulePrefs</code> to run as a singleton to prevent repeated creation and waste of system resources</li><li>Fixed the bug that Hook cannot be nested since version <code>1.0.80</code>, and optimize the related functions of nested Hook</li><li>Modify the Hooker storage scheme from HashSet to HashMap to prevent the problem of repeatedly adding Hookers</li><li>Modify the core implementation method of Hook, add duplicate checking to avoid repeating the Hook multiple callbacks to the <code>HookParam</code> method</li><li><code>MethodFinder</code> and <code>FieldFinder</code> add the function of finding fuzzy methods and variable names, you can call <code>name { ... }</code> to set search conditions, and support regular expressions</li><li>Optimize and modify the way to get <code>appContext</code> to reduce the possibility of getting empty</li><li>Modify the print <code>TAG</code> of <code>logger</code> in the automatically generated code to default to your custom name, which is convenient for debugging</li><li>Optimize the <code>Hooker</code> implementation of <code>YukiHookBridge</code> to improve Hook performance</li><li><code>PackageParam</code> adds the <code>onAppLifecycle</code> method, which can natively monitor the life cycle of the host and implement the registration system broadcast function</li><li>Added <code>YukiHookDataChannel</code> function to communicate using system out-of-order broadcast while the module and the host remain alive</li><li><code>YukiHookDataChannel</code> adds the <code>checkingVersionEquals</code> method, which can be monitored to verify that the host has not updated the version mismatch problem after the module is updated</li><li>Added Java version example in the example code of <code>demo-module</code> for reference only</li></ul>",1),wo={id:"_1-0-87-2022-05-10",tabindex:"-1"},Ao=e("a",{class:"header-anchor",href:"#_1-0-87-2022-05-10","aria-hidden":"true"},"#",-1),Ho=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),Po={id:"_1-0-86-2022-05-06",tabindex:"-1"},Co=e("a",{class:"header-anchor",href:"#_1-0-86-2022-05-06","aria-hidden":"true"},"#",-1),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),Mo={id:"_1-0-85-2022-05-04",tabindex:"-1"},Yo=e("a",{class:"header-anchor",href:"#_1-0-85-2022-05-04","aria-hidden":"true"},"#",-1),Io=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),Ro={id:"_1-0-83-2022-05-04",tabindex:"-1"},So=e("a",{class:"header-anchor",href:"#_1-0-83-2022-05-04","aria-hidden":"true"},"#",-1),Do=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),To={id:"_1-0-82-2022-05-04",tabindex:"-1"},Lo=e("a",{class:"header-anchor",href:"#_1-0-82-2022-05-04","aria-hidden":"true"},"#",-1),zo=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),Xo={id:"_1-0-81-2022-05-04",tabindex:"-1"},jo=e("a",{class:"header-anchor",href:"#_1-0-81-2022-05-04","aria-hidden":"true"},"#",-1),Oo=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),Bo={id:"_1-0-80-2022-05-01",tabindex:"-1"},Eo=e("a",{class:"header-anchor",href:"#_1-0-80-2022-05-01","aria-hidden":"true"},"#",-1),No=n("<li>The <code>InjectYukiHookWithXposed</code> annotation adds the <code>entryClassName</code> function, which can customize the generated <code>xposed_init</code> entry class name</li><li><s><code>YukiHookXposedInitProxy</code></s> renamed to <code>IYukiHookXposedInit</code>, the original interface name has been invalidated and will be deleted directly in subsequent versions</li><li>Added <code>initZygote</code> and Resources Hook functions to support Hook Layout</li><li>Added <code>onXposedEvent</code> method to listen to all events of native Xposed API</li><li>Perform <code>inline</code> processing on the <strong>lambda</strong> of the Hook function to avoid generating excessively broken anonymous classes and improve the running performance after compilation</li><li>Fixed <code>PrefsData</code> compiled method body copy is too large</li><li>Added <code>XSharePreference</code> readability test, which will automatically print a warning log if it fails</li><li><code>PackageParam</code> adds <code>appResources</code>, <code>moduleAppResources</code>, <code>moduleAppFilePath</code> functions</li><li><code>loadApp</code> of <code>PackageParam</code> adds the function of not writing <code>name</code>, and all APPs are filtered by default</li><li><code>PackageParam</code> adds the <code>loadZygote</code> method, which can directly hook the system framework</li><li><code>PackageParam</code> added <code>resources().hook</code> function</li><li>Optimization method, construction method, variable search function, the error log that cannot be found will display the set query conditions first</li><li>Added <code>hasExtends</code> extension method to determine whether the current <code>Class</code> has an inheritance relationship</li><li>Added <code>isSupportResourcesHook</code> function to determine whether resource hooks are currently supported (Resources Hook)</li><li><code>current</code> function adds <code>superClass</code> method to call superclass</li><li>New <code>superClass</code> query conditions for search methods, construction methods and variables, you can continue to search in the parent class</li><li><code>YukiHookAPI</code> lots of methods are decoupled from Xposed API</li><li>Added native Hook priority function of Xposed API</li><li>Fixed the problem that <code>isFirstApplication</code> may be inaccurate</li><li>Block the problem that MiuiCatcherPatch repeatedly calls the Hook entry method on the MIUI system</li><li>Optimize Hook entry calling method to avoid multiple calls due to Hook Framework issues</li>",21),Wo=e("code",null,"ClassLoader",-1),qo={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},Vo=e("li",null,[o("Improve the performance after the "),e("code",null,"XC_Callback"),o(" interface is connected")],-1),Ko=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),Zo={id:"_1-0-78-2022-04-18",tabindex:"-1"},Go=e("a",{class:"header-anchor",href:"#_1-0-78-2022-04-18","aria-hidden":"true"},"#",-1),Jo=n("<li><code>YukiHookModulePrefs</code> adds <code>isRunInNewXShareMode</code> method, which can be used to determine whether the module is currently in <code>New XSharePreference</code> mode</li><li>Fixed <code>YukiHookModulePrefs</code> working in <code>New XSharePreference</code> mode</li><li>Added <code>ModulePreferenceFragment</code>, now you can completely replace <code>PreferenceFragmentCompat</code> and start using the new functionality</li>",3),Qo=e("code",null,"PreferenceFragmentCompat",-1),$o={href:"https://github.com/mahoshojoHCG",target:"_blank",rel:"noopener noreferrer"},et=e("li",null,"Update autohandlers and Kotlin dependencies to the latest version",-1),ot=e("li",null,"Fixed some bugs in documentation and code comments",-1),tt={id:"_1-0-77-2022-04-15",tabindex:"-1"},dt=e("a",{class:"header-anchor",href:"#_1-0-77-2022-04-15","aria-hidden":"true"},"#",-1),it=e("code",null,"YukiHookModulePrefs",-1),nt=e("code",null,"clear",-1),at={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},ct=n("<li><code>YukiHookModulePrefs</code> added <code>getStringSet</code>, <code>putStringSet</code>, <code>all</code> methods</li><li>Added <code>any</code> method to <code>args</code> of <code>HookParam</code></li><li>Added <code>ModuleApplication</code>, which can be inherited in modules to achieve more functions</li><li>Connect all <code>findClass</code> functions to the Xposed API, and continue to use native <code>ClassLoader</code> in non-hosted environments</li><li>Fixed some possible bugs</li>",5),lt={id:"_1-0-75-2022-04-13",tabindex:"-1"},st=e("a",{class:"header-anchor",href:"#_1-0-75-2022-04-13","aria-hidden":"true"},"#",-1),rt={href:"https://github.com/ApeaSuperz",target:"_blank",rel:"noopener noreferrer"},ht=n("<li>Fixed an issue where the reference to a doc comment was not changed</li><li><code>firstArgs</code> and <code>lastArgs</code> methods have been removed from <code>HookParam</code>, now you can use <code>args().first()</code> and <code>args().last()</code> instead of it</li><li>Removed default parameter <code>index = 0</code> in <code>args()</code> in <code>HookParam</code>, now you can use <code>args().first()</code> or <code>args(index = 0)</code> to replace it</li><li>The <code>result</code> function in <code>HookParam</code> adds generic matching, now you can use <code>result&lt;T&gt;</code> to match the known return value type of your target method</li><li>The <code>emptyParam</code> 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 improved</li><li>Added <code>android</code> type in <code>type</code></li>",6),ut={id:"_1-0-73-2022-04-10",tabindex:"-1"},mt=e("a",{class:"header-anchor",href:"#_1-0-73-2022-04-10","aria-hidden":"true"},"#",-1),pt={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},ft=e("code",null,"XC_LoadPackage.LoadPackageParam",-1),gt={href:"https://github.com/luckyzyx",target:"_blank",rel:"noopener noreferrer"},_t=e("li",null,"Fixed some known bugs and improve Hook stability",-1),kt={id:"_1-0-72-2022-04-09",tabindex:"-1"},bt=e("a",{class:"header-anchor",href:"#_1-0-72-2022-04-09","aria-hidden":"true"},"#",-1),yt=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),xt={id:"_1-0-71-2022-04-04",tabindex:"-1"},vt=e("a",{class:"header-anchor",href:"#_1-0-71-2022-04-04","aria-hidden":"true"},"#",-1),wt=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),At={id:"_1-0-70-2022-04-04",tabindex:"-1"},Ht=e("a",{class:"header-anchor",href:"#_1-0-70-2022-04-04","aria-hidden":"true"},"#",-1),Pt=e("li",null,[o("Fixed "),e("code",null,"instanceClass"),o(" reporting an error after being called in a static instance")],-1),Ct=e("code",null,"isUseAppClassLoader",-1),Ft={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},Mt=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),Yt=e("li",null,"Fixed critical logic errors in lookup methods, constructor classes and variables",-1),It=e("li",null,"Fixed the problem that the abnormal output cannot be ignored when the Hook target class does not exist",-1),Rt=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),St=e("code",null,"allMethods",-1),Dt={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},Tt={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},Lt=e("li",null,"Modify the way the Xposed entry is injected into the class, and redefine the definition domain of the API",-1),zt=e("code",null,"index",-1),Xt={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},jt=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),Ot=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),Bt={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},Et={id:"_1-0-69-2022-03-30",tabindex:"-1"},Nt=e("a",{class:"header-anchor",href:"#_1-0-69-2022-03-30","aria-hidden":"true"},"#",-1),Wt=e("li",null,"Added and improved annotations for some method functions",-1),qt=e("li",null,"Added more example Hook content in Demo",-1),Vt=e("code",null,"allMethods",-1),Kt={href:"https://github.com/WankkoRee",target:"_blank",rel:"noopener noreferrer"},Ut={id:"_1-0-68-2022-03-29",tabindex:"-1"},Zt=e("a",{class:"header-anchor",href:"#_1-0-68-2022-03-29","aria-hidden":"true"},"#",-1),Gt=n("<ul><li>Added new use case and LSPosed scope in Demo</li><li>Added <code>Member</code> lookup cache and lookup cache configuration switches</li><li>Removed and modified <code>MethodFinder</code>, <code>FieldFinder</code> and <code>HookParam</code> related method calls</li><li>Add more <code>cast</code> types in <code>Finder</code> and support <code>cast</code> as array</li><li>Overall performance and stability improvements</li><li>Fixed bugs that may exist in the previous version</li></ul>",1),Jt={id:"_1-0-67-2022-03-27",tabindex:"-1"},Qt=e("a",{class:"header-anchor",href:"#_1-0-67-2022-03-27","aria-hidden":"true"},"#",-1),$t=n("<ul><li>Added three <code>modifiers</code> functions in <code>Finder</code>, which can filter <code>static</code>, <code>native</code>, <code>public</code>, <code>abstract</code> and many other description types</li><li>When searching for methods and constructors, the method parameter type can be blurred to a specified number for searching</li><li>Added <code>hasModifiers</code> extension for <code>Member</code></li><li>Added <code>give</code> method in <code>MethodFinder</code> and <code>ConstructorFinder</code> to get primitive types</li><li>Added <code>PrefsData</code> template function in <code>YukiHookModulePrefs</code></li><li>Completely refactored method, constructor and variable lookup scheme</li><li>Optimized code comments and fixed possible bugs</li></ul>",1),ed={id:"_1-0-66-2022-03-25",tabindex:"-1"},od=e("a",{class:"header-anchor",href:"#_1-0-66-2022-03-25","aria-hidden":"true"},"#",-1),td=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),dd={id:"_1-0-65-2022-03-25",tabindex:"-1"},id=e("a",{class:"header-anchor",href:"#_1-0-65-2022-03-25","aria-hidden":"true"},"#",-1),nd=n("<ul><li>Republished version to fix the incorrect new version of the Maven repository due to cache issues</li><li>Added <code>MethodFinder</code> and <code>FieldFinder</code> new return value calling methods</li><li>Fixed possible problems and fix possible problems during the use of Tai Chi</li><li>Fixed possible problems with auto-generated Xposed entry classes</li><li>Added <code>android</code> type and Java type in <code>type</code></li></ul>",1),ad={id:"_1-0-6-2022-03-20",tabindex:"-1"},cd=e("a",{class:"header-anchor",href:"#_1-0-6-2022-03-20","aria-hidden":"true"},"#",-1),ld=n("<ul><li>Fixed <code>YukiHookModulePrefs</code> being ignored every time after using <code>direct</code> once to ignore cache</li><li>Added new API, abolished the traditional usage of <code>isActive</code> to judge module activation</li><li>Fixed the issue of printing debug logs when using the API in a non-Xposed environment</li><li>Fixed log output issue and unintercepted exception issue when looking for <code>Field</code></li><li>Decoupling Xposed API in <code>ReflectionUtils</code></li><li>Added <code>YukiHookModuleStatus</code> method name confusion to reduce the size of module generation</li><li>The welcome message will no longer be printed when loading the module&#39;s own Hook</li><li>Fixed some bugs that still exist in the previous version</li></ul>",1),sd={id:"_1-0-55-2022-03-18",tabindex:"-1"},rd=e("a",{class:"header-anchor",href:"#_1-0-55-2022-03-18","aria-hidden":"true"},"#",-1),hd=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 Java types")]),e("li",null,"Fixed compatibility issues between new and old Kotlin APIs")],-1),ud={id:"_1-0-5-2022-03-18",tabindex:"-1"},md=e("a",{class:"header-anchor",href:"#_1-0-5-2022-03-18","aria-hidden":"true"},"#",-1),pd=n("<ul><li>Fixed the problem that the welcome message was printed multiple times in the case of the old version of the LSPosed framework</li><li>Added <code>onInit</code> method to configure <code>YukiHookAPI</code></li><li>Added <code>executorName</code> and <code>executorVersion</code> to get the name and version number of the current hook framework</li><li>Added <code>by</code> method to set the timing and condition of Hook</li><li><code>YukiHookModulePrefs</code> adds a controllable key-value cache, which can dynamically update data when the host is running</li><li>Fixed some possible bugs</li></ul>",1),fd={id:"_1-0-4-2022-03-06",tabindex:"-1"},gd=e("a",{class:"header-anchor",href:"#_1-0-4-2022-03-06","aria-hidden":"true"},"#",-1),_d=n("<ul><li>Fixed LSPosed cannot find <code>XposedBridge</code> after enabling &quot;Only module classloader can use Xposed API&quot; option in latest version</li><li>Added constant version name and version number for <code>YukiHookAPI</code></li><li>Added <code>hasField</code> method and <code>isAllowPrintingLogs</code> configuration parameter</li><li>Added <code>isDebug</code> to enable the API to automatically print the welcome message to test whether the module is valid</li></ul>",1),kd={id:"_1-0-3-2022-03-02",tabindex:"-1"},bd=e("a",{class:"header-anchor",href:"#_1-0-3-2022-03-02","aria-hidden":"true"},"#",-1),yd=n("<ul><li>Fixed a potential exception not intercepted BUG</li><li>Added <code>ignoredError</code> function</li><li>Added <code>android</code> type in <code>type</code></li><li>Added <code>ClassNotFound</code> function after listening to <code>hook</code></li></ul>",1),xd={id:"_1-0-2-2022-02-18",tabindex:"-1"},vd=e("a",{class:"header-anchor",href:"#_1-0-2-2022-02-18","aria-hidden":"true"},"#",-1),wd=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),Ad={id:"_1-0-1-2022-02-15",tabindex:"-1"},Hd=e("a",{class:"header-anchor",href:"#_1-0-1-2022-02-15","aria-hidden":"true"},"#",-1),Pd=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 Java type in "),e("code",null,"type")]),e("li",null,"Fixed the issue that ignored errors still output in the console")],-1),Cd={id:"_1-0-2022-02-14",tabindex:"-1"},Fd=e("a",{class:"header-anchor",href:"#_1-0-2022-02-14","aria-hidden":"true"},"#",-1),Md=e("ul",null,[e("li",null,"The first version is submitted to Maven")],-1);function Yd(Id,Rd){const d=a("Badge"),i=a("ExternalLinkIcon");return l(),s("div",null,[h,e("h3",u,[m,o(" 1.3.0 | 2024.06.25 "),t(d,{type:"tip",text:"latest",vertical:"middle"})]),e("ul",null,[e("li",null,[o("This is a major update, please refer to "),e("a",p,[o("Migrate to YukiHookAPI 1.3.x"),t(i)])]),e("li",null,[o("The reflection API of "),f,o(" is deprecated, please move to the brand new "),e("a",g,[o("KavaRef"),t(i)])]),_,e("li",null,[k,o(" has been deprecated and has now switched to "),e("a",b,[o("AndroidHiddenApiBypass"),t(i)])])]),e("h3",y,[x,o(" 1.2.1 | 2024.06.20 "),t(d,{type:"warning",text:"stale",vertical:"middle"})]),e("ul",null,[v,e("li",null,[o('Add automatic use of "`" in the automatic handler to fix the situation where Kotlin keywords are package names, thanks to '),e("a",w,[o("Fengning Zhu"),t(i)]),o(" for "),e("a",A,[o("PR"),t(i)])]),e("li",null,[o("Adapt to Kotlin 2.0.0+, fix the problem that it cannot be compiled during automatic processing, thanks to "),e("a",H,[o("xihan123"),t(i)]),o(" for "),e("a",P,[o("PR"),t(i)])])]),e("h3",C,[F,o(" 1.2.0 | 2023.10.07 "),t(d,{type:"warning",text:"stale",vertical:"middle"})]),e("ul",null,[M,e("li",null,[o("This is a breaking update, please refer to "),e("a",Y,[o("Migrate to YukiHookAPI 1.2.x"),t(i)]),o(" for details")]),e("li",null,[o("Adapted to Android 14, thanks to "),e("a",I,[o("BlueCat300"),t(i)]),o(" for "),e("a",R,[o("PR"),t(i)])]),e("li",null,[o("Fixed "),S,o(" related issues, thanks to "),e("a",D,[o("buffcow"),t(i)]),o(" for "),e("a",T,[o("PR"),t(i)])]),e("li",null,[o("Fixed the delayed callback problem in the Hook process, thanks to "),e("a",L,[o("cesaryuan"),t(i)]),o(" for his "),e("a",z,[o("Issue"),t(i)])]),e("li",null,[o("Added support for Resources Hook related functions, please refer to this "),e("a",X,[o("Issue"),t(i)]),o(" for details")]),j,e("li",null,[o("Detached "),e("a",O,[o("FreeReflection"),t(i)]),o(" will no longer be automatically generated and will be automatically imported as a dependency")]),B]),e("h3",E,[N,o(" 1.1.11 | 2023.04.25 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[e("li",null,[o("Fixed a critical issue since "),W,o(" version where the "),q,o(" cache did not take effect and persistent storage eventually caused app out of memory (OOM), thanks to "),e("a",V,[o("Art-Chen"),t(i)])]),K]),e("h3",U,[Z,o(" 1.1.10 | 2023.04.21 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),G,e("h3",J,[Q,o(" 1.1.9 | 2023.04.17 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),$,e("h3",ee,[oe,o(" 1.1.8 | 2023.02.01 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[e("li",null,[o("Fixed the problem that the underlying Hook method cannot update the modified state synchronously when modifying parameters such as "),te,o(" during callback, thanks to the "),e("a",de,[o("Issue"),t(i)]),o(" of "),e("a",ie,[o("Yongzheng Lai"),t(i)])]),ne]),e("h3",ae,[ce,o(" 1.1.6 | 2023.01.21 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),le,e("h3",se,[re,o(" 1.1.5 | 2023.01.13 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),he,e("h3",ue,[me,o(" 1.1.4 | 2022.10.04 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),pe,e("h3",fe,[ge,o(" 1.1.3 | 2022.09.30 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),_e,e("h3",ke,[be,o(" 1.1.2 | 2022.09.30 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),ye,e("h3",xe,[ve,o(" 1.1.1 | 2022.09.28 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),we,e("h3",Ae,[He,o(" 1.1.0 | 2022.09.28 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[Pe,e("li",null,[o("Change the help documentation framework to "),e("a",Ce,[o("VuePress"),t(i)])]),Fe,e("li",null,[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 "),e("a",Me,[o("5ec1cff"),t(i)]),o(" for the feedback and solutions provided")]),Ye,e("li",null,[Ie,o(" function in "),Re,o(" renamed to "),Se,o(", thanks to "),e("a",De,[o("Kitsune"),t(i)]),o(" suggestion")]),Te,e("li",null,[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 "),Le,o(" and "),e("a",ze,[o("Kitsune"),t(i)]),o(" for suggestions")]),e("li",null,[o("Fixed the problem that the object obtained by "),Xe,o(" is incorrect in system applications in some systems, thanks to "),e("a",je,[o("Luckyzyx"),t(i)]),o(" for the feedback")]),Oe,e("li",null,[o("Fixed the problem of wrong value of "),Be,o(" method in "),Ee,o(" and optimize the code style, thanks to "),e("a",Ne,[o("Teddy_Zhu"),t(i)]),o(),e("a",We,[o("PR"),t(i)])]),qe,Ve,Ke,e("li",null,[o("Added automatic hook "),Ue,o(" to fix the problem that file permissions are not "),Ze,o(" in some systems, thanks to "),e("a",Ge,[o("5ec1cff"),t(i)]),o(" for the feedback and implementation code provided")]),Je,e("li",null,[o("Added "),Qe,o(" type to Resources Hook, thanks to "),e("a",$e,[o("PR"),t(i)]),o(" of "),e("a",eo,[o("GSWXXN"),t(i)])]),oo,to,io,no]),e("h3",ao,[co,o(" 1.0.92 | 2022.05.31 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),lo,e("h3",so,[ro,o(" 1.0.91 | 2022.05.29 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[e("li",null,[o("Fixed the "),ho,o(" error when the customized system of some devices is booted in the LSPosed environment, thanks to "),e("a",uo,[o("Luckyzyx"),t(i)]),o(" for the feedback")]),mo]),e("h3",po,[fo,o(" 1.0.90 | 2022.05.27 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),go,e("h3",_o,[ko,o(" 1.0.89 | 2022.05.26 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),bo,e("h3",yo,[xo,o(" 1.0.88 | 2022.05.25 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),vo,e("h3",wo,[Ao,o(" 1.0.87 | 2022.05.10 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Ho,e("h3",Po,[Co,o(" 1.0.86 | 2022.05.06 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Fo,e("h3",Mo,[Yo,o(" 1.0.85 | 2022.05.04 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Io,e("h3",Ro,[So,o(" 1.0.83 | 2022.05.04 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Do,e("h3",To,[Lo,o(" 1.0.82 | 2022.05.04 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),zo,e("h3",Xo,[jo,o(" 1.0.81 | 2022.05.04 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Oo,e("h3",Bo,[Eo,o(" 1.0.80 | 2022.05.01 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[No,e("li",null,[o("Fixed the problem that Hook "),Wo,o(" causes Hook to freeze, thanks to "),e("a",qo,[o("WankkoRee"),t(i)]),o(" for the feedback")]),Vo,Ko,Uo]),e("h3",Zo,[Go,o(" 1.0.78 | 2022.04.18 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[Jo,e("li",null,[o("Adapt the Sp data storage solution of "),Qo,o(", thanks to "),e("a",$o,[o("mahoshojoHCG"),t(i)]),o(" for feedback")]),et,ot]),e("h3",tt,[dt,o(" 1.0.77 | 2022.04.15 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[e("li",null,[it,o(" added "),nt,o(" method, thanks to "),e("a",at,[o("WankkoRee"),t(i)]),o(" for the suggestion")]),ct]),e("h3",lt,[st,o(" 1.0.75 | 2022.04.13 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[e("li",null,[o("Corrected the logic recognition part of the automatic handler, thanks to "),e("a",rt,[o("ApeaSuperz"),t(i)]),o(" contribution")]),ht]),e("h3",ut,[mt,o(" 1.0.73 | 2022.04.10 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[e("li",null,[o("Fixed some Chinese translation errors in documents, thanks to "),e("a",pt,[o("WankkoRee"),t(i)]),o(" for their contributions")]),e("li",null,[o("Fixed the problem that "),ft,o(" throws an exception when the content is empty in some cases, thanks to "),e("a",gt,[o("Luckyzyx"),t(i)]),o(" for the feedback")]),_t]),e("h3",kt,[bt,o(" 1.0.72 | 2022.04.09 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),yt,e("h3",xt,[vt,o(" 1.0.71 | 2022.04.04 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),wt,e("h3",At,[Ht,o(" 1.0.70 | 2022.04.04 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[Pt,e("li",null,[o("Add "),Ct,o(" function in Hook process, thanks to "),e("a",Ft,[o("WankkoRee"),t(i)]),o(" for feedback")]),Mt,Yt,It,Rt,e("li",null,[o("Fixed "),St,o(" not throwing an exception when it is not hooked to a method, thanks to "),e("a",Dt,[o("WankkoRee"),t(i)]),o(" for the feedback")]),e("li",null,[o("Added Hook status monitoring function, thanks to "),e("a",Tt,[o("WankkoRee"),t(i)]),o(" for the suggestion")]),Lt,e("li",null,[o("Added obfuscated method and variable lookup function, you can use different types of filter "),zt,o(" to locate the specified method and variable, thanks to "),e("a",Xt,[o("WankkoRee"),t(i)]),o(" for the ideas provided")]),jt,Ot,e("li",null,[o("Fixed a lot of bugs in the hook process, thanks to "),e("a",Bt,[o("WankkoRee"),t(i)]),o(" for contributing to this project")])]),e("h3",Et,[Nt,o(" 1.0.69 | 2022.03.30 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),e("ul",null,[Wt,qt,e("li",null,[o("Fixed the issue that only the last one takes effect when "),Vt,o(" is used multiple times in a Hook instance, thanks to "),e("a",Kt,[o("WankkoRee"),t(i)]),o(" for the feedback")])]),e("h3",Ut,[Zt,o(" 1.0.68 | 2022.03.29 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Gt,e("h3",Jt,[Qt,o(" 1.0.67 | 2022.03.27 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),$t,e("h3",ed,[od,o(" 1.0.66 | 2022.03.25 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),td,e("h3",dd,[id,o(" 1.0.65 | 2022.03.25 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),nd,e("h3",ad,[cd,o(" 1.0.6 | 2022.03.20 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),ld,e("h3",sd,[rd,o(" 1.0.55 | 2022.03.18 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),hd,e("h3",ud,[md,o(" 1.0.5 | 2022.03.18 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),pd,e("h3",fd,[gd,o(" 1.0.4 | 2022.03.06 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),_d,e("h3",kd,[bd,o(" 1.0.3 | 2022.03.02 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),yd,e("h3",xd,[vd,o(" 1.0.2 | 2022.02.18 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),wd,e("h3",Ad,[Hd,o(" 1.0.1 | 2022.02.15 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Pd,e("h3",Cd,[Fd,o(" 1.0 | 2022.02.14 "),t(d,{type:"danger",text:"outdate",vertical:"middle"})]),Md])}const Dd=c(r,[["render",Yd],["__file","changelog.html.vue"]]);export{Dd as default};