Skip to content

Commit ad3fd49

Browse files
committed
chore(package): bump version to 2.1.2
1 parent 5f1c738 commit ad3fd49

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# CHANGELOG
22

3+
## 2.1.2 - 2026-02-10
4+
5+
### What Changed
6+
7+
- Added a diff-aware pre-analysis step that extracts per-file stats, rename/add/delete info, likely scope/type hints, and “technical anchors” (identifiers, config keys, dependency names), then feeds the model DIFF_SUMMARY + RAW_DIFF instead of raw diff alone: msg-generator.ts:L1-L214
8+
- Upgraded the base instructions so the subject is required to be concrete/technical (must mention at least one real artifact) and no longer forces everything to lowercase (keeps OAuth/HTTP/JSON casing, identifiers, etc.): langInstruction.ts
9+
- Unified output cleanup across all generators (ChatGPT/Gemini/Ollama/LMStudio/Smithery/Custom) using the same post-processor, and added a fallback when the model returns generic “classic” subjects: msg-generator.ts:L191-L229
10+
- Fixed Issue #70
11+
12+
### Better “Results” Handling
13+
14+
- Fixed multi-result selection so the chosen quick-pick result is actually written to the commit message file (previously selection didn’t affect output): generate-ai-commit.ts
15+
- Enabled true multi-result output for the ChatGPT generator when useMultipleResults is enabled (returns a de-duplicated array): chatgpt-msg-generator.ts
16+
- Updated the flow to accept string | string[] from generators and to write the selected message: generate-completion-flow.ts
17+
18+
### Fixed
19+
20+
- Removed the OpenAI SDK import entirely and switched the ChatGPT generator to call the OpenAI Chat Completions REST endpoint via node-fetch (same approach style as other generators).
21+
- This avoids SDK export mismatches and bundles cleanly with esbuild.
22+
323
## 2.1.1 - 2026-01-16
424

525
## Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pro-commit",
33
"displayName": "ProCommit",
44
"description": "📝 A Customizable VS Code extension for AI-generated commit messages.",
5-
"version": "2.1.1",
5+
"version": "2.1.2",
66
"homepage": "https://prplmoe.me",
77
"bugs": "https://github.com/koiverse/ProCommit/issues",
88
"repository": {

0 commit comments

Comments
 (0)