Skip to content

Commit 9a39771

Browse files
🎉 chore(release): 发布 0.1.0 版本
- 更新 CHANGELOG 为多语言格式 - 增强 AI 提交信息生成功能 - 完善项目配置和依赖管理 - 添加标准版本发布工具链
1 parent 54d806f commit 9a39771

6 files changed

+136
-70
lines changed

.versionrc

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
11
{
2-
"header": "# 更新记录 \n\n",
2+
"header": "# Changelog \n\n[English](CHANGELOG.md) | [简体中文](CHANGELOG.zh-CN.md) \n\nAll notable changes to this project will be documented in this file. \n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/)。",
33
"types": [
44
{
55
"type": "feat",
6-
"section": "✨ Features | 新功能"
6+
"section": "✨ Features"
77
},
88
{
99
"type": "fix",
10-
"section": "🐛 Bug Fixes | Bug 修复"
10+
"section": "🐛 Bug Fixes"
1111
},
1212
{
1313
"type": "init",
14-
"section": "🎉 Init | 初始化"
14+
"section": "🎉 Init"
1515
},
1616
{
1717
"type": "docs",
18-
"section": "📝 Documentation | 文档"
18+
"section": "📝 Documentation"
1919
},
2020
{
2121
"type": "style",
22-
"section": "💄 Styles | 风格",
22+
"section": "💄 Styles",
2323
"hidden": true
2424
},
2525
{
2626
"type": "refactor",
27-
"section": "♻️ Code Refactoring | 代码重构"
27+
"section": "♻️ Code Refactoring"
2828
},
2929
{
3030
"type": "perf",
31-
"section": "⚡ Performance Improvements | 性能优化"
31+
"section": "⚡ Performance Improvements"
3232
},
3333
{
3434
"type": "test",
35-
"section": "✅ Tests | 测试"
35+
"section": "✅ Tests"
3636
},
3737
{
3838
"type": "revert",
39-
"section": "⏪ Revert | 回退",
39+
"section": "⏪ Revert",
4040
"hidden": true
4141
},
4242
{
4343
"type": "build",
44-
"section": "📦‍ Build System | 打包构建"
44+
"section": "📦‍ Build System"
4545
},
4646
{
4747
"type": "chore",
48-
"section": "🚀 Chore | 部署相关"
48+
"section": "🚀 Chore"
4949
},
5050
{
5151
"type": "ci",
52-
"section": "👷 Continuous Integration | CI/CD 配置"
52+
"section": "👷 Continuous Integration"
5353
}
5454
],
5555
"skip": {

CHANGELOG.md

+30-33
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,51 @@
1-
# 更新记录
1+
# Changelog
22

3+
[English](CHANGELOG.md) | [简体中文](CHANGELOG.zh-CN.md)
34

4-
### [0.0.9](https://github.com/littleCareless/dish-ai-commit/compare/v0.0.10...v0.0.9) (2024-12-09)
5+
All notable changes to this project will be documented in this file.
56

6-
### 0.0.10 (2024-12-09)
7+
The format is based on [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/)
8+
# 0.1.0 (2024-12-10)
79

810

9-
### Code Refactoring | 代码重构
11+
### ♻ Code Refactoring
1012

11-
* rename project from SVN AI Commit to Dish AI Commit ([64cc221](https://github.com/littleCareless/dish-ai-commit/commit/64cc221b287192a548669b9300924890ef05e833))
13+
* **commands**: 重构命令处理逻辑并优化错误处理 ([d708190](https://github.com/littleCareless/dish-ai-commit/commit/d708190))
14+
* **core**: 重构命令管理和错误处理 ([cad5b4e](https://github.com/littleCareless/dish-ai-commit/commit/cad5b4e))
15+
* **scm**: 优化源代码管理部分 ([5e5d791](https://github.com/littleCareless/dish-ai-commit/commit/5e5d791))
16+
* **utils**: 优化工具类的错误处理和性能 ([73dfaf4](https://github.com/littleCareless/dish-ai-commit/commit/73dfaf4))
17+
* Reorganize AI provider and SCM integration ([968e9aa](https://github.com/littleCareless/dish-ai-commit/commit/968e9aa))
1218

13-
### 0.0.9 (2024-12-09)
1419

20+
### ✨ Features
1521

16-
### ♻️ Code Refactoring | 代码重构
22+
* **ai**: 添加 AI 工具类和模型选择服务 ([5603b08](https://github.com/littleCareless/dish-ai-commit/commit/5603b08))
23+
* **config**: 新增多个 AI 服务提供商的配置支持 ([fa072f1](https://github.com/littleCareless/dish-ai-commit/commit/fa072f1))
24+
* **docs**: 添加多语言支持链接到更新日志和 README 文件 ([fd16226](https://github.com/littleCareless/dish-ai-commit/commit/fd16226))
25+
* **locale**: 更新国际化语言文案 ([54d806f](https://github.com/littleCareless/dish-ai-commit/commit/54d806f))
26+
* **rebranding**: 重新命名并增强 AI 提交信息扩展 ([9f41dc1](https://github.com/littleCareless/dish-ai-commit/commit/9f41dc1))
1727

18-
* rename project from SVN AI Commit to Dish AI Commit ([64cc221](https://github.com/littleCareless/dish-ai-commit/commit/64cc221b287192a548669b9300924890ef05e833))
1928

20-
# Changelog
29+
### 🎫 Chores
2130

22-
[English](CHANGELOG.md) | [简体中文](CHANGELOG.zh-CN.md)
31+
* **ai**: 增强 AI 提供商管理系统 ([1b36a48](https://github.com/littleCareless/dish-ai-commit/commit/1b36a48))
32+
* **commitlint**: 简化提交消息类型配置 ([0dad6c2](https://github.com/littleCareless/dish-ai-commit/commit/0dad6c2))
33+
* **config**: 完善项目配置文件 ([f9bd1e2](https://github.com/littleCareless/dish-ai-commit/commit/f9bd1e2))
34+
* 更新配置和项目结构 ([ae2507b](https://github.com/littleCareless/dish-ai-commit/commit/ae2507b))
2335

24-
All notable changes to this project will be documented in this file.
2536

26-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
37+
### 🐛 Bug Fixes
2738

28-
## [Unreleased]
39+
* **api**: Normalize openai provider enum and improve logging ([451f284](https://github.com/littleCareless/dish-ai-commit/commit/451f284))
40+
* **scm**: 修复 GitProvider 和 SvnProvider 中的错误处理逻辑 ([b2854e2](https://github.com/littleCareless/dish-ai-commit/commit/b2854e2))
2941

30-
### ⚡ Changed
3142

32-
- 重命名项目从 SVN AI Commit 到 Dish AI Commit
33-
- 重组 AI provider 和 SCM 集成
34-
- 优化 AI provider 配置界面
35-
- 改进模型选择和配置处理
36-
- 增强错误处理和提示管理
43+
### 💄 Styles
3744

38-
### 🎨 Style
45+
* **assets**: Update icon and logo with modern ai design ([870326e](https://github.com/littleCareless/dish-ai-commit/commit/870326e))
46+
* **assets**: Update visual assets ([811bb8c](https://github.com/littleCareless/dish-ai-commit/commit/811bb8c))
3947

40-
- 更新图标和 logo 为现代 AI 设计风格
41-
- 采用蓝紫渐变背景和 AI 主题元素
42-
- 优化各种尺寸下的视觉效果
4348

44-
### 🐛 Fixed
49+
### 📝 Documentation
4550

46-
- 标准化 OpenAI 枚举值为小写以保持一致性
47-
- 改进 API 配置的日志记录
48-
- 优化命令管理器的错误处理
49-
- 重组 commands.ts 代码结构
50-
51-
### 🌐 Localization
52-
53-
- 增强系统提示以支持多语言配置
54-
- 添加中文文档支持
51+
* Update README and README.zh-CN files ([2e3c5b4](https://github.com/littleCareless/dish-ai-commit/commit/2e3c5b4))

CHANGELOG.zh-CN.md

+30-19
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,41 @@
66

77
更新日志格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/)
88

9-
## [未发布]
9+
# 0.1.0 (2024-12-10)
1010

11-
### ⚡ 变更
11+
### ♻ 代码重构
1212

13-
- 将项目从 SVN AI Commit 重命名为 Dish AI Commit
14-
- 重组 AI provider 和 SCM 集成
15-
- 优化 AI provider 配置界面
16-
- 改进模型选择和配置处理
17-
- 增强错误处理和提示管理
13+
* **commands**: 重构命令处理逻辑并优化错误处理 ([d708190](https://github.com/littleCareless/dish-ai-commit/commit/d708190))
14+
* **core**: 重构命令管理和错误处理 ([cad5b4e](https://github.com/littleCareless/dish-ai-commit/commit/cad5b4e))
15+
* **scm**: 优化源代码管理部分 ([5e5d791](https://github.com/littleCareless/dish-ai-commit/commit/5e5d791))
16+
* **utils**: 优化工具类的错误处理和性能 ([73dfaf4](https://github.com/littleCareless/dish-ai-commit/commit/73dfaf4))
17+
* 重组 AI provider 和 SCM 集成 ([968e9aa](https://github.com/littleCareless/dish-ai-commit/commit/968e9aa))
1818

19-
### 🎨 样式
19+
### ✨ 新功能
2020

21-
- 更新图标和 logo 为现代 AI 设计风格
22-
- 采用蓝紫渐变背景和 AI 主题元素
23-
- 优化各种尺寸下的视觉效果
21+
* **ai**: 添加 AI 工具类和模型选择服务 ([5603b08](https://github.com/littleCareless/dish-ai-commit/commit/5603b08))
22+
* **config**: 新增多个 AI 服务提供商的配置支持 ([fa072f1](https://github.com/littleCareless/dish-ai-commit/commit/fa072f1))
23+
* **docs**: 添加多语言支持链接到更新日志和 README 文件 ([fd16226](https://github.com/littleCareless/dish-ai-commit/commit/fd16226))
24+
* **locale**: 更新国际化语言文案 ([54d806f](https://github.com/littleCareless/dish-ai-commit/commit/54d806f))
25+
* **rebranding**: 重新命名并增强 AI 提交信息扩展 ([9f41dc1](https://github.com/littleCareless/dish-ai-commit/commit/9f41dc1))
2426

25-
### 🐛 修复
27+
### 🎫 日常工作
2628

27-
- 标准化 OpenAI 枚举值为小写以保持一致性
28-
- 改进 API 配置的日志记录
29-
- 优化命令管理器的错误处理
30-
- 重组 commands.ts 代码结构
29+
* **ai**: 增强 AI 提供商管理系统 ([1b36a48](https://github.com/littleCareless/dish-ai-commit/commit/1b36a48))
30+
* **commitlint**: 简化提交消息类型配置 ([0dad6c2](https://github.com/littleCareless/dish-ai-commit/commit/0dad6c2))
31+
* **config**: 完善项目配置文件 ([f9bd1e2](https://github.com/littleCareless/dish-ai-commit/commit/f9bd1e2))
32+
* 更新配置和项目结构 ([ae2507b](https://github.com/littleCareless/dish-ai-commit/commit/ae2507b))
3133

32-
### 🌐 本地化
34+
### 🐛 问题修复
3335

34-
- 增强系统提示以支持多语言配置
35-
- 添加中文文档支持
36+
* **api**: 规范化 OpenAI provider 枚举并改进日志记录 ([451f284](https://github.com/littleCareless/dish-ai-commit/commit/451f284))
37+
* **scm**: 修复 GitProvider 和 SvnProvider 中的错误处理逻辑 ([b2854e2](https://github.com/littleCareless/dish-ai-commit/commit/b2854e2))
38+
39+
### 💄 样式
40+
41+
* **assets**: 使用现代 AI 设计更新图标和 logo ([870326e](https://github.com/littleCareless/dish-ai-commit/commit/870326e))
42+
* **assets**: 更新视觉资源 ([811bb8c](https://github.com/littleCareless/dish-ai-commit/commit/811bb8c))
43+
44+
### 📝 文档
45+
46+
* 更新 README 和 README.zh-CN 文件 ([2e3c5b4](https://github.com/littleCareless/dish-ai-commit/commit/2e3c5b4))

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "dish-ai-commit",
33
"displayName": "Dish AI Commit Gen",
4-
"description": "",
5-
"version": "0.0.9",
4+
"description": "Use AI to assist in generating standardized Git/SVN submission information VSCode extensions. Support OpenAI, Olama, and VSCode built-in AI services.",
5+
"version": "0.1.0",
66
"engines": {
77
"vscode": "^1.95.0"
88
},
@@ -219,7 +219,8 @@
219219
"test": "vscode-test",
220220
"prepare": "husky install",
221221
"commit": "git add . && git-cz",
222-
"release": "standard-version"
222+
"release": "standard-version --preset gitmoji-config",
223+
"changelog": "conventional-changelog -i CHANGELOG.md -s -r 0"
223224
},
224225
"devDependencies": {
225226
"@commitlint/cli": "^19.6.0",
@@ -233,6 +234,7 @@
233234
"@vscode/test-electron": "^2.4.0",
234235
"commitizen": "^4.3.1",
235236
"commitlint-config-gitmoji": "^2.3.1",
237+
"conventional-changelog-gitmoji-config": "^1.5.2",
236238
"cz-conventional-changelog": "^3.3.0",
237239
"cz-customizable": "^7.3.0",
238240
"eslint": "^8.57.0",

0 commit comments

Comments
 (0)