Skip to content

Releases: SaharAvr/git-commitai-cli

v2.7.1

04 Dec 22:13

Choose a tag to compare

[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

16 Nov 13:48

Choose a tag to compare

[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

  • --settings and --config flags are now handled consistently as settings commands and work even when no changes are staged.

v2.6.0

30 Oct 15:42

Choose a tag to compare

[2.6.0] - 2025-10-30

Added

  • Support for -v and --version flags 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, --version and -h, --help options
  • Upgraded @google/genai from 0.13.0 to 1.28.0 (fixes punycode deprecation warning)
  • Upgraded @anthropic-ai/sdk from 0.50.4 to 0.68.0
  • Upgraded openai from 6.5.0 to 6.7.0

Fixed

  • Fixed -v flag being incorrectly interpreted as git diff option
  • Eliminated punycode deprecation warning by updating dependencies

v2.5.1

30 Oct 15:21

Choose a tag to compare

[2.5.1] - 2025-10-30

Fixed

  • Update checker not working when package is installed globally - now correctly finds package.json in both development and production environments
  • Added package.json to published files to ensure version information is available

v2.5.0

30 Oct 15:14

Choose a tag to compare

[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

30 Oct 14:59

Choose a tag to compare

[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

30 Oct 13:30

Choose a tag to compare

[2.3.2] - 2025-10-30

Fixed

  • Git commit failing when commit messages contain double quotes - now properly escapes quotes in commit messages
  • SIGINT error message displaying when user cancels with Ctrl+C - now exits gracefully without showing error message

v2.3.1

30 Oct 13:18

Choose a tag to compare

[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

v2.3.0

18 Oct 13:52

Choose a tag to compare

[2.3.0] - 2025-10-18

Added

  • Auto-accept option with -y or --yes flag to skip confirmation prompt and automatically commit with generated message
  • 4 new tests for auto-accept functionality

v2.2.1

18 Oct 13:43

Choose a tag to compare

[2.2.1] - 2025-10-18

Fixed

  • Resolved node-domexception deprecation warning by upgrading OpenAI SDK from v4.98.0 to v6.5.0
  • Fixed 5 security vulnerabilities in dependencies