File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- v0.0.13
1+ v0.0.14
Original file line number Diff line number Diff line change 1010## 当前版本文件
1111
1212- [ ` Unreleased.md ` ] ( Unreleased.md )
13+ - [ ` v0.0.14.md ` ] ( v0.0.14.md )
1314- [ ` v0.0.13.md ` ] ( v0.0.13.md )
1415- [ ` v0.0.12.md ` ] ( v0.0.12.md )
1516- [ ` v0.0.11.md ` ] ( v0.0.11.md )
Original file line number Diff line number Diff line change 1+ # [ v0.0.14] - 2026-08-12
2+
3+ ## 新增
4+
5+ - 暂无
6+
7+ ## 修复
8+
9+ - 修复 ` fastgit commit ` 默认流程需手动选 message / 按 Enter,看起来像卡死的问题;现默认自动完成全流程。
10+ - 修复 push 无超时导致长时间转圈;增加 2 分钟超时与可读错误。
11+ - 修复 push 被拒后需手动 amend/push;现自动 pull 并重试 push(无冲突时)。
12+ - 修复 Ctrl+C 时 ` ShellExecOutput ` 直接 ` os.Exit(1) ` 的问题。
13+ - 修复冲突辅助流程阻塞等待 Enter 的问题。
14+
15+ ## 变更
16+
17+ - ` fastgit commit ` 默认行为:暂存 → check → AI 生成 message → 提交 → 推送,全程无需交互。
18+ - commit 前 check 改为轻量流水线(fmt/vet/lint/secrets,跳过全量 test);完整 test 仍可通过 ` fastgit check run ` 执行。
19+ - 默认关闭多候选交互(` candidates_default: false ` );多候选配置下自动选取 conventional 风格 message。
20+ - 移除 ` --single ` ;新增 ` --edit ` (手动改 message)与 ` --candidates ` (手动三选一)。
21+ - check 与 commit 流程增加 stderr 进度输出。
22+
23+ ## 文档
24+
25+ - 更新 ` features.md ` ,同步 commit 默认行为与参数说明。
26+
27+ ## 影响范围
28+
29+ - CLI:` commit `
30+ - 配置:` commit.candidates_default ` 默认值
31+ - 质量门禁:commit 内置 check 不再跑全量 test
32+
33+ ## 验证建议
34+
35+ - 小改动执行 ` fastgit commit ` ,确认无需按键即可提交并推送
36+ - 执行 ` fastgit check run ` ,确认全量 test 仍可用
37+ - 需要手动干预时使用 ` fastgit commit --edit ` 或 ` --candidates `
38+
39+ ## 回滚建议
40+
41+ - revert 相关 commit 或回退到 ` v0.0.13 `
Original file line number Diff line number Diff line change 5151
5252- 提示词由 ` utils.GeneratePrompt() ` 统一生成
5353- 默认限制提交信息风格与长度
54- - 支持 ` --amend ` 、` --fast ` 、` --candidates ` 、` --single ` 、` --skip-check ` 、` --skip-policy ` 、` --override-policy `
55- - 默认三选一(` ~/.config/fastgit/config.yaml ` 中 ` commit.candidates_default: true ` ;` .fastgit/commit.yaml ` 可覆盖)
54+ - 支持 ` --amend ` 、` --fast ` 、` --edit ` 、` --candidates ` 、` --skip-check ` 、` --skip-policy ` 、` --override-policy `
55+ - 默认全自动:暂存 → check → AI 生成 message → 提交 → 推送(无需交互)
56+ - 需要手动干预时用 ` --edit ` 改 message,或 ` --candidates ` 三选一
57+ - commit 前 check 为轻量流水线(fmt/vet/lint);全量 test 请用 ` fastgit check run `
5658- 提交前自动 ` git add -A ` (含新建未跟踪文件;仍尊重 ` .gitignore ` )
5759- AI 生成有超时(约 45s),超时后回退规则消息,避免 spinner 卡死
5860- 大 diff 自动压缩后再送给 AI(跳过 lock/二进制,限制体积),避免请求爆掉
You can’t perform that action at this time.
0 commit comments