diff --git a/CHANGELOG.md b/CHANGELOG.md index b11e382..602ab63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,14 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +暂无。 + +## [0.1.11] - 2026-03-23 + ### ✨ 新功能 +- 新增配置导出导入功能,支持加密保护 +- Profile 支持 Token 管理(PAT 等) - 自动生成和维护 Keep a Changelog 格式的变更日志 - 交互式命令行界面,支持预览和确认 ### 🔐 安全特性 -- 敏感数据加密存储(API 密钥、SSH 密码等) +- 敏感数据加密存储(API 密钥等) - 使用系统密钥环安全保存凭证 +### 🔧 其他变更 +- 优化 diff 截断逻辑,使用字符边界确保多字节字符安全 +- 改进配置管理器,支持修改追踪 + ## [0.1.9] - 2026-03-06 ### 🐞 错误修复 diff --git a/Cargo.toml b/Cargo.toml index 9912496..8dee0eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quicommit" -version = "0.1.10" +version = "0.1.11" edition = "2024" authors = ["Sidney Zhang "] description = "A powerful Git assistant tool with AI-powered commit/tag/changelog generation(alpha version)" diff --git a/README.md b/README.md index ea4740f..57a766f 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ A powerful AI-powered Git assistant for generating conventional commits, tags, a - **Changelog Generation**: Automatic changelog generation in Keep a Changelog format - **Security**: Use system keyring to store API keys securely - **Interactive UI**: Beautiful CLI with previews and confirmations +- **Multi-language Support**: Output in 7 languages (English, Chinese, Japanese, Korean, Spanish, French, German) +- **Config Export/Import**: Backup and restore configuration with optional encryption ## Installation @@ -197,7 +199,7 @@ quicommit config set-version-prefix v # Set changelog path quicommit config set-changelog-path CHANGELOG.md -# Set output language +# Set output language (en, zh, ja, ko, es, fr, de) quicommit config set-language en # Set keep commit types in English @@ -215,6 +217,14 @@ quicommit config check-keyring # Show config file path quicommit config path +# Export configuration (with optional encryption) +quicommit config export -o config-backup.toml +quicommit config export -o config-backup.enc --password + +# Import configuration +quicommit config import -i config-backup.toml +quicommit config import -i config-backup.enc --password + # Reset configuration to defaults quicommit config reset --force ``` @@ -424,11 +434,13 @@ quicommit config check-keyring # Show config file path quicommit config path -# Export configuration +# Export configuration (with optional encryption) quicommit config export -o config-backup.toml +quicommit config export -o config-backup.enc --password # Import configuration quicommit config import -i config-backup.toml +quicommit config import -i config-backup.enc --password # Reset configuration quicommit config reset --force diff --git a/readme_zh.md b/readme_zh.md index 2be1261..f97cb46 100644 --- a/readme_zh.md +++ b/readme_zh.md @@ -21,6 +21,8 @@ - **变更日志生成**:自动生成Keep a Changelog格式的变更日志 - **安全保护**:使用系统密钥环进行安全存储 - **交互式界面**:美观的CLI界面,支持预览和确认 +- **多语言支持**:支持7种语言输出(中文、英语、日语、韩语、西班牙语、法语、德语) +- **配置导出导入**:备份和恢复配置,支持加密保护 ## 安装 @@ -196,7 +198,7 @@ quicommit config set-version-prefix v # 设置变更日志路径 quicommit config set-changelog-path CHANGELOG.md -# 设置输出语言 +# 设置输出语言(zh, en, ja, ko, es, fr, de) quicommit config set-language zh # 设置保持提交类型为英文 @@ -214,6 +216,14 @@ quicommit config check-keyring # 显示配置文件路径 quicommit config path +# 导出配置(支持加密) +quicommit config export -o config-backup.toml +quicommit config export -o config-backup.enc --password + +# 导入配置 +quicommit config import -i config-backup.toml +quicommit config import -i config-backup.enc --password + # 重置配置为默认值 quicommit config reset --force ``` @@ -423,11 +433,13 @@ quicommit config check-keyring # 显示配置文件路径 quicommit config path -# 导出配置 +# 导出配置(支持加密) quicommit config export -o config-backup.toml +quicommit config export -o config-backup.enc --password # 导入配置 quicommit config import -i config-backup.toml +quicommit config import -i config-backup.enc --password # 重置配置 quicommit config reset --force