Releases: koiverse/ProCommit
Releases · koiverse/ProCommit
v2.1.2
What Changed
- 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
- 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
- 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
- Fixed Issue #70
Better “Results” Handling
- 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
- Enabled true multi-result output for the ChatGPT generator when useMultipleResults is enabled (returns a de-duplicated array): chatgpt-msg-generator.ts
- Updated the flow to accept string | string[] from generators and to write the selected message: generate-completion-flow.ts
Fixed
- 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).
- This avoids SDK export mismatches and bundles cleanly with esbuild.
Others
- chore(deps): bump execa from 9.6.0 to 9.6.1 by @dependabot[bot] in #71
- chore(deps-dev): bump @types/node from 22.18.1 to 25.0.9 by @dependabot[bot] in #72
- chore(deps-dev): bump @vscode/vsce from 3.6.2 to 3.7.1 by @dependabot[bot] in #73
- chore(deps-dev): bump @types/vscode from 1.102.0 to 1.108.1 by @dependabot[bot] in #74
- chore(deps): bump openai from 3.3.0 to 6.16.0 by @dependabot[bot] in #75
Full Changelog: v2.1.1...v2.1.2
v2.1.1
v2.1.0
Added
- feat: Add
procommit.general.includeFileExtensionsetting to control inclusion of file extensions in commit scopes
Changed
- refactor: Update ChatGPT commit message generator to respect
includeFileExtensionsetting when formatting scopes
Fixed
- fix: Ensure scope formatting correctly handles file extensions based on user configuration
- fix: ProCommit not detected git submodules
v2.0.9
Added
- feat: Add support for workspace(s)/multiple repositories
Changed
- refactor: Improve configuration schema for clarity and extensibility (all generator settings unified, model/endpoint/apiKey now top-level)
- refactor: Update generator code to use new config structure and robust, stateless, language-aware logic
Fixed
- fix: Ensure all generators use correct instructions and config, and output is always conventional and clean
v2.0.8
Added
- feat: Add support for specifying model versions via new
procommit.modelsetting (e.g., gpt-4o, gemini-1.5-pro, llama3, etc.) - feat: Add
procommit.supportedGeneratorssetting to explicitly list all supported commit message generators - feat: Add support for new generators: Gemini (Google), Ollama (local LLM), LMStudio (local LLM), Smithery, and Custom endpoints
Changed
- refactor: Improve configuration schema for clarity and extensibility (all generator settings unified, model/endpoint/apiKey now top-level)
- refactor: Update generator code to use new config structure and robust, stateless, language-aware logic
Fixed
- fix: Ensure all generators use correct instructions and config, and output is always conventional and clean
v2.0.7
What's Changed
- chore(deps-dev): bump @types/node from 16.18.124 to 22.10.7 by @dependabot[bot] in #12
Full Changelog: v2.0.6...v2.0.7
v2.0.6
What's Changed
- chore(deps-dev): bump typescript from 4.9.5 to 5.7.3 by @dependabot in #10
- chore(deps-dev): bump esbuild from 0.17.14 to 0.24.2 by @dependabot in #7
- chore(deps-dev): bump @typescript-eslint/parser from 5.57.0 to 5.62.0 by @dependabot in #6
Added
- feat(langInstruction): Introduce Russian language instructions for user guidance and improve code readability by using consistent naming conventions for variables related to the instruction set.
- feat(configuration): introduce new configuration option to show emojis in the UI
- feat(customInstruction): introduce emoji instructions based on user preference.
- feat: add new emoji instruction
- feat(package): add configuration option to show emojis in commit messages.
- feat(README): update features section with new emoji support and customization options.
- feat(chatgpt-msg-generator): enhance commit message generation with async instructions and configurable results
Changes
- refactor(customInstruction): simplify instruction retrieval by removing unused language instructions and emoji condition
- refactor(langInstruction): update commit message guidelines for clarity and consistency
Fixed
- fix(package.json): remove deprecated scm/inputBox configuration option.
- fixed knows issue
Full Changelog: v2.0.5...v2.0.6
v2.0.5
Fixed
- Fixes Critical Error Cause Build Failed On Output!
v2.0.4
Added
- Introducing new icons
- enhance command options in configuration
- enhance lang instructions for concise git commit message generation (improve instruction significantly)
- Added setTemperature command for configuring AI commit message temperature
- Added command to set AI model version
- Added command to set message approval method
- Added command to set maximum tokens
- Added command to set language
- Added command to set generator
- Add command to set custom endpoint
- Add new command exports for generator configuration for indwx main file
- Added additional command registrations for commit message generation settings
Changes
- Rename progress notification title
Fixed
- remove commented-out code for clarity from msg-generator
- fixed known issue about incorrect given commit message
- fixed issue about commit message contain unrelated comments and diff
Removed
- Removed ChatCompletionRequestMessageRoleEnum.Assistant for customInstruction
Full Changelog: v2.0.3...v2.0.4
v2.0.3
Added
- docs: Update README to enhance description of the VS Code extension
- Update More Informative Docs
- Add Korean and German language
- Add Korean and German to language options in configuration schema
- Add support for Korean and German instructions in customInstruction utility
- docs(langInstruction): add instructions in Korean and German
Changes
- fix enum modelVersion
- chore: Update package, enhance description and add more language support for commit messages
Full Changelog: 2.0.2...v2.0.3