Releases: Zhou-Ruichen/Notebook-Translate
Release list
v0.3.1 - Bug Fixes & Unified Management
🐛 Bug Fixes
- Fixed
command not founderror when clicking Status Bar. - Fixed "Zombie Profiles": Deleting a profile now correctly removes it from both
settings.jsonand SecretStorage.
⚡️ Improvements
- Unified Management: New
Manage Profilescommand handles switching, adding, and deleting profiles in one place. - Auto-Rollback: Automatically reverts to the previous profile if the new one fails connection test.
v0.3.0 - Security Upgrade & Profile System
Major Features
-
Security Upgrade: API Keys are now stored in VSCode's
SecretStorage(Keychain) instead of plaintext settings. -
Profile System: Support multiple translation profiles (OpenAI, Ollama, Baidu) with easy switching via
Select Profile. -
UI/UX Improvements:
-
Added Status Bar item for real-time connection feedback.
-
Silent connection testing to reduce notification noise.
-
Normalized command titles (e.g.,
IPynb Translator: ...).
-
-
Translation Logic:
-
Support for Custom System Prompts per profile.
-
Auto-cleaning of
<think>tags from reasoning models (e.g., DeepSeek R1).
-
Breaking Changes
-
Configuration: Deprecated flat configuration keys (
ipynbTranslator.openai.apiKey, etc.). Users will be auto-migrated to the new Profile system on first run. -
Commands: Renamed commands to follow a consistent naming convention.
Security
-
API Keys are stripped from
settings.jsonupon saving and migrated to secure storage. -
New
Set API Keycommand allows safe key updates and deletion.
v0.2.0 - Ollama Support & Caching
✨ 新特性
- 本地模型支持: 新增 Ollama 支持,无需 API Key 即可翻译。
- 智能缓存: 自动缓存已翻译内容,避免重复消耗 Token。
🛠 改进
- 重构文档结构至
docs/目录。 - 优化项目命名为
ipynb-translator。
V0.1.0 - 首个可用版本
🎉 首个发布版本
Jupyter Notebook Markdown 英译汉扩展 V0.1 版本正式发布!
✨ 功能特性
- ✅ 翻译 Notebook 中的英文 Markdown 单元格为中文
- ✅ 自动跳过包含中文的单元格
- ✅ 支持 Mock 和 OpenAI 两种翻译引擎
- ✅ 双语对照模式(默认):保留原文在 HTML 注释中
- ✅ 可配置翻译模式:bilingual / replace
- ✅ 进度显示和取消支持
- ✅ 优化的技术文档翻译提示词
📦 安装方法
方式一:直接安装(推荐)
- 下载下方的
ipynb-markdown-translator-0.1.0.vsix文件 - 在 VSCode 中:扩展 → 更多操作(···) → 从 VSIX 安装
- 选择下载的文件
方式二:从源码编译
git clone https://github.com/Zhou-Ruichen/Notebook-Translate.git
cd Notebook-Translate
npm install
npm run compile
# 按 F5 启动调试⚙️ 配置
默认使用 Mock 模式(无需配置)。如需真实翻译,请配置 OpenAI API:
{
"ipynbTranslator.engine": "openai",
"ipynbTranslator.openai.apiKey": "你的-API-Key",
"ipynbTranslator.openai.model": "gpt-4o-mini"
}