Skip to content

Commit 1aa1b02

Browse files
authored
Merge pull request #999 from XMOJ-Script-dev/dev
Sync Dev
2 parents a6251c3 + a8e9df1 commit 1aa1b02

4 files changed

Lines changed: 2440 additions & 1610 deletions

File tree

.github/workflows/DependencyScan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v6
13-
- uses: actions/dependency-review-action@v4
13+
- uses: actions/dependency-review-action@v5

Update.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3616,6 +3616,73 @@
36163616
}
36173617
],
36183618
"Notes": "No release notes were provided for this release."
3619+
},
3620+
"3.5.1": {
3621+
"UpdateDate": 1780117325597,
3622+
"Prerelease": true,
3623+
"UpdateContents": [
3624+
{
3625+
"PR": 986,
3626+
"Description": "Fix Violentmonkey SyntaxError: wrap async init block in IIFE"
3627+
}
3628+
],
3629+
"Notes": "No release notes were provided for this release."
3630+
},
3631+
"3.5.2": {
3632+
"UpdateDate": 1781282360668,
3633+
"Prerelease": true,
3634+
"UpdateContents": [
3635+
{
3636+
"PR": 989,
3637+
"Description": "Use Monaco Editor and save code in submitpage.php when edit the content"
3638+
}
3639+
],
3640+
"Notes": "Use Monaco Editor and save code in submitpage.php when edit the content."
3641+
},
3642+
"3.5.3": {
3643+
"UpdateDate": 1781427038989,
3644+
"Prerelease": true,
3645+
"UpdateContents": [
3646+
{
3647+
"PR": 992,
3648+
"Description": "fix: eliminate dark-mode flash in MonochromeUI/NewBootstrap"
3649+
}
3650+
],
3651+
"Notes": "修复了 MonochromeUI / NewBootstrap 新界面在深色模式下加载时出现的白色闪烁(FOUC/CLS)问题。"
3652+
},
3653+
"3.5.4": {
3654+
"UpdateDate": 1785114353055,
3655+
"Prerelease": true,
3656+
"UpdateContents": [
3657+
{
3658+
"PR": 997,
3659+
"Description": "fix: pin Monaco to 0.52.2 to stop intermittent editor load failures"
3660+
}
3661+
],
3662+
"Notes": "修复了提交代码页面上 Monaco 编辑器有时无法加载、退化为纯文本框的问题(Monaco 0.53.0 的上游 bug)。"
3663+
},
3664+
"3.6.0": {
3665+
"UpdateDate": 1785117984532,
3666+
"Prerelease": false,
3667+
"UpdateContents": [
3668+
{
3669+
"PR": 986,
3670+
"Description": "Fix Violentmonkey SyntaxError: wrap async init block in IIFE"
3671+
},
3672+
{
3673+
"PR": 989,
3674+
"Description": "Use Monaco Editor and save code in submitpage.php when edit the content"
3675+
},
3676+
{
3677+
"PR": 992,
3678+
"Description": "fix: eliminate dark-mode flash in MonochromeUI/NewBootstrap"
3679+
},
3680+
{
3681+
"PR": 997,
3682+
"Description": "fix: pin Monaco to 0.52.2 to stop intermittent editor load failures"
3683+
}
3684+
],
3685+
"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)。"
36193686
}
36203687
}
36213688
}

XMOJ.user.js

Lines changed: 2371 additions & 1608 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xmoj-script",
3-
"version": "3.5.0",
3+
"version": "3.6.0",
44
"description": "an improvement script for xmoj.tech",
55
"main": "AddonScript.js",
66
"scripts": {

0 commit comments

Comments
 (0)