Files
MTranServer/HISTORY.md
2026-01-01 17:12:39 +08:00

62 lines
2.8 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 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 版本啦!
* 无论新旧设备,使用 Docker 版本性能更佳!推荐使用 Docker 版本!
* Release 构建的可执行文件暂未跟进该功能,敬请期待!
## v4.0.12
* 改进日志功能 (感谢 @ApliNi)
* 新增 LRU 缓存功能 (感谢 @ApliNi)
## v4.0.11
* 修复认证功能失效的问题
* Fix authentication issue
## v4.0.10
### 中文版本
#### 性能与引擎
* 引擎重构:完成 v4 引擎重构,显著提升运行速度与稳定性。
* 内存优化:内存占用回归至 1GB 以内水平。在 Linux x64 环境下翻译《福尔摩斯探案集》时btop 显示内存占用低于 600MB。
#### 部署与兼容性
* Docker 修复与支持:修复了 Docker 构建问题新增标准版xxnuo/mtranserver:latest与兼容版xxnuo/mtranserver:legacy镜像。
* 多环境支持:新增对旧款 CPU (non-AVX2) 以及 Linux musl 的构建支持。
#### 新功能
* 更新检查器:新增启动时自动检查更新功能。可通过 --check-update 参数或 MT_CHECK_UPDATE 环境变量启用或禁用。
#### 已知问题
* Android 兼容性:当前版本暂时无法在 Android 设备上运行。
---
### English Version
#### Performance & Engine
* Engine Rewrite: The v4 engine has been refactored for significantly faster performance and enhanced stability.
* Memory Efficiency: Memory usage has returned to sub-1GB levels. (Tested on Linux x64 during English-to-Chinese translation of "The Adventures of Sherlock Holmes", btop usage was under 600MB).
#### Deployment & Compatibility
* Docker Improvements: Fixed Docker build issues and added support for both standard (xxnuo/mtranserver:latest) and legacy-compatible (xxnuo/mtranserver:legacy) images.
* Platform Support: Added legacy build support for non-AVX2 CPUs and Linux musl build support.
#### New Features
* Update Checker: Added automatic update checks on startup. This can be toggled via the --check-update flag or the MT_CHECK_UPDATE environment variable.
#### Known Issues
* Android Support: Temporarily unavailable on Android devices.