All notable changes to CommitWise are documented in this file.
The project follows Semantic Versioning. While the major version is zero, the public interface may change; minor versions introduce functionality and patch versions contain backward-compatible fixes.
- Explicit local AI generation with Ollama through
commitwise --ai-local. - Explicit online AI generation with OpenRouter through
commitwise --ai-online. - Shared global configuration commands:
config show,config path, andconfig set. - Staged-diff size protection with a configurable 50,000-byte default limit.
- Incremental Ollama response handling with safe full-generation retries.
- Validation requiring exactly three distinct, single-line Conventional Commit suggestions.
- Cross-platform automated tests and package build/smoke checks for Python 3.15 on Windows and Linux.
- Reworked the CLI around an explicit provider-selection workflow.
- Restricted Git inspection to read-only repository and staged-diff commands.
- Standardized provider output as structured JSON.
- Updated the prompt to analyze the complete staged diff as one change set and treat diff content as untrusted input.
- Updated package requirements to Python 3.15 or newer.
- Prevented AI requests when no files are staged, the staged diff is empty, or the diff exceeds the configured limit.
- Ensured incomplete Ollama stream output is discarded before retrying.
- Prevented partial output from separate generation attempts from being combined.
- Masked the OpenRouter API key in displayed configuration.
- Further improvements to the semantic accuracy and consistency of AI-generated commit messages.