bump v4.0.20

This commit is contained in:
xxnuo
2026-01-01 17:12:39 +08:00
parent 7be48c5dca
commit ec285fb631
6 changed files with 21 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
## v4.0.19
## v4.0.20
* 发布到 npm现在可以通过 `npm i -g mtranserver` 安装或者 `npx mtranserver` 来运行服务器啦!
* 修复语言检测的内存安全问题
@@ -10,9 +10,3 @@
* UI新增记忆语言、主题等功能开关的功能
* UI新增副标题文档地址按钮
* UI修复历史记录没有滚动条的问题
## v4.0.13
* 改进 Docker 镜像构建支持,现在任何旧设备都能运行 Docker 版本啦!
* 无论新旧设备,使用 Docker 版本性能更佳!推荐使用 Docker 版本!
* Release 构建的可执行文件暂未跟进该功能,敬请期待!

View File

@@ -1,3 +1,16 @@
## v4.0.20
* 发布到 npm现在可以通过 `npm i -g mtranserver` 安装或者 `npx mtranserver` 来运行服务器啦!
* 修复语言检测的内存安全问题
* 修复混合语言检测的逻辑问题,现在能够正常翻译混合语言文本为目标语言了
* 新增 `--download` 命令,支持通过命令行批量下载语言对模型 (例如 `mtranserver --download en_zh zh_en`)
* 新增 `--languages` 命令,列出所有可下载的语言对
* UI新增宽屏模式按钮
* UI新增多面板并排翻译的功能
* UI新增记忆语言、主题等功能开关的功能
* UI新增副标题文档地址按钮
* UI修复历史记录没有滚动条的问题
## v4.0.13
* 改进 Docker 镜像构建支持,现在任何旧设备都能运行 Docker 版本啦!

View File

@@ -1,6 +1,6 @@
{
"name": "mtranserver",
"version": "4.0.19",
"version": "4.0.20",
"type": "module",
"description": "Translation server",
"main": "./dist/index.js",
@@ -26,7 +26,8 @@
"typecheck": "tsc --noEmit",
"lint": "echo 'No linter configured'",
"gen": "tsoa spec-and-routes",
"bump": "bun scripts/bump.ts"
"bump": "bun scripts/bump.ts",
"publish": "npm publish --registry=https://registry.npmjs.com"
},
"keywords": [
"translation",
@@ -57,4 +58,4 @@
"engines": {
"node": ">=18.0.0"
}
}
}

View File

@@ -1,4 +1,4 @@
export const VERSION = '4.0.19';
export const VERSION = '4.0.20';
export function getVersion(): string {
return VERSION;

View File

@@ -11,7 +11,7 @@
"spec": {
"info": {
"title": "MTranServer API",
"version": "4.0.19",
"version": "4.0.20",
"description": "Translation server API",
"license": {
"name": "Apache-2.0"

View File

@@ -1,7 +1,7 @@
{
"name": "ui",
"private": true,
"version": "4.0.19",
"version": "4.0.20",
"type": "module",
"scripts": {
"dev": "vite",