@zjex/git-workflow 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,22 +1,480 @@
1
- # Changelog
1
+ # Changelog
2
2
 
3
- ## ...main
3
+ ## [v0.4.0](https://github.com/iamzjt-front-end/git-workflow/compare/v0.3.10...v0.4.0) (2026-01-15)
4
4
 
5
- ### 🚀 Enhancements
5
+ ### 📖 Documentation
6
+
7
+ - 📝 docs: 自动更新测试数量徽章 [skip ci] ([3d93407](https://github.com/iamzjt-front-end/git-workflow/commit/3d93407))
8
+ - 📝 docs(test): 添加测试覆盖总结文档 ([e002054](https://github.com/iamzjt-front-end/git-workflow/commit/e002054))
9
+ - 📝 docs: 自动更新测试数量徽章 [skip ci] ([094e8fc](https://github.com/iamzjt-front-end/git-workflow/commit/094e8fc))
10
+
11
+ ### 🔧 Chore
12
+
13
+ - 🔧 chore(release): 发布 v0.4.0 ([7a636e3](https://github.com/iamzjt-front-end/git-workflow/commit/7a636e3))
14
+
15
+
16
+ ## [v0.3.10](https://github.com/iamzjt-front-end/git-workflow/compare/v0.3.9...v0.3.10) (2026-01-14)
17
+
18
+ ### ♻️ Refactors
19
+
20
+ - ♻️ refactor(ai-service): 优化 buildPrompt 函数的参数格式化方式 ([6aec2cd](https://github.com/iamzjt-front-end/git-workflow/commit/6aec2cd))
21
+
22
+ ### 🔧 Chore
23
+
24
+ - 🔧 chore(release): 发布 v0.3.10 ([0aedd8d](https://github.com/iamzjt-front-end/git-workflow/commit/0aedd8d))
25
+
26
+
27
+ ## [v0.3.9](https://github.com/iamzjt-front-end/git-workflow/compare/v0.3.8...v0.3.9) (2026-01-14)
28
+
29
+ ### ✨ Features
30
+
31
+ - ✨ feat(branch): 添加分支描述必填配置功能 ([d0349d0](https://github.com/iamzjt-front-end/git-workflow/commit/d0349d0))
32
+
33
+ ### 📖 Documentation
34
+
35
+ - 📝 docs: 自动更新测试数量徽章 [skip ci] ([803f00e](https://github.com/iamzjt-front-end/git-workflow/commit/803f00e))
36
+ - 📝 docs: 自动更新测试数量徽章 [skip ci] ([3e6a947](https://github.com/iamzjt-front-end/git-workflow/commit/3e6a947))
37
+
38
+ ### ✅ Tests
39
+
40
+ - ✅ test(commit): 添加提交功能的自动暂存和状态解析测试 ([ce65734](https://github.com/iamzjt-front-end/git-workflow/commit/ce65734))
41
+
42
+ ### 🔧 Chore
43
+
44
+ - 🔧 chore(release): 发布 v0.3.9 ([80c7d2a](https://github.com/iamzjt-front-end/git-workflow/commit/80c7d2a))
45
+ - 💄 style(update-notifier): 优化通知框的边距设置 ([482f2de](https://github.com/iamzjt-front-end/git-workflow/commit/482f2de))
46
+
47
+
48
+ ## [v0.3.8](https://github.com/iamzjt-front-end/git-workflow/compare/v0.3.7...v0.3.8) (2026-01-14)
49
+
50
+ ### ✨ Features
51
+
52
+ - ✨ feat(commit): 优化自动暂存和用户选择未暂存文件的逻辑 ([7b7bbc6](https://github.com/iamzjt-front-end/git-workflow/commit/7b7bbc6))
53
+
54
+ ### 🔧 Chore
55
+
56
+ - 🔧 chore(release): 发布 v0.3.8 ([2eb7011](https://github.com/iamzjt-front-end/git-workflow/commit/2eb7011))
57
+
58
+
59
+ ## [v0.3.7](https://github.com/iamzjt-front-end/git-workflow/compare/v0.3.6...v0.3.7) (2026-01-12)
60
+
61
+ ### 🔧 Chore
6
62
 
7
- - Initialize git-workflow CLI project with core functionality (9d65fde)
8
- - **cli:** Migrate to CAC CLI framework with improved command structure (58de329)
63
+ - 🔧 chore(release): 发布 v0.3.7 ([ef0c179](https://github.com/iamzjt-front-end/git-workflow/commit/ef0c179))
64
+ - 💄 style(log): 优化代码格式和注释 - 统一使用双引号替换单引号 - 移除多余的空行以提高代码可读性 - 更新注释以更清晰地描述功能和逻辑 - 保持原始提交顺序的日期分组逻辑更为明确 ([7580780](https://github.com/iamzjt-front-end/git-workflow/commit/7580780))
65
+
66
+
67
+ ## [v0.3.6](https://github.com/iamzjt-front-end/git-workflow/compare/v0.3.5...v0.3.6) (2026-01-12)
68
+
69
+ ### 🔧 Chore
70
+
71
+ - 🔧 chore(release): 发布 v0.3.6 ([34fe359](https://github.com/iamzjt-front-end/git-workflow/commit/34fe359))
72
+ - 💄 style(update): 调整更新通知边框宽度 - 更新通知的边框宽度从 50 调整为 40 - 统一 `update.ts` 和 `update-notifier.ts` 中的边框宽度设置 - 提升界面美观性和一致性 ([9e93815](https://github.com/iamzjt-front-end/git-workflow/commit/9e93815))
73
+
74
+
75
+ ## [v0.3.5](https://github.com/iamzjt-front-end/git-workflow/compare/v0.3.4...v0.3.5) (2026-01-12)
76
+
77
+ ### 📖 Documentation
78
+
79
+ - 📝 docs: 自动更新测试数量徽章 [skip ci] ([85ca30e](https://github.com/iamzjt-front-end/git-workflow/commit/85ca30e))
80
+
81
+ ### ⚡ Performance
82
+
83
+ - ⚡️ perf(update-notifier): 优化更新检查逻辑 - 将检查间隔从 4 小时缩短为 1 小时,已是最新版本时每小时检查一次 - 修改缓存检查逻辑,确保在有新版本时每次都进行后台检查 - 更新测试用例,反映新的检查逻辑和时间限制 - 优化代码结构,提升可读性和维护性 ([59a35ab](https://github.com/iamzjt-front-end/git-workflow/commit/59a35ab))
84
+
85
+ ### 🔧 Chore
86
+
87
+ - 🔧 chore(release): 发布 v0.3.5 ([1397fbc](https://github.com/iamzjt-front-end/git-workflow/commit/1397fbc))
88
+
89
+
90
+ ## [v0.3.4](https://github.com/iamzjt-front-end/git-workflow/compare/v0.3.3...v0.3.4) (2026-01-12)
91
+
92
+ ### ✨ Features
93
+
94
+ - ✨ feat(commit): 增强提交命令的自动暂存功能 - 添加了自动暂存功能,当暂存区为空且有未暂存的更改时会自动暂存 - 更新了提交前的状态检查逻辑,以支持自动暂存 - 优化了用户反馈信息,确保在没有暂存文件时能清晰提示 📝 feat(tag): 修改标签列表显示逻辑 - 限制标签显示数量,从最多 20 个调整为最多 5 个 - 更新了前缀过滤时的输出信息,显示总标签数量 - 优化了单前缀情况下的标签显示逻辑,确保信息简洁明了 ([2311603](https://github.com/iamzjt-front-end/git-workflow/commit/2311603))
95
+
96
+ ### 🔧 Chore
97
+
98
+ - 🔧 chore(release): 发布 v0.3.4 ([04771bc](https://github.com/iamzjt-front-end/git-workflow/commit/04771bc))
99
+
100
+
101
+ ## [v0.3.3](https://github.com/iamzjt-front-end/git-workflow/compare/v0.3.2...v0.3.3) (2026-01-12)
102
+
103
+ ### ✨ Features
104
+
105
+ - ✨ feat(docs): 更新文档以增加帮助命令 - 添加了  ███████╗ ██╗███████╗██╗ ██╗ ╚══███╔╝ ██║██╔════╝╚██╗██╔╝ ███╔╝ ██║█████╗ ╚███╔╝ ███╔╝ ██ ██║██╔══╝ ██╔██╗ ███████╗╚█████╔╝███████╗██╔╝ ██╗ ╚══════╝ ╚════╝ ╚══════╝╚═╝ ╚═╝   git-workflow v0.3.2  ? 选择操作: ❯ [1] ✨ 创建 feature 分支 gw f [2] 🐛 创建 hotfix 分支 gw h [3] 🗑️ 删除分支 gw d [4] 📝 提交代码 gw c [5] 🏷️ 创建 tag gw t [6] 🗑️ 删除 tag gw td [7] ✏️ 重命名 tag gw tu ([b40ab9e](https://github.com/iamzjt-front-end/git-workflow/commit/b40ab9e))
106
+ - ✨ feat(husky): 添加 commit message 格式化功能 - 新增 husky 钩子以格式化 commit message - 实现格式化脚本以支持 emoji 自动添加 - 修改 buildPrompt 函数以接受 emoji 选项 ([6c14487](https://github.com/iamzjt-front-end/git-workflow/commit/6c14487))
9
107
 
10
108
  ### 📖 Documentation
11
109
 
12
- - Update ID label terminology to English standards (1b0882d)
13
- - Enhance README with comprehensive guide and visual improvements (8ec8afb)
110
+ - 📝 docs: 自动更新测试数量徽章 [skip ci] ([d6f42c9](https://github.com/iamzjt-front-end/git-workflow/commit/d6f42c9))
111
+
112
+ ### ✅ Tests
113
+
114
+ - ✅ test: 测试commit message格式化功能 ([8d74ffa](https://github.com/iamzjt-front-end/git-workflow/commit/8d74ffa))
115
+
116
+ ### 🔧 Chore
117
+
118
+ - 🔧 chore(release): 发布 v0.3.3 ([2c7c89e](https://github.com/iamzjt-front-end/git-workflow/commit/2c7c89e))
119
+ - 🔧 chore(husky): 优化 pre-commit 钩子和更新 ROADMAP 文档 - 移除 pre-commit 钩子中的多余注释和退出代码 - 更新 ROADMAP.md 中的测试覆盖描述格式 - 添加 AI 代码审查功能的详细说明 - 增强 GitHub 集成和 diff 显示的描述 - 修正多处格式问题,提升文档可读性 ([817deff](https://github.com/iamzjt-front-end/git-workflow/commit/817deff))
120
+ - 🔧 chore: 删除重复的测试文件 ([ee1a680](https://github.com/iamzjt-front-end/git-workflow/commit/ee1a680))
121
+ - 🔧 chore: 清理测试文件 ([746aa87](https://github.com/iamzjt-front-end/git-workflow/commit/746aa87))
122
+
123
+
124
+ ## [v0.3.2](https://github.com/iamzjt-front-end/git-workflow/compare/v0.3.0...v0.3.2) (2026-01-12)
125
+
126
+ ### ✨ Features
127
+
128
+ - 更新发布脚本以处理分支分歧 - 添加检查本地和远程分支是否有分歧的逻辑 - 实现快进合并和推送本地提交的提示 - 提供解决冲突的建议和选择策略(rebase 或 merge) - 更新 pre-commit 钩子以确保测试通过后继续提交 - 在提交失败时重新抛出错误以便调用者处理 ([e26a9ab](https://github.com/iamzjt-front-end/git-workflow/commit/e26a9ab))
129
+ - 添加功能路线图和Git Wrapped文档 - 创建功能路线图文档,记录即将实现的功能 - 添加Git Wrapped功能概述,提供年度编程回顾的详细信息 - 列出高优先级功能及其技术难点和独特价值 - 详细描述Git Wrapped的核心功能和高级选项 - 更新报告内容的统计信息和年度亮点说明 ([9b868b0](https://github.com/iamzjt-front-end/git-workflow/commit/9b868b0))
130
+
131
+ ### 📖 Documentation
132
+
133
+ - 自动更新测试数量徽章 [skip ci] ([a60fe90](https://github.com/iamzjt-front-end/git-workflow/commit/a60fe90))
134
+
135
+ ### 🔧 Chore
136
+
137
+ - 🔖 chore(release): 发布 v0.3.2 ([0bfa582](https://github.com/iamzjt-front-end/git-workflow/commit/0bfa582))
138
+ - 🔖 chore(release): 发布 v0.3.1 ([b09035a](https://github.com/iamzjt-front-end/git-workflow/commit/b09035a))
139
+ - 更新 README 和版本信息 - 更新 README 中的测试通过数量 - 将版本号从 0.2.24 更新为 0.3.0 - 在 package.json 中添加 node-pager 依赖 - 在 package-lock.json 中添加 node-pager 和 tmp 相关信息 - 删除不再使用的 help.ts 文件 ([b54c37f](https://github.com/iamzjt-front-end/git-workflow/commit/b54c37f))
140
+
141
+
142
+ ## [v0.3.0](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.24...v0.3.0) (2026-01-11)
143
+
144
+ ### ✨ Features
145
+
146
+ - 使用 spawn 替代 exec 以支持用户交互 ([e030046](https://github.com/iamzjt-front-end/git-workflow/commit/e030046))
147
+ - 自动处理npm登录,提升发布体验 ([6fdc664](https://github.com/iamzjt-front-end/git-workflow/commit/6fdc664))
148
+ - 添加测试环境的console输出抑制功能 ([029503c](https://github.com/iamzjt-front-end/git-workflow/commit/029503c))
149
+ - 完善品牌标识系统和AI提交功能 ([c463725](https://github.com/iamzjt-front-end/git-workflow/commit/c463725))
150
+ - ✨ feat: 完善品牌标识系统和 README 布局优化 ([7acf6a4](https://github.com/iamzjt-front-end/git-workflow/commit/7acf6a4))
151
+ - ✨ feat(docs): 使用 zjex 品牌设计创建 logo 和 favicon ([5d46e4a](https://github.com/iamzjt-front-end/git-workflow/commit/5d46e4a))
152
+ - 默认启用详细描述功能 ([375cf14](https://github.com/iamzjt-front-end/git-workflow/commit/375cf14))
153
+ - 添加 AI commit 详细描述功能 ([064ec63](https://github.com/iamzjt-front-end/git-workflow/commit/064ec63))
154
+ - 添加自动更新测试数量的功能 ([78a15dc](https://github.com/iamzjt-front-end/git-workflow/commit/78a15dc))
155
+
156
+ ### 🐛 Bug Fixes
157
+
158
+ - 修复GitHub Actions权限问题 ([9e0653e](https://github.com/iamzjt-front-end/git-workflow/commit/9e0653e))
159
+ - 修复所有失败测试,实现100%测试通过率 ([0a57031](https://github.com/iamzjt-front-end/git-workflow/commit/0a57031))
160
+ - 修复 GitHub Actions 依赖锁文件问题 ([fa56710](https://github.com/iamzjt-front-end/git-workflow/commit/fa56710))
161
+ - 修复 GitHub Actions 工作流配置 ([17fc9eb](https://github.com/iamzjt-front-end/git-workflow/commit/17fc9eb))
162
+
163
+ ### 📖 Documentation
164
+
165
+ - 完善 VitePress 文档站点 ([3191daa](https://github.com/iamzjt-front-end/git-workflow/commit/3191daa))
166
+ - 自动更新测试数量徽章 [skip ci] ([2f880ad](https://github.com/iamzjt-front-end/git-workflow/commit/2f880ad))
167
+ - 自动更新测试数量徽章 [skip ci] ([2474caa](https://github.com/iamzjt-front-end/git-workflow/commit/2474caa))
168
+ - 优化 README 内容并添加 VitePress 文档链接 ([aac071e](https://github.com/iamzjt-front-end/git-workflow/commit/aac071e))
169
+
170
+ ### 🎨 Styles
171
+
172
+ - 更新文档logo为简洁版本,移除背景渐变 ([5c93207](https://github.com/iamzjt-front-end/git-workflow/commit/5c93207))
173
+
174
+ ### ♻️ Refactors
175
+
176
+ - 简化 GitHub Actions 工作流配置 ([cf1d76a](https://github.com/iamzjt-front-end/git-workflow/commit/cf1d76a))
177
+
178
+ ### ✅ Tests
179
+
180
+ - 验证 skip ci 功能 [skip ci] ([bdfdb09](https://github.com/iamzjt-front-end/git-workflow/commit/bdfdb09))
181
+
182
+ ### 🔧 Chore
183
+
184
+ - 🔖 chore(release): 发布 v0.3.0 ([246b444](https://github.com/iamzjt-front-end/git-workflow/commit/246b444))
185
+ - 优化pre-commit钩子,测试失败时提供清晰的解决方案 ([d95f285](https://github.com/iamzjt-front-end/git-workflow/commit/d95f285))
186
+ - 修复pre-commit钩子配置,确保测试通过后才提交 ([937dbda](https://github.com/iamzjt-front-end/git-workflow/commit/937dbda))
187
+ - 🔧 chore: 优化 .gitignore 配置 ([487f449](https://github.com/iamzjt-front-end/git-workflow/commit/487f449))
188
+ - 🔧 fix(docs): 修复 VitePress 图标显示问题 ([35f5111](https://github.com/iamzjt-front-end/git-workflow/commit/35f5111))
189
+
190
+ ### 🤖 CI
191
+
192
+ - 修复 GitHub Pages 部署配置 ([dcd55f1](https://github.com/iamzjt-front-end/git-workflow/commit/dcd55f1))
193
+ - 添加 VitePress 文档自动部署工作流 ([143e5df](https://github.com/iamzjt-front-end/git-workflow/commit/143e5df))
194
+
195
+
196
+ ## [v0.2.24](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.23...v0.2.24) (2026-01-09)
197
+
198
+ ### ✨ Features
199
+
200
+ - 添加 GitHub Actions 测试工作流和 Husky 预提交钩子 ([564fc3a](https://github.com/iamzjt-front-end/git-workflow/commit/564fc3a))
201
+
202
+ ### 🔧 Chore
203
+
204
+ - 🔖 chore(release): 发布 v0.2.24 ([f94cc11](https://github.com/iamzjt-front-end/git-workflow/commit/f94cc11))
205
+
206
+
207
+ ## [v0.2.23](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.22...v0.2.23) (2026-01-09)
208
+
209
+ ### ✨ Features
210
+
211
+ - 优化 tags 列表展示格式支持多前缀分列显示 ([bff916a](https://github.com/iamzjt-front-end/git-workflow/commit/bff916a))
212
+
213
+ ### 🔧 Chore
214
+
215
+ - 🔖 chore(release): 发布 v0.2.23 ([ad8ca55](https://github.com/iamzjt-front-end/git-workflow/commit/ad8ca55))
216
+
217
+
218
+ ## [v0.2.22](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.21...v0.2.22) (2026-01-09)
219
+
220
+ ### ✨ Features
221
+
222
+ - 添加对 Volta 的支持以选择更新命令 ([c4e2aaf](https://github.com/iamzjt-front-end/git-workflow/commit/c4e2aaf))
223
+
224
+ ### 🔧 Chore
225
+
226
+ - 🔖 chore(release): 发布 v0.2.22 ([7e6318f](https://github.com/iamzjt-front-end/git-workflow/commit/7e6318f))
227
+
228
+
229
+ ## [v0.2.21](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.20...v0.2.21) (2026-01-09)
230
+
231
+ ### ✨ Features
232
+
233
+ - 添加代码文档说明和详细注释规范 ([078445b](https://github.com/iamzjt-front-end/git-workflow/commit/078445b))
234
+ - 重命名 tag 功能增强与提示优化 ([4eb3c0b](https://github.com/iamzjt-front-end/git-workflow/commit/4eb3c0b))
235
+
236
+ ### ♻️ Refactors
237
+
238
+ - 优化提交类型选择界面格式化逻辑 ([9b55eb2](https://github.com/iamzjt-front-end/git-workflow/commit/9b55eb2))
239
+
240
+ ### 🔧 Chore
241
+
242
+ - 🔖 chore(release): 发布 v0.2.21 ([8437e5a](https://github.com/iamzjt-front-end/git-workflow/commit/8437e5a))
243
+
244
+
245
+ ## [v0.2.20](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.19...v0.2.20) (2026-01-09)
246
+
247
+ ### ✨ Features
248
+
249
+ - 添加清理缓存命令说明并更新版本比较逻辑 ([ac62e0c](https://github.com/iamzjt-front-end/git-workflow/commit/ac62e0c))
250
+
251
+ ### 🔧 Chore
252
+
253
+ - 🔖 chore(release): 发布 v0.2.20 ([1ce933a](https://github.com/iamzjt-front-end/git-workflow/commit/1ce933a))
254
+
255
+
256
+ ## [v0.2.19](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.18...v0.2.19) (2026-01-09)
257
+
258
+ ### ✨ Features
259
+
260
+ - 添加检查并更新到最新版本的命令功能 ([26c460f](https://github.com/iamzjt-front-end/git-workflow/commit/26c460f))
261
+
262
+ ### 🔧 Chore
263
+
264
+ - 🔖 chore(release): 发布 v0.2.19 ([cd3f2db](https://github.com/iamzjt-front-end/git-workflow/commit/cd3f2db))
265
+
266
+
267
+ ## [v0.2.18](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.17...v0.2.18) (2026-01-09)
268
+
269
+ ### ✨ Features
270
+
271
+ - 优化提交命令的暂存逻辑和用户提示信息 ([6c3c1a6](https://github.com/iamzjt-front-end/git-workflow/commit/6c3c1a6))
272
+
273
+ ### 🐛 Bug Fixes
274
+
275
+ - -service): 修复构建提示函数中的逻辑错误 ([ff6c942](https://github.com/iamzjt-front-end/git-workflow/commit/ff6c942))
276
+
277
+ ### 📖 Documentation
278
+
279
+ - 更新 README 文件,增强可读性和内容丰富性 ([fa279f0](https://github.com/iamzjt-front-end/git-workflow/commit/fa279f0))
280
+
281
+ ### 🔧 Chore
282
+
283
+ - 🔖 chore(release): 发布 v0.2.18 ([ec63cb3](https://github.com/iamzjt-front-end/git-workflow/commit/ec63cb3))
284
+
285
+
286
+ ## [v0.2.17](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.16...v0.2.17) (2026-01-09)
287
+
288
+ ### 🐛 Bug Fixes
289
+
290
+ - Add spinner render delay and improve version display ([72f05b2](https://github.com/iamzjt-front-end/git-workflow/commit/72f05b2))
291
+
292
+ ### 🔧 Chore
293
+
294
+ - 🔖 chore(release): 发布 v0.2.17 ([f445516](https://github.com/iamzjt-front-end/git-workflow/commit/f445516))
295
+
296
+
297
+ ## [v0.2.16](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.15...v0.2.16) (2026-01-09)
298
+
299
+ ### 🐛 Bug Fixes
300
+
301
+ - Adjust line clearing count to 95 for npm publish output ([fe96d3b](https://github.com/iamzjt-front-end/git-workflow/commit/fe96d3b))
302
+
303
+ ### 🔧 Chore
304
+
305
+ - 🔖 chore(release): 发布 v0.2.16 ([65fb23e](https://github.com/iamzjt-front-end/git-workflow/commit/65fb23e))
306
+
307
+
308
+ ## [v0.2.15](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.14...v0.2.15) (2026-01-09)
309
+
310
+ ### 🐛 Bug Fixes
311
+
312
+ - Suppress Node warnings and improve output clearing ([a7fdb32](https://github.com/iamzjt-front-end/git-workflow/commit/a7fdb32))
313
+
314
+ ### 🔧 Chore
315
+
316
+ - 🔖 chore(release): 发布 v0.2.15 ([92b3329](https://github.com/iamzjt-front-end/git-workflow/commit/92b3329))
317
+
318
+
319
+ ## [v0.2.14](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.13...v0.2.14) (2026-01-09)
320
+
321
+ ### 🐛 Bug Fixes
322
+
323
+ - Simplify npm publish output handling and suppress Node warnings ([cda8a80](https://github.com/iamzjt-front-end/git-workflow/commit/cda8a80))
324
+
325
+ ### 🔧 Chore
326
+
327
+ - 🔖 chore(release): 发布 v0.2.14 ([a4e8b73](https://github.com/iamzjt-front-end/git-workflow/commit/a4e8b73))
328
+
329
+
330
+ ## [v0.2.13](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.12...v0.2.13) (2026-01-09)
331
+
332
+ ### 🐛 Bug Fixes
333
+
334
+ - Adjust line clearing count in publish script ([b0dab8d](https://github.com/iamzjt-front-end/git-workflow/commit/b0dab8d))
335
+ - 使用 script 命令精确捕获 npm publish 输出 ([00282c4](https://github.com/iamzjt-front-end/git-workflow/commit/00282c4))
336
+
337
+ ### 🔧 Chore
338
+
339
+ - 🔖 chore(release): 发布 v0.2.13 ([7285fa0](https://github.com/iamzjt-front-end/git-workflow/commit/7285fa0))
340
+
341
+
342
+ ## [v0.2.12](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.11...v0.2.12) (2026-01-09)
343
+
344
+ ### ✨ Features
345
+
346
+ - 优化发布脚本,精确清除日志输出 ([329029e](https://github.com/iamzjt-front-end/git-workflow/commit/329029e))
347
+
348
+ ### 🔧 Chore
349
+
350
+ - 🔖 chore(release): 发布 v0.2.12 ([596c4a1](https://github.com/iamzjt-front-end/git-workflow/commit/596c4a1))
351
+
352
+
353
+ ## [v0.2.11](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.10...v0.2.11) (2026-01-09)
354
+
355
+ ### ✨ Features
356
+
357
+ - 重写发布脚本为 Node.js 版本,添加 loading 动画和更好的交互体验 ([0624ffa](https://github.com/iamzjt-front-end/git-workflow/commit/0624ffa))
358
+
359
+ ### 🔧 Chore
360
+
361
+ - 🔖 chore(release): 发布 v0.2.11 ([2eaf682](https://github.com/iamzjt-front-end/git-workflow/commit/2eaf682))
362
+
363
+
364
+ ## [v0.2.10](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.9...v0.2.10) (2026-01-09)
365
+
366
+ ### ✨ Features
367
+
368
+ - Add delete and update tag commands ([db3aa50](https://github.com/iamzjt-front-end/git-workflow/commit/db3aa50))
369
+
370
+ ### 🔧 Chore
371
+
372
+ - 🔖 chore(release): 发布 v0.2.10 ([77dc22a](https://github.com/iamzjt-front-end/git-workflow/commit/77dc22a))
373
+
374
+
375
+ ## [v0.2.9](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.7...v0.2.9) (2026-01-09)
376
+
377
+ ### ✨ Features
378
+
379
+ - Refactor publish script with success message display ([cde8f32](https://github.com/iamzjt-front-end/git-workflow/commit/cde8f32))
380
+ - 为关键步骤添加结果展示 ([2507f96](https://github.com/iamzjt-front-end/git-workflow/commit/2507f96))
381
+ - 优化发布脚本,添加进度显示和步骤标记 ([660282d](https://github.com/iamzjt-front-end/git-workflow/commit/660282d))
382
+
383
+ ### 🔧 Chore
384
+
385
+ - 🔖 chore(release): 发布 v0.2.9 ([9ec03e1](https://github.com/iamzjt-front-end/git-workflow/commit/9ec03e1))
386
+ - 🔖 chore(release): 发布 v0.2.8 ([74a3627](https://github.com/iamzjt-front-end/git-workflow/commit/74a3627))
387
+
388
+
389
+ ## [v0.2.7](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.6...v0.2.7) (2026-01-09)
390
+
391
+ ### ♻️ Refactors
392
+
393
+ - -notifier): Improve update process and enhance user feedback ([476be3d](https://github.com/iamzjt-front-end/git-workflow/commit/476be3d))
394
+
395
+ ### 🔧 Chore
396
+
397
+ - 🔖 chore(release): 发布 v0.2.7 ([a65d917](https://github.com/iamzjt-front-end/git-workflow/commit/a65d917))
398
+
399
+
400
+ ## [v0.2.6](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.5...v0.2.6) (2026-01-08)
401
+
402
+ ### ✨ Features
403
+
404
+ - 添加 AI Commit 功能 ([6a6e23d](https://github.com/iamzjt-front-end/git-workflow/commit/6a6e23d))
405
+
406
+ ### ♻️ Refactors
407
+
408
+ - 移除内置 token 功能,更新 GitHub Models API 端点 ([258e587](https://github.com/iamzjt-front-end/git-workflow/commit/258e587))
409
+
410
+ ### 🔧 Chore
411
+
412
+ - 🔖 chore(release): 发布 v0.2.6 ([6edac85](https://github.com/iamzjt-front-end/git-workflow/commit/6edac85))
413
+
414
+
415
+ ## [v0.2.5](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.4...v0.2.5) (2026-01-08)
416
+
417
+ ### 🐛 Bug Fixes
418
+
419
+ - -notifier): Make update check blocking and handle Ctrl+C properly ([c3e9c53](https://github.com/iamzjt-front-end/git-workflow/commit/c3e9c53))
420
+
421
+ ### 🔧 Chore
422
+
423
+ - 🔖 chore(release): 发布 v0.2.5 ([5b18a1c](https://github.com/iamzjt-front-end/git-workflow/commit/5b18a1c))
424
+
425
+
426
+ ## [v0.2.4](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.3...v0.2.4) (2026-01-08)
427
+
428
+ ### 🐛 Bug Fixes
429
+
430
+ - Remove duplicate import and simplify version resolution ([bcccc36](https://github.com/iamzjt-front-end/git-workflow/commit/bcccc36))
431
+
432
+ ### 🔧 Chore
433
+
434
+ - 🔖 chore(release): 发布 v0.2.4 ([8b4adfd](https://github.com/iamzjt-front-end/git-workflow/commit/8b4adfd))
435
+
436
+
437
+ ## [v0.2.3](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.2...v0.2.3) (2026-01-08)
438
+
439
+ ### ♻️ Refactors
440
+
441
+ - -notifier): Replace dynamic requires with ES6 imports ([7e06596](https://github.com/iamzjt-front-end/git-workflow/commit/7e06596))
442
+
443
+ ### 🔧 Chore
444
+
445
+ - 🔖 chore(release): 发布 v0.2.3 ([9e29271](https://github.com/iamzjt-front-end/git-workflow/commit/9e29271))
446
+
447
+
448
+ ## [v0.2.2](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.1...v0.2.2) (2026-01-08)
449
+
450
+ ### ♻️ Refactors
451
+
452
+ - -notifier): Improve color utility API and update flow ([eb0ade0](https://github.com/iamzjt-front-end/git-workflow/commit/eb0ade0))
453
+
454
+ ### 🔧 Chore
455
+
456
+ - 🔖 chore(release): 发布 v0.2.2 ([b2f57dc](https://github.com/iamzjt-front-end/git-workflow/commit/b2f57dc))
457
+
458
+
459
+ ## [v0.2.1](https://github.com/iamzjt-front-end/git-workflow/compare/v0.2.0...v0.2.1) (2026-01-08)
460
+
461
+ ### 📖 Documentation
462
+
463
+ - Add migration guide for scoped package upgrade ([6a21299](https://github.com/iamzjt-front-end/git-workflow/commit/6a21299))
464
+
465
+ ### 🔧 Chore
466
+
467
+ - 🔖 chore(release): 发布 v0.2.1 ([456c111](https://github.com/iamzjt-front-end/git-workflow/commit/456c111))
468
+
469
+
470
+ ## [v0.2.0](https://github.com/iamzjt-front-end/git-workflow/compare/v0.1.1...v0.2.0) (2026-01-08)
471
+
472
+ ### ✨ Features
473
+
474
+ - -notifier): Add automatic update checking and notification system ([9e18c75](https://github.com/iamzjt-front-end/git-workflow/commit/9e18c75))
14
475
 
15
- ### 🏡 Chore
476
+ ### 🔧 Chore
16
477
 
17
- - **build:** Replace tsc with tsup for optimized bundling (6e847f5)
18
- - Add automated changelog generation and git hooks (ea94d88)
478
+ - 🔖 chore(release): 发布 v0.2.0 ([f1b9343](https://github.com/iamzjt-front-end/git-workflow/commit/f1b9343))
19
479
 
20
- ### ❤️ Contributors
21
480
 
22
- - 朱锦涛 <zhujintao@qmai.cn>
package/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  <a href="https://github.com/iamzjt-front-end/git-workflow"><img src="https://img.shields.io/github/stars/iamzjt-front-end/git-workflow?style=flat&colorA=18181B&colorB=F59E0B" alt="github stars"></a>
13
13
  <a href="https://github.com/iamzjt-front-end/git-workflow/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/@zjex/git-workflow?style=flat&colorA=18181B&colorB=10B981" alt="license"></a>
14
14
  <a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E%3D18-339933?style=flat&logo=node.js&logoColor=white&colorA=18181B" alt="node version"></a>
15
- <a href="https://github.com/iamzjt-front-end/git-workflow/actions"><img src="https://img.shields.io/badge/tests-371%20passed-success?style=flat&colorA=18181B" alt="tests"></a>
15
+ <a href="https://github.com/iamzjt-front-end/git-workflow/actions"><img src="https://img.shields.io/badge/tests-375%20passed-success?style=flat&colorA=18181B" alt="tests"></a>
16
16
  <a href="https://github.com/iamzjt-front-end/git-workflow/issues"><img src="https://img.shields.io/github/issues/iamzjt-front-end/git-workflow?style=flat&colorA=18181B&colorB=EC4899" alt="issues"></a>
17
17
  </p>
18
18
 
@@ -49,26 +49,31 @@
49
49
  ## ✨ 核心特性
50
50
 
51
51
  ### 🤖 AI 智能提交
52
+
52
53
  - 使用 AI 自动分析代码变更生成 commit message(2-3 秒完成)
53
54
  - 支持 GitHub Models(免费)、OpenAI、Claude、Ollama 等多种提供商
54
55
  - 遵循 Conventional Commits + Gitmoji 规范
55
56
 
56
57
  ### 🎯 规范分支管理
58
+
57
59
  - 自动生成带日期的规范分支名(`feature/20260109-PROJ-123-add-login`)
58
60
  - 智能检测基础分支(main/master),支持自定义
59
61
  - 一键删除本地+远程分支,按最近使用排序
60
62
 
61
63
  ### 🏷️ 智能版本管理
64
+
62
65
  - 自动识别当前版本,交互式选择下一版本
63
66
  - 支持 semver + 预发布版本(alpha/beta/rc)
64
67
  - 自动检测 tag 前缀,支持多种命名规范
65
68
 
66
69
  ### 💾 可视化 Stash 管理
70
+
67
71
  - 清晰的交互式界面,告别难读的 `git stash list`
68
72
  - 支持预览、应用、创建分支等操作
69
73
  - 智能处理未跟踪文件
70
74
 
71
75
  ### ⚙️ 灵活配置
76
+
72
77
  - 支持全局配置(一次配置,所有项目生效)
73
78
  - 支持项目级配置(团队统一规范)
74
79
  - 零配置开箱即用,交互式菜单引导操作
@@ -194,7 +199,7 @@ gw t
194
199
  - 🌿 **[分支管理](https://iamzjt-front-end.github.io/git-workflow/guide/branch-management)** - 分支命名规范和管理技巧
195
200
  - 🏷️ **[Tag 管理](https://iamzjt-front-end.github.io/git-workflow/guide/tag-management)** - 版本标签管理和语义化版本
196
201
  - 💾 **[Stash 管理](https://iamzjt-front-end.github.io/git-workflow/guide/stash-management)** - 可视化 stash 操作指南
197
- - 👥 **[团队协作](https://iamzjt-front-end.github.io/git-workflow/guide/team-collaboration)** - 团队配置和最佳实践
202
+ - **[团队协作](https://iamzjt-front-end.github.io/git-workflow/guide/team-collaboration)** - 团队配置和最佳实践
198
203
 
199
204
  ## 🛠️ 开发与贡献
200
205
 
@@ -202,7 +207,7 @@ gw t
202
207
 
203
208
  - 🔧 **[开发指南](https://iamzjt-front-end.github.io/git-workflow/guide/development)** - 本地开发环境搭建
204
209
  - 🧪 **[测试指南](https://iamzjt-front-end.github.io/git-workflow/guide/testing)** - 测试框架和覆盖率
205
- - 📋 **[API 文档](https://iamzjt-front-end.github.io/git-workflow/api/)** - 内部 API 参考
210
+ - 📋 **[API 文档](https://iamzjt-front-end.github.io/git-workflow/guide/api)** - 内部 API 参考
206
211
  - 🤝 **[贡献指南](https://iamzjt-front-end.github.io/git-workflow/guide/contributing)** - 如何参与贡献
207
212
 
208
213
  ### 快速开发
package/ROADMAP.md CHANGED
@@ -24,7 +24,7 @@
24
24
  - [ ] `gw review --staged` - 审查暂存区的更改
25
25
  - 提交前快速检查代码质量
26
26
  - 发现潜在问题,避免低质量提交
27
- - [ ] `gw review HEAD~3..HEAD` - 审查指定范围的提交
27
+ - [ ] `gw review xxx` - 审查指定 commit hash 的提交
28
28
 
29
29
  - 支持 Git 提交范围语法
30
30
  - 批量审查多个提交的变更