diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f4d017..caca504 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 暂无。 +## [0.8.1] - 2026-08-31 + +### ✨ 新功能 +- `commit` 与 `tag` 命令新增 `--select-remote` 标志:仓库存在多个远程时,以多选形式交互式选择推送目标(可多选),与 `--push`、`--yes` 形成优先链(`--yes` > `--select-remote` > `--push`) +- 推送流程重构为共享的 `run_push_flow`,感知远程配置:请求的远程不存在时回退到按字母序首个可用远程并提示;多远程推送失败时输出已推送/未尝试清单 + +### 🐞 错误修复 +- 修复未指定 `--no-color` 时对 `colored` 的强制颜色覆盖会破坏 TTY 自动检测的问题:现仅在明确禁用时才强制关闭颜色,管道输出保持无 ANSI 转义 + +### 📚 文档 +- README(中/英文)同步补充 `--select-remote` 选项说明 + +### 🔧 其他变更 +- 新增 `GitRepo::list_remotes()` 与 `GitRepo::resolve_push_target()` 辅助方法及单元测试 +- 新增多语言推送消息(`push_skipped_no_remote`、`push_target_fallback`、`select_push_remotes`、`no_remotes_selected`、`push_multi_failed`),覆盖 7 种语言 +- 新增 `tests/integration_tests.rs` 集成测试,覆盖远程解析与多远程推送流程 + ## [0.7.0] - 2026-08-21 ### ✨ 新功能 diff --git a/Cargo.toml b/Cargo.toml index c67130d..c5dd99b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quicommit" -version = "0.7.0" +version = "0.8.1" edition = "2024" authors = ["Sidney Zhang "] description = "A powerful Git assistant tool with AI-powered commit/tag/changelog generation"