6.7.0 - 发行版发布准备

This commit is contained in:
SuperMonster003
2026-03-14 22:36:27 +08:00
parent 6ffa12165d
commit e72ff562f6
60 changed files with 7644 additions and 1704 deletions

View File

@@ -1,5 +1,234 @@
{
"$data": {
"v6.7.0": {
"released_date": "2026/03/14",
"feature": [
"Plugin Center feature, supporting plugin install/uninstall/update and related operations (entry: home drawer button/home tab)",
"Version History feature, supporting viewing/restoring history versions of editable files (entry: home drawer button/file manager menu/code editor menu)",
"Trash feature, supporting viewing/restoring deleted files/folders (entry: home drawer button)",
"Paddle OCR (PP-OCRv5) plugin, for optical character recognition",
"cvt module, for data unit conversion (see Project Docs > [Unit Conversion](https://docs.autojs6.com/#/cvt))",
"fmt module, for data formatting (see Project Docs > [Formatting](https://docs.autojs6.com/#/fmt))",
"zip module, for file compression and extraction operations (Ref to [Auto.js Pro](https://g.pro.autojs.org/)) (see Project Docs > [Zip](https://docs.autojs6.com/#/zip))",
"mediainfo module, for viewing detailed information of media files (see Project Docs > [Media Info](https://docs.autojs6.com/#/mediainfo))",
"cvt.bytes method, for byte data unit conversion (see Project Docs > [Unit Conversion](https://docs.autojs6.com/#/cvt))",
"fmt.bytes method, for byte data formatting (see Project Docs > [Formatting](https://docs.autojs6.com/#/fmt))",
"s13n.bytes method, for standardizing byte data (see Project Docs > [Standardization](https://docs.autojs6.com/#/s13n))",
"app.isDualInstalled method, for detecting whether a dual-installed app is installed (requires Shizuku or Root permission) _[`issue #450`](http://issues.autojs6.com/450)_",
"device.getSharedDeviceId method, for obtaining a unified shared device ID across apps _[`issue #455`](http://issues.autojs6.com/455)_",
"device.setPointerLocation and other Toggleable series methods, for setting or getting the pointer location system setting _[`issue #381`](http://issues.autojs6.com/381)_",
"dialogs.build method now supports textAllCaps/(positive/negative/neutral)TextAllCaps option parameters, for controlling whether button texts are all uppercase",
"images.loadAsync method, for asynchronously fetching network image resources _[`issue #327`](http://issues.autojs6.com/327)_",
"ui.getNavigationBarHeight method/navigationBarHeight property (getter), for getting navigation bar height _[`issue #456`](http://issues.autojs6.com/456)_",
"ui.getVisible(Status/Navigation)BarHeight method/visible(Status/Navigation)BarHeight property (getter), for quickly getting visible height of the status bar or navigation bar _[`issue #456`](http://issues.autojs6.com/456)_",
"http.put/del(ete)/head methods, for sending network requests with different HTTP methods",
"http.getAsync/postAsync/requestAsync and related methods, for asynchronously sending network requests _[`issue #423`](http://issues.autojs6.com/423)_",
"body objects returned by http module request-related methods now include stream/saveToFile/close and related methods _[`issue #452`](http://issues.autojs6.com/452)_",
"http module request-related methods now support cache control option parameters (cacheBody/bodyCacheThresholdBytes)",
"http module request-related methods now support insecure option parameters (isInsecure/insecure), for ignoring certificate-related exceptions _[`issue #417`](http://issues.autojs6.com/417)_",
"http module request-related methods now support the options.client option, for configuring OkHttpClient.Builder (such as followRedirects) _[`issue #454`](http://issues.autojs6.com/454)_",
"auto.state property (getter) and shizuku.state property (getter), for obtaining accessibility service status and Shizuku service status",
"runtime.(set/is)JavaPrimitiveWrap methods, for setting or getting Java primitive wrapping strategy _[`issue #435`](http://issues.autojs6.com/435)_",
"autojs.(restart/exit) methods, for restarting or exiting the AutoJs6 app, and supporting automatic script execution on app restart with the specified arguments _[`issue #460`](http://issues.autojs6.com/460)_",
"UiObject#isShifted method, for detecting control position changes _[`issue #469`](http://issues.autojs6.com/469)_",
"UiObject#snapshot method, for capturing the current state of a control _[`issue #469`](http://issues.autojs6.com/469)_",
"engines.myEngine().getStartTime() method, for getting the script engine startup timestamp _[`issue #449`](http://issues.autojs6.com/449)_",
"crash global method, for testing the crash report page",
"structuredClone global method, for deep-cloning JavaScript objects (see [MDN](https://developer.mozilla.org/zh-CN/docs/Web/API/Window/structuredClone))",
"Equivalent series selectors (UiSelector#id/text/...) and contains series selectors (UiSelector#xxxContains) now support regular expression parameters",
"Regular expression parameters of selectors now support flags (i, m, s, u)",
"Regular expressions now support lookbehind assertion syntax _[`issue #464`](http://issues.autojs6.com/464)_",
"File manager now includes \"Move to\" and \"Copy to\" menu items, supporting operation abort and progress status display",
"Code editor now includes the \"Multi-function Keyboard\" - \"Symbol Settings\" menu item, supporting symbol editing and symbol creation/import/export by profile level",
"Home drawer now includes the \"Pointer Location\" tool",
"Home drawer now includes the \"All Files Access\" switch",
"Home drawer now includes the \"Show UI from Background\" switch (for [Xiaomi/Vivo] devices)",
"Settings page now includes the \"Java Primitive Wrap\" option _[`issue #435`](http://issues.autojs6.com/435)_",
"Settings page now includes the \"Scheduled Task Engine\" option, supporting AlarmManager/WorkManager/JobScheduler _[`issue #457`](http://issues.autojs6.com/457)_ _[`issue #434`](http://issues.autojs6.com/434)_ _[`issue #449`](http://issues.autojs6.com/449)_ _[`issue #388`](http://issues.autojs6.com/388)_ _[`issue #378`](http://issues.autojs6.com/378)_ _[`issue #163`](http://issues.autojs6.com/163)_ _[`issue #53`](http://issues.autojs6.com/53)_ _[`issue #21`](http://issues.autojs6.com/21)_",
"Settings page now includes the \"App Launcher Icon\" option, supporting adaptive icons/transparent background icons _[`issue #405`](http://issues.autojs6.com/405)_",
"Settings page now includes the \"Restart Strategy\" option, for configuring whether the home drawer restart button uses the fast restart strategy",
"Settings page now includes the \"Screen Capture Permission Request Delay\" option, for preventing the permission request window from blocking the screen",
"Launcher shortcuts in the Settings page now include the \"Plugins\" option, for jumping to the Plugin Center page via a shortcut",
"Packaged apps now support auto-start on boot, with a switch added on the configuration page",
"Packaged apps now support app shortcuts (log page/settings page)",
"Packaged app configuration page now includes undo/redo/save buttons",
"Packaged app configuration page now includes a profile mechanism, supporting profile creation/modification/deletion/import/export _[`issue #483`](http://issues.autojs6.com/483)_",
"Scrapers tool (run-scrapers.mjs), for automatically updating structured data in Gradle build scripts/common README data/README template data and more",
"Gradle Wrapper switcher tool (gradle-wrapper-switcher), for switching local Gradle major versions (such as Gradle 8.x and Gradle 9.x)"
],
"fix": [
"Incorrect parameter count and type restrictions for the notice method _[`issue #462`](http://issues.autojs6.com/462)_",
"Issue where the ui.R property (getter) could not be used properly",
"Issue where exceptions raised in ui.post callback parameters could fail silently",
"Issue where global methods such as isJavaClass/isJavaPackage were invalid",
"Issue where the timeout parameter of timers.keepAlive did not work",
"Issue where floaty.window/rawWindow methods could not accept string parameters _[`issue #467`](http://issues.autojs6.com/467)_",
"Issue where floaty.rawWindow could display some controls incorrectly due to an incorrect context being passed",
"Issue where util.isString method was invalid",
"Issue where util.class[Name]/getClass[Name] could return incorrect results",
"Issue where util.java.array could not properly use type parameters such as Boolean",
"Issue where objects returned by threads.disposable() could be unexpectedly boxed when accessing stored data _[`issue #435`](http://issues.autojs6.com/435)_",
"Issue where style options of the floating log window could not reset properly when console.build was called multiple times",
"Issue where (title/content)BackgroundColor options of console.build could override transparency or tint options _[`issue #458`](http://issues.autojs6.com/458)_",
"Issue where console/toast and related methods could lose trailing zeros when displaying Java Double values",
"Issue where console/toast and related methods could not display BigInt values",
"Issue where the toast method could cause memory leaks due to holding a strong reference to the Toast instance",
"Issue where some global objects could lose JavaScript prototype properties and methods",
"Issue where the this object could point incorrectly when JavaScript expressions were used as attribute values in XML syntax",
"Issue where the linkify option parameter of dialogs.build did not work",
"Issue where dialogs.build could break original data in object parameters",
"Incorrect internal frame rate calculation in the setMaxFps method of the canvas element control",
"Incorrect width calculation when images.concat performed vertical concatenation",
"Issue where canceling authorization in images.requestScreenCapture could crash the app",
"Issue where screenshots obtained by images.captureScreen could have incorrect orientation or black border padding _[`issue #337`](http://issues.autojs6.com/337)_",
"Issue where 1 could be incorrectly parsed as a percentage when some images-related methods used region parameters",
"Issue where the oneShot flag could fail when exceptions occurred in some images-related methods _[`issue #372`](http://issues.autojs6.com/372)_",
"Issue where some images-related methods could cause memory leaks _[`issue #372`](http://issues.autojs6.com/372)_",
"Issue where images.save and ImageWrapper#saveTo could not properly write files when the input path did not exist",
"Issue where ImageWrapper#recycle failed to recycle image resources",
"Issue where some overloaded ocr methods might not work properly",
"Issue where results obtained by ocr.detect might not match ocr.mode _[`issue #468`](http://issues.autojs6.com/468)_",
"Issue where accessibility events registered by auto.registerEvent could be mistakenly cleared by other scripts _[`issue #466`](http://issues.autojs6.com/466)_ _[`issue #343`](http://issues.autojs6.com/343#issuecomment-3263953918)_",
"Issue where UiObject#child could throw ArrayIndexOutOfBoundsException on Android 10 _[`issue #416`](http://issues.autojs6.com/416)_",
"Issue where built-in module method calls could run into inconsistent Rhino context problems",
"Issue where creating a large number of floating windows in scripts could leave residual windows after script exit",
"Issue where project.json configuration parameters might not be parsed properly when running a project",
"Issue where the excludedDirs parameter in project.json could cause configuration parsing failure during project packaging _[`issue #428`](http://issues.autojs6.com/428)_",
"Issue where packaging might not work properly on Android 7.x",
"Issue where original key names could be modified when saving script project configuration files",
"Issue where very large build version codes or build times in script project configuration files could crash the app",
"Issue where frequent fetching or rebuilding of ImageReader could crash the app due to no available frame in the buffer",
"Issue where the input event observer InputEventObserver could cause noticeable app startup lag",
"Issue where Shizuku user service processes did not terminate properly and accumulated _[`issue #474`](http://issues.autojs6.com/474)_",
"Issue where packaged apps could not properly use Paddle OCR and Rapid OCR features",
"Issue where key values in packaged app configuration file project.json could be modified unexpectedly",
"Issue where checkbox icons could flicker when scrolling the \"Required Permissions\" list on the packaged app configuration page",
"Issue where statistics on the Release History page could be displayed incompletely on some systems due to font differences",
"Issue where MLKit Google OCR could not initialize properly on some devices (tentative fix) _[`issue #8`](http://issues.autojs6.com/8#issuecomment-3117061768)_",
"Issue where file manager function buttons could not properly receive click events on some devices (tentative fix) _[`issue #465`](http://issues.autojs6.com/465)_",
"Issue where blank lines in the code editor displayed box glyphs on some devices (tentative fix)",
"Issue where the soft keyboard could block text content in the code editor",
"Issue where code content could still be edited in read-only mode in the code editor",
"Issue where tapping the title area or some menu items in read-only mode in the code editor could crash the app",
"Issue where loading large files in the code editor could crash the app (tentative fix)",
"Abnormal initialization of function button states when the code editor automatically opened a new file",
"Issue where putting the app in background while editing a file in the code editor could crash the app",
"Issue where tapping the fx button in the code editor on Android 15+ could not show the quick panel for module functions (tentative fix)",
"Issue where ErrorDialogActivity could fail to start properly or disappear automatically in a short time _[`issue #479`](http://issues.autojs6.com/479)_ _[`issue #471`](http://issues.autojs6.com/471)_ _[`issue #414`](http://issues.autojs6.com/414)_ _[`issue #340`](http://issues.autojs6.com/340#issuecomment-2973485826)_",
"Incorrect accepted parameter types for the Canvas constructor _[`issue #402`](http://issues.autojs6.com/402)_",
"Issue where copying detailed information on the crash report page did not work",
"Issue where custom back navigation logic stopped working on Android 16+, causing abnormal back behavior",
"Issue where the app could crash when pressing the back button or switching tabs after displaying file manager search results",
"Issue where the UI did not refresh automatically after deleting project folders in the file manager",
"Issue where the app could crash when task panel list items changed frequently",
"Issue where navigation bar foreground color could behave abnormally with night mode when using \"three-button\" gesture navigation",
"Issue where the APK file type information dialog might fail to obtain app name and SDK information",
"Issue where in client mode, disconnecting and reconnecting shortly after connecting could lead to handshake timeout and make reconnection difficult",
"Issue where in client mode, actions such as screen rotation or language switching that recreated the Activity always caused AutoJs6 to reconnect",
"Issue where in server mode, actions such as screen rotation or language switching that recreated the Activity caused the VSCode console to stop outputting logs _[`issue #385`](http://issues.autojs6.com/385)_",
"Issue where connecting to the VSCode plugin in multiple ways at the same time could multiply the number of printed logs",
"Issue where code generation on the layout analysis page could fail for collection controls (tentative fix) _[`issue #328`](http://issues.autojs6.com/328)_",
"Issue where the \"Use 'Volume Down' Key to Control Recording\" switch on the Settings page did not work _[`issue #480`](http://issues.autojs6.com/480)_",
"Issue where coordinate values in code files generated by script recording might not match actual screen pixel values _[`issue #480`](http://issues.autojs6.com/480)_",
"Issue where the first recorded action (such as tap or swipe) in code files generated by script recording was always ignored",
"Issue where background file operations from the floating button \"Run Script\" dialog could crash the app",
"Issue where the floating button state could reset when re-entering the home page after the home Activity lifecycle ended",
"Issue where the Xiaomi device \"Display over other apps\" switch could jump to the wrong settings page",
"Issue where after aborting update download, network packets could still continue downloading in the background (tentative fix)",
"Issue where the Rebuild Project task could not complete properly when isCleanup[Paddle/Rapid]Ocr option was enabled in build tools"
],
"improvement": [
"Pluginized Paddle OCR (PP-OCRv3) related features _[`issue #334`](http://issues.autojs6.com/334)_ _[`issue #331`](http://issues.autojs6.com/331)_ _[`issue #325`](http://issues.autojs6.com/325)_",
"Enhanced compatibility of runtime.loadJar method (by [LYS86](https://github.com/LYS86)) _[`pr #475`](http://pr.autojs6.com/475)_",
"Improved compatibility of ui.getStatusBarHeight method/statusBarHeight property (getter) to a certain extent",
"console.log and related methods now support displaying detailed information when printing global objects (images, app, ocr, etc.)",
"dialogs.build method now supports native MaterialDialog.Builder option parameters",
"dialogs.build method now supports loose string matching for animation/linkify option parameters",
"Improved stability and consistency of screen orientation and width/height data obtained by device.rotation/rotation/width/height methods",
"Improved execution efficiency and compatibility of app.launchDual/startDualActivity and related methods",
"android.graphics.Paint#setColor now properly parses color parameters such as ColorInt/ColorHex/ColorName",
"Exception messages for argument types of built-in module-related methods now include type summary information",
"Built-in modules (dayjs/cheerio/dayjs/i18n) now use global lazy loading instead of script execution mode",
"When printing huge data through console-related methods, some content is properly omitted according to upper limits to reduce print time",
"Initial countdown value of the console floating window increased from 6 seconds to 9 seconds",
"Internal implementation of the console floating window is now lock-free and queue-based, improving parameter setting efficiency and success rate",
"Background color behavior-related APIs (alpha/tint/base color) of the console floating window now better align with Android design conventions _[`issue #458`](http://issues.autojs6.com/458)_",
"Optimized menu collapse timing when tapping menu items after expanding the floating button in the file manager",
"File manager/task panel now supports showing file/task count statistics",
"When saving files fails in the code editor, they are automatically saved as drafts and support Save As to a new file",
"Improved smoothness to a certain extent when loading large files in the code editor",
"Code editor \"Find/Replace\" now supports state persistence and real-time display of search count information",
"When prompting to save in the code editor, it now ensures saving succeeds before exiting the editor to reduce save failure rate",
"State of the code editor save button now better matches user expectations",
"Code editor now supports long-press functionality for keys such as \"-\", \"=\", \"(\", \"[\", \"{\", \"<\"",
"Packaged app build process dialog now includes an \"Abort\" button",
"Improved display behavior of the packaged app build process dialog and added elapsed time statistics",
"When installing packaged apps with new configuration, related configuration of the old app will be overwritten",
"Packaged app configuration page now checks required permissions by default (WAKE_LOCK/INTERNET/WRITE_EXTERNAL_STORAGE/...) _[`issue #397`](http://issues.autojs6.com/397)_",
"Packaged app configuration page now supports reading/configuring more options (show logs on launch/show splash screen on launch/splash slug text/...)",
"Packaged app settings page now includes a foreground service switch _[`issue #406`](http://issues.autojs6.com/406)_",
"Key name conflict detection added when saving script project configuration files to prevent ambiguous keys",
"Crash report page now supports pinch-to-zoom font resizing and adds common function buttons",
"App launcher icons now support adaptive icon features _[`issue #405`](http://issues.autojs6.com/405)_",
"Rhino engine now falls back to raw reflection types when generic signature parsing fails, improving reflective method availability on lower Android versions",
"Divider lines added to switch-type items in the home drawer; tapping the title text area now shows detail dialogs and supports quick jump to system settings when needed",
"When starting or restarting AutoJs6, tapping the title text area of \"Client Mode\" in the home drawer now supports aborting an ongoing connection attempt",
"Client mode now supports connecting via IPv6 addresses and domain names",
"Client mode now supports detection prompts for special-purpose IPv4 addresses (loopback/broadcast/multicast/reserved/...)",
"Client mode now supports connection status display and management (correct address/abort connection)",
"Server mode now supports showing the number of connected clients",
"Reading notification permission now supports automatic reconnect mechanism ([requestRebind](https://developer.android.com/reference/android/service/notification/NotificationListenerService#requestRebind(android.content.ComponentName))) to improve stability of notification-listening related features",
"Floating button now improves safety when launching Activities from background to avoid app crashes",
"Floating button \"More\" dialog now uses asynchronous data loading for smoother display",
"Floating button \"Run Script\" dialog now includes a \"Home\" menu item",
"Floating button \"Run Script\" dialog now supports minimization and state restoration, and does its best to keep the window resident or restore it automatically",
"Script recording and playback now support Shizuku permission (playback smoothness may be somewhat affected) _[`issue #320`](http://issues.autojs6.com/320)_",
"Theme color settings page now uses a fast positioning method when locating theme colors to improve efficiency",
"Replaced deprecated [LocalBroadcastManager](https://developer.android.com/jetpack/androidx/releases/localbroadcastmanager) with [LiveData](https://developer.android.com/topic/libraries/architecture/livedata) and [SharedFlow](https://developer.android.com/kotlin/flow/stateflow-and-sharedflow)",
"Gradle build scripts now improve extraction efficiency for 7z files",
"Gradle build scripts now support obtaining detailed Android Studio IDE version (such as \"2025.1.4.7\")",
"Gradle build scripts now support automatically generating data required by VersionCodesList class to reduce script startup delay",
"Use [Version Catalogs](https://developer.android.com/build/migrate-to-catalogs) to centrally manage Gradle dependency and plugin versions",
"Modularized Gradle build scripts, moved shared build logic into build-logic, and abstracted it as convention plugins",
"Use Gradle convention plugins to simplify loading logic of local AAR libraries",
"Removed the \"android.enableJetifier=true\" Gradle option to adapt to Gradle 9",
"Use [Toolchain](https://docs.gradle.org/current/userguide/toolchains.html) instead of sourceCompatibility/targetCompatibility to reduce build environment differences"
],
"dependency": [
"Modularized Expandable Layout version 1.6.0",
"Modularized Expandable RecyclerView version 3.0.0-RC1",
"Modularized Recyclerview Flexible Divider version 1.4.0",
"Localized Root Shell version 1.6",
"Added AndroidX Activity (KTX) version 1.12.2",
"Added AndroidX Core (KTX) version 1.15.0",
"Added AndroidX Work Runtime version 2.11.0",
"Added AndroidX Interpolator version 1.0.0",
"Added Room RxJava2 version 2.8.1",
"Upgraded Android SDK version 35 -> 36",
"Upgraded Gradle 8 version 8.14 -> 8.14.4",
"Upgraded Gradle 9 version 8.14 -> 9.4.0",
"Upgraded Rhino version 1.8.1-SNAPSHOT -> 2.0.0-SNAPSHOT",
"Upgraded Desugar JDK Libs version 2.0.4 -> 2.1.5",
"Upgraded Android Material version 1.12.0 -> 1.13.0",
"Upgraded AndroidX AppCompat version 1.7.0 -> 1.7.1",
"Upgraded AndroidX Room version 2.7.1 -> 2.7.2",
"Upgraded AndroidX WebKit version 1.13.0 -> 1.14.0",
"Upgraded Material Progressbar version 1.4.2 -> 1.6.1",
"Upgraded Apache Commons version 3.16.0 -> 3.18.0",
"Upgraded Retrofit2 Retrofit version 2.11.0 -> 2.12.0",
"Upgraded Retrofit2 Converter Gson version 2.11.0 -> 2.12.0",
"Upgraded Retrofit2 RxJava2 version 2.11.0 -> 2.12.0",
"Upgraded Joda Time version 2.12.7 -> 2.14.0",
"Upgraded Gson version 2.11.0 -> 2.13.1",
"Upgraded ARSCLib version 1.3.1 -> 1.3.5",
"Upgraded Jsoup version 1.19.1 -> 1.20.1",
"Upgraded Junit Jupiter version 5.10.3 -> 5.13.0",
"Upgraded OpenCC version 1.2.0 -> 1.2.2",
"Removed Android Support Annotation v7 version 28.0.0",
"Removed Android Support AppCompat v7 version 28.0.0",
"Removed Android Support RecyclerView v7 version 28.0.0"
]
},
"v6.6.4": {
"released_date": "2025/05/31",
"hint": [