UNPKG

git-axiom

Version:

๐Ÿš€ AI-powered CLI tool that generates professional Git commit messages and smart branch names using OpenAI GPT. Analyze changes and create conventional commits with intelligent branch naming automatically.

157 lines (122 loc) โ€ข 4.83 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ## [1.1.0] - 2024-12-20 ### Added - ๐ŸŒŸ **NEW: Smart Branch Naming** - AI-powered branch name generation - ๐Ÿค– `git-axiom branch` command with multiple branch types - ๐ŸŽฏ Support for feature, fix, hotfix, refactor, and docs branches - ๐Ÿ“ Intelligent analysis of both staged and unstaged changes - ๐ŸŽจ Beautiful interactive prompts for branch creation - ๐Ÿ”ง Comprehensive test suite for branch functionality - ๐Ÿ“‹ Extended CLI help system with detailed usage examples ### Enhanced - ๐Ÿš€ AI utility now supports dual-purpose analysis (commits + branches) - ๐Ÿ’ก Smarter diff processing with better token management - ๐ŸŽจ Improved user interface with better error messages - ๐Ÿ“– Updated documentation with new branch naming feature ### Commands - `git-axiom branch` - Generate AI-powered branch names - `git-axiom branch --type <type>` - Create specific branch types - `git-axiom branch --help` - Show branch command help ### Technical Improvements - ๐Ÿ” Enhanced Git integration with better change detection - ๐Ÿ›ก๏ธ Robust error handling for branch creation scenarios - โšก Optimized API calls with intelligent diff truncation - ๐Ÿงช Comprehensive test coverage for new functionality ## [1.0.1] - 2024-01-15 ### Fixed - ๐Ÿ› Fixed error handling for network timeouts - ๐Ÿ› Resolved API response parsing edge cases - ๐Ÿ› Fixed CLI help text formatting ### Changed - ๐Ÿ“ Improved commit message generation accuracy - ๐ŸŽจ Enhanced UI with better spinner animations - โšก Optimized API request performance ### Security - ๐Ÿ”’ Added input validation for git diff content - ๐Ÿ”’ Improved API key handling security ## [1.0.0] - 2024-01-10 ### Added - ๐ŸŽ‰ Initial release of Git Axiom - โœจ AI-powered commit message generation using OpenAI GPT - ๐ŸŽฏ Conventional Commits specification support - ๐ŸŽจ Interactive CLI interface with beautiful UI - ๐Ÿ›ก๏ธ Comprehensive error handling with helpful suggestions - ๐Ÿ“ Smart analysis of staged Git changes - โšก Lightning-fast commit message generation - ๐Ÿ”ง Easy setup with environment variable configuration - ๐Ÿ“‹ Multiple CLI commands (`commit`, `init`, `review`) - ๐Ÿš€ Cross-platform support (Windows, macOS, Linux) ### Features - **AI Integration**: Seamless OpenAI API integration - **Git Operations**: Automatic staging and commit workflows - **User Experience**: Interactive prompts with confirmation steps - **Error Recovery**: Detailed error messages with solutions - **Performance**: Optimized for speed and minimal resource usage ### Commands - `git-axiom commit` - Generate AI-powered commit messages - `git-axiom init` - Initialize and check setup - `git-axiom --help` - Show help information ### Dependencies - `axios` ^1.10.0 - HTTP client for API requests - `chalk` ^5.4.1 - Terminal string styling - `commander` ^14.0.0 - CLI framework - `dotenv` ^16.5.0 - Environment variable management - `inquirer` ^12.6.3 - Interactive command line prompts - `ora` ^8.2.0 - Loading spinners --- ## Version History Summary - **v1.1.0**: Smart Branch Naming feature with AI-powered branch generation - **v1.0.1**: Bug fixes and performance improvements - **v1.0.0**: Initial stable release with core functionality ## Migration Guide ### From v1.0.x to v1.1.0 No breaking changes. Simply update: ```bash npm update -g git-axiom ``` New features available: - Use `git-axiom branch` for AI-powered branch naming - All existing commands work exactly the same ### From v1.0.0 to v1.0.1 No breaking changes. Simply update: ```bash npm update -g git-axiom ``` ## Planned Features ### v1.2.0 (Upcoming) - ๐Ÿ”„ Bulk commit processing - ๐Ÿ“Š Commit statistics and analytics - ๐ŸŽจ Custom commit message templates - ๐Ÿ”ง Configuration file support - ๐ŸŒ Multi-language support ### v1.3.0 (Future) - ๐Ÿค– Multiple AI model support (Claude, Gemini) - ๐Ÿ“ฑ Web interface - ๐Ÿ”— Git hooks integration - ๐Ÿ“ˆ Team collaboration features ## Breaking Changes None yet! We're committed to backward compatibility. ## Contributors Special thanks to all contributors: - [@Abdiev003](https://github.com/Abdiev003) - Creator and maintainer ## Support For questions about changes or migrations: - ๐Ÿ“ง Email: aliabdiyev000@gmail.com - ๐Ÿ› [Report Issues](https://github.com/Abdiev003/git-axiom/issues) - ๐Ÿ’ฌ [Discussions](https://github.com/Abdiev003/git-axiom/discussions) --- **Legend:** - ๐ŸŽ‰ Major Features - โœจ New Features - ๐Ÿ› Bug Fixes - ๐Ÿ“ Documentation - ๐ŸŽจ UI/UX Improvements - โšก Performance - ๐Ÿ”’ Security - ๐Ÿ”ง Configuration - ๐Ÿ“Š Analytics - ๐Ÿ”„ Workflow