Releases: qingshihuan/pingyi
Release list
PingYi v0.3.2
屏译 PingYi 0.3.2
本版本包含 PR #15 的可靠性与内存优化,保留默认离线、零历史记录和现有模型/依赖版本。
修复与优化
- 离线模型 SHA-256 校验改用 1 MiB 可复用缓冲区,避免一次性将整个模型文件读入内存;强化缓存失效和文件变更检查,并兼容 Windows 文件元数据差异。
- 设置保存使用进程内同路径共享锁、唯一临时文件及替换前取消检查,修复并发保存冲突并清理失败文件。
- 自定义大模型返回空白译文或畸形响应时不再被当作成功,而是按语言支持情况尝试既有离线回退;无效模型列表明确显示不可用。
- 离线断句保留小数、版本号和域名中的内部句点,长段分块严格限制在 220 字符以内。
- 校验引擎 JSON 请求,避免回显任意依赖异常正文和堆栈,丢弃请求执行中的 Python 级诊断输出;本地网络防护覆盖健康检查和翻译依赖初始化。
- 新增 17 个 Python 回归测试方法及 36 个 .NET 测试用例(含参数化用例)。
下载说明
Windows:PingYi-0.3.2-win-x64-setup.exe 为标准版安装包,PingYi-Complete-0.3.2-win-x64-setup.exe 为完全版;也提供免安装 ZIP。
Ubuntu X11:提供标准版与完全版的 .deb 和 .tar.gz。请使用同一 Release 的 SHA256SUMS.txt 校验下载文件。
验证边界
发布流程包含双平台自动化测试、Windows 固定样本模型质量基线、成品依赖/许可证审计及 Ubuntu 22.04/24.04 干净容器依赖检查。人工桌面交互、复杂多显示器场景和实际 GPU 推理不等同于这些自动化检查,尚未完成全面人工验收。
本次内存优化针对模型文件校验,不代表整款软件内存或端到端翻译速度有相同比例的提升。Python 网络防护不是操作系统沙箱,输出重定向不保证拦截原生库直接 I/O。
English
Reliability update: bounded-memory model hashing, concurrent settings-save fixes, validation and offline fallback for empty/malformed model replies, improved offline sentence splitting, and privacy-safe Python engine diagnostics. Offline defaults and third-party model/runtime versions remain unchanged. Desktop interaction and GPU scenarios have not received comprehensive manual validation.
What's Changed
- 优化模型校验内存、设置并发保存与翻译异常恢复 by @qingshihuan in #15
Full Changelog: v0.3.1...v0.3.2
v0.3.1
What's Changed
- Add launch materials and product demo by @qingshihuan in #11
- Harden v0.3.1 runtime and release pipeline by @qingshihuan in #13
- Include required Linux llama server libraries by @qingshihuan in #14
Full Changelog: v0.3.0...v0.3.1
PingYi v0.3.0 — Google Cloud + English UI
PingYi v0.3.0 / 屏译 v0.3.0
This release makes PingYi ready for international users while keeping the offline-first default unchanged.
Highlights
- English and Simplified Chinese interface, with automatic system-language selection.
- Google Cloud Vision OCR and Google Cloud Translation using your own API key.
- Google credentials are stored in the operating system's secure credential store and are never written to
settings.json. - Local PaddleOCR, offline translation, llama.cpp, and Ollama workflows remain available.
- Standard and Complete packages for Windows x64 and Ubuntu X11 x64.
- Refreshed English/Chinese documentation, discoverability metadata, and troubleshooting guidance.
Privacy
The default local mode does not upload screenshots or recognized text. Google Cloud Vision receives the selected image only when chosen as the OCR provider. Google Cloud Translation receives recognized text only when chosen as the translation provider.
本次更新让屏译可以直接服务海外用户,同时保持默认本地优先策略不变。
主要更新
- 新增英文与简体中文界面,并可跟随系统语言自动选择。
- 新增 Google Cloud Vision OCR 与 Google Cloud Translation,用户自行提供 API Key。
- Google 凭据由操作系统安全凭据存储保管,不写入
settings.json。 - 保留本地 PaddleOCR、离线翻译、llama.cpp 与 Ollama 方案。
- 提供 Windows x64、Ubuntu X11 x64 的标准版与完整版。
- 更新中英文文档、搜索关键词和故障排查说明。
如果 PingYi 对你有帮助,欢迎给仓库一个 Star,让更多需要离线截图翻译的人看到它。
v0.2.2
What's Changed
- Fix automatic translation and multi-monitor capture by @qingshihuan in #9
Full Changelog: v0.2.1...v0.2.2
v0.2.1
What's Changed
- Normalize nested llama runtime archives by @qingshihuan in #8
Full Changelog: v0.2.0...v0.2.1
v0.1.2
What's Changed
- Add local multimodal OCR providers by @qingshihuan in #6
Full Changelog: v0.1.1...v0.1.2
v0.1.1
What's Changed
- Add multilingual local LLM translation by @qingshihuan in #5
Full Changelog: v0.1.0...v0.1.1
v0.1.0
What's Changed
- Update GitHub Actions runtimes by @qingshihuan in #1
- Improve OCR quality and release safety by @qingshihuan in #2
- Improve terminal OCR, discovery, and release portability by @qingshihuan in #3
- Fix release asset checksum collection by @qingshihuan in #4
New Contributors
- @qingshihuan made their first contribution in #1
Full Changelog: https://github.com/qingshihuan/pingyi/commits/v0.1.0