mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
bump version
This commit is contained in:
1 parent
a8f9c49c4c
commit
518915ceab
10 files changed
+42
-21
No files matched your search
@@ -40,6 +40,23 @@ Telegram [@webpack_exports_undefined](https://t.me/webpack_exports_undefined)
|
|||||||
<details>
|
<details>
|
||||||
<summary><h2>更新日志(点击展开)</h2></summary>
|
<summary><h2>更新日志(点击展开)</h2></summary>
|
||||||
|
|
||||||
|
### Hydro 4.7.0 / UI 4.47.0
|
||||||
|
- core: 支持检测导致启动卡死的问题
|
||||||
|
- core: 修复特定情况下 rating 信息无法写入的问题
|
||||||
|
- core: 添加更多 validator 字段类型支持,移除旧版 validator
|
||||||
|
- core&ui: 支持 CORS
|
||||||
|
- ui: 支持模块懒加载
|
||||||
|
- ui: 修复邮箱登录
|
||||||
|
- ui: 修复站内信显示异常的问题
|
||||||
|
- vjudge: luogu: 修复登录
|
||||||
|
- judge: 修复客观题部分题目未答导致评测出错的问题
|
||||||
|
- core: `ConnectionHandler` 支持 `@subscribe(event)`
|
||||||
|
- util: 修复 `Message.sendNotification` 格式化异常的问题
|
||||||
|
- core: 数据库优化
|
||||||
|
- core: 校验用户头像
|
||||||
|
- judge: 移除 onDestory 钩子,使用 disposables 替代
|
||||||
|
- ui: 优化资源加载
|
||||||
|
|
||||||
### Hydro 4.6.0 / UI 4.46.0
|
### Hydro 4.6.0 / UI 4.46.0
|
||||||
- core&ui: 添加 webauthn 支持
|
- core&ui: 添加 webauthn 支持
|
||||||
- ui: 修复题解投票
|
- ui: 修复题解投票
|
||||||
@@ -217,4 +234,8 @@ Telegram [@webpack_exports_undefined](https://t.me/webpack_exports_undefined)
|
|||||||
|
|
||||||
- [Github](https://github.com/) 为 Hydro 提供了代码托管与自动构建。
|
- [Github](https://github.com/) 为 Hydro 提供了代码托管与自动构建。
|
||||||
- [criyle](https://github.com/criyle) 提供评测沙箱实现。
|
- [criyle](https://github.com/criyle) 提供评测沙箱实现。
|
||||||
- [Vijos](https://github.com/vijos/vj4) 为 Hydro 提供了UI框架。
|
- [Vijos](https://github.com/vijos/vj4) 为 Hydro 提供了 UI 框架。
|
||||||
|
|
||||||
|
## Sponsors
|
||||||
|
|
||||||
|
- [云斗学院](https://www.yundouxueyuan.com)
|
||||||
+2
-2
@@ -48,14 +48,14 @@
|
|||||||
"css-loader": "^6.7.3",
|
"css-loader": "^6.7.3",
|
||||||
"esbuild": "0.16.16",
|
"esbuild": "0.16.16",
|
||||||
"esbuild-loader": "^2.21.0",
|
"esbuild-loader": "^2.21.0",
|
||||||
"eslint": "^8.32.0",
|
"eslint": "^8.33.0",
|
||||||
"eslint-config-airbnb": "^19.0.4",
|
"eslint-config-airbnb": "^19.0.4",
|
||||||
"eslint-config-airbnb-typescript": "^17.0.0",
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
||||||
"eslint-import-resolver-typescript": "^3.5.3",
|
"eslint-import-resolver-typescript": "^3.5.3",
|
||||||
"eslint-import-resolver-webpack": "^0.13.2",
|
"eslint-import-resolver-webpack": "^0.13.2",
|
||||||
"eslint-plugin-import": "2.27.5",
|
"eslint-plugin-import": "2.27.5",
|
||||||
"eslint-plugin-jsx-a11y": "^6.7.1",
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
||||||
"eslint-plugin-react": "^7.32.1",
|
"eslint-plugin-react": "^7.32.2",
|
||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
"eslint-plugin-react-hooks": "^4.6.0",
|
||||||
"eslint-plugin-simple-import-sort": "10.0.0",
|
"eslint-plugin-simple-import-sort": "10.0.0",
|
||||||
"friendly-errors-webpack-plugin": "^1.7.0",
|
"friendly-errors-webpack-plugin": "^1.7.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/center",
|
"name": "@hydrooj/center",
|
||||||
"version": "0.2.2",
|
"version": "0.2.3",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/hydrojudge",
|
"name": "@hydrooj/hydrojudge",
|
||||||
"bin": "bin/hydrojudge.js",
|
"bin": "bin/hydrojudge.js",
|
||||||
"version": "3.1.16",
|
"version": "3.1.17",
|
||||||
"main": "package.json",
|
"main": "package.json",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
"fs-extra": "^11.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"mongodb": "^3.7.3",
|
"mongodb": "^3.7.3",
|
||||||
"p-queue": "^7.3.0",
|
"p-queue": "^7.3.0",
|
||||||
"schemastery": "^3.6.1",
|
"schemastery": "^3.7.0",
|
||||||
"shell-quote": "^1.7.4",
|
"shell-quote": "^1.7.4",
|
||||||
"superagent": "^8.0.9",
|
"superagent": "^8.0.9",
|
||||||
"ws": "^8.12.0"
|
"ws": "^8.12.0"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hydrooj",
|
"name": "hydrooj",
|
||||||
"version": "4.6.0",
|
"version": "4.7.0",
|
||||||
"bin": "bin/hydrooj.js",
|
"bin": "bin/hydrooj.js",
|
||||||
"main": "src/plugin-api",
|
"main": "src/plugin-api",
|
||||||
"module": "src/plugin-api",
|
"module": "src/plugin-api",
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14"
|
"node": ">=18"
|
||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
"@aws-sdk/s3-request-presigner": "^3.259.0",
|
"@aws-sdk/s3-request-presigner": "^3.259.0",
|
||||||
"@graphql-tools/schema": "^9.0.14",
|
"@graphql-tools/schema": "^9.0.14",
|
||||||
"@hydrooj/utils": "workspace:*",
|
"@hydrooj/utils": "workspace:*",
|
||||||
"@simplewebauthn/server": "^7.0.0",
|
"@simplewebauthn/server": "^7.0.1",
|
||||||
"adm-zip": "0.5.5",
|
"adm-zip": "0.5.5",
|
||||||
"cac": "^6.7.14",
|
"cac": "^6.7.14",
|
||||||
"cordis": "^2.7.2",
|
"cordis": "^2.7.2",
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
"path-to-regexp": "^6.2.1",
|
"path-to-regexp": "^6.2.1",
|
||||||
"require-resolve-hook": "^1.1.0",
|
"require-resolve-hook": "^1.1.0",
|
||||||
"saslprep": "^1.0.3",
|
"saslprep": "^1.0.3",
|
||||||
"schemastery": "^3.6.1",
|
"schemastery": "^3.7.0",
|
||||||
"semver": "^7.3.8",
|
"semver": "^7.3.8",
|
||||||
"serialize-javascript": "^6.0.1",
|
"serialize-javascript": "^6.0.1",
|
||||||
"superagent": "^8.0.9",
|
"superagent": "^8.0.9",
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ class SWConfigHandler extends Handler {
|
|||||||
SystemModel.get('server.url'),
|
SystemModel.get('server.url'),
|
||||||
SystemModel.get('server.cdn'),
|
SystemModel.get('server.cdn'),
|
||||||
],
|
],
|
||||||
|
domains: SystemModel.get('ui-default.domains') || [],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.46.2",
|
"version": "4.47.0",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
"@fontsource/source-code-pro": "^4.5.14",
|
"@fontsource/source-code-pro": "^4.5.14",
|
||||||
"@fontsource/ubuntu-mono": "^4.5.11",
|
"@fontsource/ubuntu-mono": "^4.5.11",
|
||||||
"@hydrooj/utils": "workspace:*",
|
"@hydrooj/utils": "workspace:*",
|
||||||
"@simplewebauthn/browser": "^7.0.0",
|
"@simplewebauthn/browser": "^7.0.1",
|
||||||
"@svgr/webpack": "^6.5.1",
|
"@svgr/webpack": "^6.5.1",
|
||||||
"@types/gulp-if": "^0.0.34",
|
"@types/gulp-if": "^0.0.34",
|
||||||
"@types/jquery": "^3.5.16",
|
"@types/jquery": "^3.5.16",
|
||||||
@@ -36,8 +36,8 @@
|
|||||||
"@types/react": "^18.0.27",
|
"@types/react": "^18.0.27",
|
||||||
"@types/react-dom": "^18.0.10",
|
"@types/react-dom": "^18.0.10",
|
||||||
"@types/redux-logger": "^3.0.9",
|
"@types/redux-logger": "^3.0.9",
|
||||||
"@types/serviceworker": "^0.0.61",
|
"@types/serviceworker": "^0.0.62",
|
||||||
"@types/sharedworker": "^0.0.90",
|
"@types/sharedworker": "^0.0.91",
|
||||||
"@types/webpack-env": "^1.18.0",
|
"@types/webpack-env": "^1.18.0",
|
||||||
"@vscode/codicons": "^0.0.32",
|
"@vscode/codicons": "^0.0.32",
|
||||||
"autoprefixer": "^10.4.13",
|
"autoprefixer": "^10.4.13",
|
||||||
@@ -88,12 +88,12 @@
|
|||||||
"react-redux": "^8.0.5",
|
"react-redux": "^8.0.5",
|
||||||
"react-split-pane": "^0.1.92",
|
"react-split-pane": "^0.1.92",
|
||||||
"reconnecting-websocket": "^4.4.0",
|
"reconnecting-websocket": "^4.4.0",
|
||||||
"redux": "^4.2.0",
|
"redux": "^4.2.1",
|
||||||
"redux-logger": "^3.0.6",
|
"redux-logger": "^3.0.6",
|
||||||
"redux-promise-middleware": "^6.1.3",
|
"redux-promise-middleware": "^6.1.3",
|
||||||
"redux-thunk": "^2.4.2",
|
"redux-thunk": "^2.4.2",
|
||||||
"rupture": "^0.7.1",
|
"rupture": "^0.7.1",
|
||||||
"schemastery": "^3.6.1",
|
"schemastery": "^3.7.0",
|
||||||
"slideout": "^1.0.1",
|
"slideout": "^1.0.1",
|
||||||
"sticky-kit": "^1.1.3",
|
"sticky-kit": "^1.1.3",
|
||||||
"tether": "1.4.7",
|
"tether": "1.4.7",
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ async function initConfig() {
|
|||||||
const res = await fetch('/sw-config');
|
const res = await fetch('/sw-config');
|
||||||
config = await res.json();
|
config = await res.json();
|
||||||
config.hosts ||= [];
|
config.hosts ||= [];
|
||||||
config.domains ||= [location.host];
|
if (!config.domains?.length) config.domains = [location.host];
|
||||||
}
|
}
|
||||||
|
|
||||||
self.addEventListener('install', (event) => event.waitUntil((async () => {
|
self.addEventListener('install', (event) => event.waitUntil((async () => {
|
||||||
@@ -77,7 +77,6 @@ self.addEventListener('activate', (event) => {
|
|||||||
caches.keys(),
|
caches.keys(),
|
||||||
initConfig(),
|
initConfig(),
|
||||||
]);
|
]);
|
||||||
config.domains ||= ['beta.hydro.ac', 'next.hydro.ac'];
|
|
||||||
console.log('Config: ', config);
|
console.log('Config: ', config);
|
||||||
await Promise.all(names.filter((name) => !valid.includes(name)).map((p) => caches.delete(p)));
|
await Promise.all(names.filter((name) => !valid.includes(name)).map((p) => caches.delete(p)));
|
||||||
self.clients.claim();
|
self.clients.claim();
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/utils",
|
"name": "@hydrooj/utils",
|
||||||
"version": "1.4.7",
|
"version": "1.4.8",
|
||||||
"description": "hydrooj utils",
|
"description": "hydrooj utils",
|
||||||
"main": "lib/utils.ts",
|
"main": "lib/utils.ts",
|
||||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"mongodb": "^3.7.3",
|
"mongodb": "^3.7.3",
|
||||||
"reggol": "^1.3.5",
|
"reggol": "^1.3.5",
|
||||||
"source-map-support": "^0.5.21",
|
"source-map-support": "^0.5.21",
|
||||||
"systeminformation": "^5.17.4"
|
"systeminformation": "^5.17.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/fs-extra": "^11.0.1",
|
"@types/fs-extra": "^11.0.1",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/vjudge",
|
"name": "@hydrooj/vjudge",
|
||||||
"version": "1.8.0",
|
"version": "1.8.1",
|
||||||
"description": "Submit problems to remote oj",
|
"description": "Submit problems to remote oj",
|
||||||
"main": "src/model.ts",
|
"main": "src/model.ts",
|
||||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||||
|
|||||||
Reference in new issue
Block a user