Skip to content

Commit cd0f05e

Browse files
📝 docs(changelog): 发布 0.3.0 版本并更新文档
- 更新 CHANGELOG 添加 0.3.0 版本的更新记录 - 更新英文和中文文档,新增 Gemini AI 和周报功能说明 - 更新版本号至 0.3.0 - 修正 package.json 和 package-lock.json 的版本信息
1 parent 02b00fc commit cd0f05e

6 files changed

+57
-6
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ All notable changes to this project will be documented in this file.
66

77
The format is based on [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/)
88

9+
# 0.3.0 (2024-12-13)
10+
11+
### ✨ Features
12+
13+
- **weekly**: 添加 AI 生成周报功能 ([b557c7a](https://github.com/littleCareless/dish-ai-commit/commit/b557c7a))
14+
- **weeklyReport**: 添加生成周报的功能 ([04e999e](https://github.com/littleCareless/dish-ai-commit/commit/04e999e))
15+
16+
### 🎫 Chores
17+
18+
- **config**: 重构周报功能并添加 Gemini AI 支持 ([02b00fc](https://github.com/littleCareless/dish-ai-commit/commit/02b00fc))
19+
- **release**: 发布 0.2.0 版本 ([29e89ce](https://github.com/littleCareless/dish-ai-commit/commit/29e89ce))
20+
921
# 0.2.0 (2024-12-12)
1022

1123
### ♻ Code Refactoring

CHANGELOG.zh-CN.md

+12
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@
66

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

9+
# 0.3.0 (2024-12-13)
10+
11+
### ✨ Features
12+
13+
- **weekly**: 添加 AI 生成周报功能 ([b557c7a](https://github.com/littleCareless/dish-ai-commit/commit/b557c7a))
14+
- **weeklyReport**: 添加生成周报的功能 ([04e999e](https://github.com/littleCareless/dish-ai-commit/commit/04e999e))
15+
16+
### 🎫 Chores
17+
18+
- **config**: 重构周报功能并添加 Gemini AI 支持 ([02b00fc](https://github.com/littleCareless/dish-ai-commit/commit/02b00fc))
19+
- **release**: 发布 0.2.0 版本 ([29e89ce](https://github.com/littleCareless/dish-ai-commit/commit/29e89ce))
20+
921
# 0.2.0 (2024-12-12)
1022

1123
### ♻ Code Refactoring

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ A VSCode extension for generating standardized Git/SVN commit messages using AI
2323

2424
[English](README.md) | [简体中文](README.zh-CN.md)
2525

26-
A VSCode extension for generating standardized Git/SVN commit messages using AI. Supports OpenAI, Ollama, VSCode built-in AI services, Zhipu AI, DashScope, and Doubao AI.
26+
A VSCode extension for generating standardized Git/SVN commit messages using AI. Supports OpenAI, Ollama, VSCode built-in AI services, Zhipu AI, DashScope, Gemini AI, and Doubao AI.
2727

2828
## Features
2929

@@ -35,12 +35,20 @@ A VSCode extension for generating standardized Git/SVN commit messages using AI.
3535
- Zhipu AI support
3636
- DashScope support
3737
- Doubao AI support
38+
- Gemini AI support
3839

3940
### 📝 Version Control System Support
4041

4142
- SVN
4243
- Git
4344

45+
### 📊 Weekly Report Generation
46+
47+
- AI-powered weekly report generation
48+
- Automatically summarize your work progress
49+
- Customizable report templates
50+
- Support multiple AI providers for report generation
51+
4452
### 🌍 Multi-language Commit Message Generation:
4553

4654
Supports 19 languages including:
@@ -76,6 +84,7 @@ Supports 19 languages including:
7684
| dish-ai-commit.zhipuai.apiKey | string | - | Zhipu AI API key |
7785
| dish-ai-commit.dashscope.apiKey | string | - | DashScope API key |
7886
| dish-ai-commit.doubao.apiKey | string | - | Doubao API key |
87+
| dish-ai-commit.gemini.apiKey | string | - | Gemini API key |
7988
| dish-ai-commit.ollama.baseUrl | string | http://localhost:11434 | Ollama API base URL |
8089
| dish-ai-commit.enableDiffSimplification | boolean | false | Enable diff content simplification |
8190
| dish-ai-commit.diffSimplification.maxLineLength | number | 120 | Maximum line length after simplification |
@@ -86,6 +95,7 @@ Supports 19 languages including:
8695

8796
- `Generate Commit Message`: Generate commit message based on current changes
8897
- `Select AI Model`: Choose the AI model to use
98+
- `Generate Weekly Report`: Generate a weekly summary report of your work
8999

90100
## Configuration Instructions
91101

README.zh-CN.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
[English](README.md) | [简体中文](README.zh-CN.md)
2525

26-
用 AI 辅助生成规范的 Git/SVN 提交信息的 VSCode 扩展。支持 OpenAI、Ollama、VSCode 内置 AI 服务、智谱 AI、DashScope 和 豆包 AI。
26+
用 AI 辅助生成规范的 Git/SVN 提交信息的 VSCode 扩展。支持 OpenAI、Ollama、VSCode 内置 AI 服务、智谱 AI、DashScope、豆包 AI 和 Gemini AI。
2727

2828
## 功能特性
2929

@@ -35,6 +35,7 @@
3535
- 智谱 AI 支持
3636
- DashScope 支持
3737
- 豆包 AI 支持
38+
- Gemini AI 支持
3839

3940
### 📝 版本控制系统支持
4041

@@ -54,6 +55,12 @@
5455

5556
### 😄 自动添加 emoji 表情
5657

58+
### 📅 工作周报生成
59+
60+
- 支持自动生成工作周报
61+
- 基于提交历史智能总结
62+
- 可自定义周报模板和格式
63+
5764
### 配置项
5865

5966
| 配置项 | 类型 | 默认值 | 说明 |
@@ -68,6 +75,7 @@
6875
| dish-ai-commit.dashscope.apiKey | string | - | DashScope API 密钥 |
6976
| dish-ai-commit.doubao.apiKey | string | - | 豆包 API 密钥 |
7077
| dish-ai-commit.ollama.baseUrl | string | http://localhost:11434 | Ollama API 基础 URL |
78+
| dish-ai-commit.gemini.apiKey | string | - | Gemini AI API 密钥 |
7179
| dish-ai-commit.enableDiffSimplification | boolean | false | 启用 diff 内容简化功能 |
7280
| dish-ai-commit.diffSimplification.maxLineLength | number | 120 | 简化后每行的最大长度 |
7381
| dish-ai-commit.diffSimplification.contextLines | number | 3 | 保留上下文行数 |
@@ -107,6 +115,15 @@
107115
}
108116
```
109117

118+
4. Gemini AI 配置
119+
120+
```json
121+
{
122+
"dish-ai-commit.PROVIDER": "gemini",
123+
"dish-ai-commit.GEMINI_API_KEY": "your-api-key"
124+
}
125+
```
126+
110127
## 📋 使用方法
111128

112129
- 从源代码管理器中选择要提交的文件

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "dish-ai-commit",
33
"displayName": "Dish AI Commit Gen",
44
"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.2.0",
5+
"version": "0.3.0",
66
"engines": {
77
"vscode": "^1.95.0"
88
},
@@ -307,4 +307,4 @@
307307
]
308308
}
309309
}
310-
}
310+
}

0 commit comments

Comments
 (0)