Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.72 KB

CHANGELOG.md

File metadata and controls

34 lines (27 loc) · 1.72 KB

Changelog

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.

[0.2.0] - Unreleased

Added

  • 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, and config 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.

Changed

  • 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.

Fixed

  • 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.

Deferred

  • Further improvements to the semantic accuracy and consistency of AI-generated commit messages.