Skip to content

Commit ae43ee1

Browse files
committed
bump version
1 parent 828ba55 commit ae43ee1

26 files changed

Lines changed: 136 additions & 81 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/index.d.ts b/index.d.ts
2+
index aee3041de0bc2a46df7bcfca387152bf2cc01e30..61ef705e926961f89e67f1bf79ba0325c7e4f12b 100644
3+
--- a/index.d.ts
4+
+++ b/index.d.ts
5+
@@ -648,7 +648,8 @@ export interface Request<
6+
readonly xhr: boolean;
7+
8+
// body: { username: string; password: string; remember: boolean; title: string; };
9+
- body: ReqBody;
10+
+ // This conflicts with koa-body dts
11+
+ // body: ReqBody;
12+
13+
// cookies: { string; remember: boolean; };
14+
cookies: any;

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,26 @@ Hydro 用户群:1085853538
111111
<details>
112112
<summary><h2>更新日志(点击展开)</h2></summary>
113113

114-
## Hydro 5.0.0-beta.10 / UI 4.58.0-beta.10
114+
## Hydro 5.0.0-beta.12 / UI 4.58.0-beta.11
115+
116+
- framework: 修复 SSE 模式参数识别
117+
- ui: 记忆比赛计分板筛选状态
118+
- ui: 修复封榜后提交记录动态更新
119+
- scoreboard-xcpcio: 实验性榜单缓存支持
120+
- ui: 添加比赛一血提示
121+
- core: 添加 hydrooj diag 快速诊断工具
122+
- ui: 禁用链接自动折叠,复制链接自动转义括号
123+
- ui: 优化资源缓存
124+
- ui: 优化超长公式显示
125+
- core&ui: 支持题目排序
126+
127+
*Breaking API Changes*
128+
- 升级到 React 19
129+
- 升级到 MongoDB Driver 7
130+
- 移除 blueprint.js, react-query 内置,优化资源大小
131+
- 使用 @mongodb-js/saslprep 替代 saslprep
132+
133+
## Hydro 5.0.0-beta.11 / UI 4.58.0-beta.10
115134

116135
- core&ui: 优化新设置页面
117136
- core: 修复乐多榜单尝试数为负

framework/eslint-config/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@hydrooj/eslint-config",
3-
"version": "3.0.2",
3+
"version": "3.0.4",
44
"license": "MIT",
55
"main": "base.mjs",
66
"repository": "https://github.com/hydro-dev/Hydro",
77
"dependencies": {
88
"@antfu/eslint-config": "^6.2.0",
9-
"@eslint-react/eslint-plugin": "^2.3.1",
10-
"@typescript-eslint/eslint-plugin": "^8.46.2",
11-
"@typescript-eslint/parser": "^8.46.2",
9+
"@eslint-react/eslint-plugin": "^2.3.4",
10+
"@typescript-eslint/eslint-plugin": "^8.46.4",
11+
"@typescript-eslint/parser": "^8.46.4",
1212
"eslint-plugin-de-morgan": "^2.0.0",
1313
"eslint-plugin-github": "^6.0.0",
1414
"eslint-plugin-react-hooks": "^7.0.1",

framework/framework/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hydrooj/framework",
3-
"version": "0.2.5",
3+
"version": "0.2.6",
44
"main": "index.ts",
55
"license": "MIT",
66
"repository": "https://github.com/hydro-dev/Hydro",
@@ -18,7 +18,7 @@
1818
"koa-compress": "^5.1.1",
1919
"path-to-regexp": "^8.3.0",
2020
"sanitize-filename": "^1.6.3",
21-
"schemastery": "^3.17.1",
21+
"schemastery": "^3.17.2",
2222
"shorty.js": "^1.0.1",
2323
"ws": "^8.18.3"
2424
},

framework/utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@hydrooj/utils",
3-
"version": "1.4.37",
3+
"version": "1.5.0",
44
"description": "hydrooj utils",
55
"main": "lib/utils.ts",
66
"repository": "https://github.com/hydro-dev/Hydro.git",
77
"author": "undefined <i@undefined.moe>",
88
"license": "AGPL-3.0-or-later",
99
"preferUnplugged": true,
1010
"optionalPeerDependencies": {
11-
"bson": "^6.17.0",
11+
"bson": "^7.0.0",
1212
"moment-timezone": "^0.5.48"
1313
},
1414
"dependencies": {

package.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"oxlint": "cd framework/eslint-config && node -r @hydrooj/register build.ts && cd ../../ && oxlint --config framework/eslint-config/.oxlintrc.json",
2424
"lint": "eslint --flag v10_config_lookup_from_file packages plugins modules framework --ext .ts,.tsx,.jsx,.vue,.yaml,.yml --fix",
2525
"lint:ci": "eslint --flag v10_config_lookup_from_file packages plugins modules framework --ext .ts,.tsx,.jsx,.vue,.yaml,.yml --max-warnings=0",
26-
"debug": "node --trace-warnings --inspect=192.168.99.234:1111 --async-stack-traces --trace-deprecation packages/hydrooj/bin/hydrooj --debug --template",
26+
"debug": "node --trace-warnings --async-stack-traces --trace-deprecation packages/hydrooj/bin/hydrooj --debug --template",
2727
"start": "packages/hydrooj/bin/hydrooj.js",
2828
"postinstall": "node build/prepare.js",
2929
"gen-patch": "node -r @hydrooj/register build/gen-patch.ts",
@@ -33,34 +33,40 @@
3333
"license": "AGPL-3.0-only",
3434
"devDependencies": {
3535
"@types/autocannon": "^7.12.7",
36-
"@types/chai": "^5.2.2",
36+
"@types/chai": "^5.2.3",
3737
"@types/cross-spawn": "^6.0.6",
38-
"@types/node": "24.7.0",
38+
"@types/node": "24.10.0",
3939
"@types/semver": "^7.7.1",
4040
"autocannon": "^8.0.0",
4141
"cac": "^6.7.14",
42-
"chai": "^6.2.0",
42+
"chai": "^6.2.1",
4343
"cross-env": "^10.1.0",
4444
"cross-spawn": "^7.0.6",
4545
"esbuild": "0.25.2",
46-
"eslint": "^9.38.0",
46+
"eslint": "^9.39.1",
4747
"eslint-import-resolver-typescript": "^4.4.4",
4848
"eslint-import-resolver-webpack": "^0.13.10",
4949
"fs-extra": "^11.3.2",
50-
"globals": "^16.4.0",
50+
"globals": "^16.5.0",
5151
"globby": "~14.0.2",
5252
"inspectpack": "^4.7.1",
53-
"mongodb-memory-server": "10.2.3",
53+
"mongodb-memory-server": "10.3.0",
5454
"nyc": "^17.1.0",
5555
"ora": "^9.0.0",
56-
"oxlint": "^1.23.0",
56+
"oxlint": "^1.28.0",
5757
"package-json": "^10.0.1",
5858
"semver": "^7.7.3",
59-
"simple-git": "^3.28.0",
59+
"simple-git": "^3.30.0",
6060
"supertest": "^7.1.4",
6161
"supports-hyperlinks": "^4.3.0",
6262
"typescript": "5.8.3",
6363
"wtfnode": "^0.10.1"
6464
},
65+
"resolutions": {
66+
"mongodb": "^7.0.0",
67+
"@types/express-serve-static-core@npm:^4.17.21": "patch:@types/express-serve-static-core@npm%3A4.19.6#~/.yarn/patches/@types-express-serve-static-core-npm-4.19.6-cc0017aaf4.patch",
68+
"@types/express-serve-static-core@npm:*": "patch:@types/express-serve-static-core@npm%3A4.19.6#~/.yarn/patches/@types-express-serve-static-core-npm-4.19.6-cc0017aaf4.patch",
69+
"@types/express-serve-static-core@npm:^4.17.33": "patch:@types/express-serve-static-core@npm%3A4.19.6#~/.yarn/patches/@types-express-serve-static-core-npm-4.19.6-cc0017aaf4.patch"
70+
},
6571
"packageManager": "yarn@4.10.3"
6672
}

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@hydrooj/common",
33
"main": "./index.ts",
4-
"version": "0.0.5",
4+
"version": "0.0.6",
55
"repository": "https://github.com/hydro-dev/Hydro",
66
"sideEffects": false,
77
"dependencies": {

packages/components/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hydrooj/components",
3-
"version": "1.0.0-beta.7",
3+
"version": "1.0.0-beta.8",
44
"main": "./frontend/index.ts",
55
"repository": "https://github.com/hydro-dev/Hydro",
66
"sideEffects": [
@@ -21,7 +21,7 @@
2121
"@types/diff": "^8.0.0",
2222
"@types/js-yaml": "^4.0.9",
2323
"@types/lodash": "^4.17.20",
24-
"sass": "^1.93.2"
24+
"sass": "^1.94.0"
2525
},
2626
"peerDependencies": {
2727
"react": "*",

packages/elastic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "undefined <i@undefined.moe>",
77
"license": "AGPL-3.0-or-later",
88
"dependencies": {
9-
"@elastic/elasticsearch": "^9.1.1"
9+
"@elastic/elasticsearch": "^9.2.0"
1010
},
1111
"engines": {
1212
"hydrooj": ">=5.0.0-alpha.1"

packages/geoip/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "undefined <i@undefined.moe>",
77
"license": "AGPL-3.0-or-later",
88
"dependencies": {
9-
"maxmind": "^5.0.0"
9+
"maxmind": "^5.0.1"
1010
},
1111
"preferUnplugged": true
1212
}

0 commit comments

Comments
 (0)