diff --git a/Update.json b/Update.json index 7f8f039a..65786d44 100644 --- a/Update.json +++ b/Update.json @@ -3660,6 +3660,29 @@ } ], "Notes": "修复了提交代码页面上 Monaco 编辑器有时无法加载、退化为纯文本框的问题(Monaco 0.53.0 的上游 bug)。" + }, + "3.6.0": { + "UpdateDate": 1785117984532, + "Prerelease": false, + "UpdateContents": [ + { + "PR": 986, + "Description": "Fix Violentmonkey SyntaxError: wrap async init block in IIFE" + }, + { + "PR": 989, + "Description": "Use Monaco Editor and save code in submitpage.php when edit the content" + }, + { + "PR": 992, + "Description": "fix: eliminate dark-mode flash in MonochromeUI/NewBootstrap" + }, + { + "PR": 997, + "Description": "fix: pin Monaco to 0.52.2 to stop intermittent editor load failures" + } + ], + "Notes": "本次发布将 3.5.0 之后的四个预发布版本合并为正式版 3.5.4:\n\n- **#986** 修复 Violentmonkey 下因顶层 `await` 导致的 `SyntaxError`(将异步初始化包进 IIFE)。\n- **#989** 提交代码页面(submitpage.php)改用 Monaco Editor,并支持编辑时保存代码。\n- **#992** 修复 MonochromeUI / NewBootstrap 新界面在深色模式下加载时的白色闪烁(FOUC/CLS)问题。\n- **#997** 将 Monaco 固定到 0.52.2,修复编辑器有时无法加载、退化为纯文本框的问题(0.53.0 上游 bug)。" } } } \ No newline at end of file diff --git a/XMOJ.user.js b/XMOJ.user.js index fc6781e5..69d0d77d 100644 --- a/XMOJ.user.js +++ b/XMOJ.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name XMOJ -// @version 3.5.4 +// @version 3.6.0 // @description XMOJ增强脚本 // @author @XMOJ-Script-dev, @langningchen and the community // @namespace https://github/langningchen diff --git a/package.json b/package.json index c0a7cbf0..c257181d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xmoj-script", - "version": "3.5.4", + "version": "3.6.0", "description": "an improvement script for xmoj.tech", "main": "AddonScript.js", "scripts": {