Releases: SaharAvr/git-commitai-cli
Releases · SaharAvr/git-commitai-cli
v2.7.1
[2.7.1] - 2025-12-04
Security
- Migrated npm publishing to use OIDC trusted publishing instead of long-lived access tokens
- Packages now include automatic provenance attestation for supply chain security
- Aligned with npm's new security requirements (classic tokens sunset, 90-day max token expiration)
v2.7.0
[2.7.0] - 2025-11-16
Added
- Settings menu option to view full API keys for each configured provider, with a guided flow to add or update keys.
Fixed
--settingsand--configflags are now handled consistently as settings commands and work even when no changes are staged.
v2.6.0
[2.6.0] - 2025-10-30
Added
- Support for
-vand--versionflags to display current version - Version command that works in both development and production environments
- Shared version utility to eliminate code duplication
- Comprehensive test suite for version utility (5 new tests)
Changed
- Version and help flags are now handled before git operations to prevent conflicts
- Updated help message to include
-v, --versionand-h, --helpoptions - Upgraded
@google/genaifrom 0.13.0 to 1.28.0 (fixes punycode deprecation warning) - Upgraded
@anthropic-ai/sdkfrom 0.50.4 to 0.68.0 - Upgraded
openaifrom 6.5.0 to 6.7.0
Fixed
- Fixed
-vflag being incorrectly interpreted as git diff option - Eliminated punycode deprecation warning by updating dependencies
v2.5.1
v2.5.0
[2.5.0] - 2025-10-30
Added
- Binary and asset file detection - automatically skips diffing for images, videos, audio, archives, executables, documents, fonts, and other binary formats
- Files without extensions are now treated as binary/asset files
- Comprehensive binary extension list covering 40+ common binary file types
- Smart file handling that shows
[File: filename - Binary/Asset file]instead of attempting to diff binary content
Changed
- Improved git diff handling to prevent sending binary file content to AI models
- Files like Makefile, Dockerfile, LICENSE (without extensions) are now treated as binary
v2.4.0
[2.4.0] - 2025-10-30
Added
- Automatic update checker that notifies users when a new version is available
- Interactive prompt allowing users to update immediately or decline (similar to oh-my-zsh)
- Remembers declined versions to avoid repeated prompts for the same version
- Automatic provider fallback on rate limit errors - tries other configured providers automatically
- Clear error messages that show actual git/AI errors instead of generic messages
Fixed
- Improved error handling in git commit command to preserve and display actual error messages
- SIGINT handling when user cancels with Ctrl+C - now exits gracefully without error message
- Quote escaping in commit messages containing double quotes
v2.3.2
v2.3.1
[2.3.1] - 2025-10-30
Fixed
- Critical error handling issue where AI call or git commit failures would exit with code 0 instead of code 1
- This caused subsequent commands in chains (e.g.,
git add . && git commitai -y && git push) to execute even when git-commitai failed - Now properly exits with error code 1 and displays clear error messages prefixed with "git-commitai:" when failures occur