UNPKG

@sbeeredd04/auto-git

Version:

AI-powered Git automation with intelligent commit decisions using Gemini function calling, smart diff optimization, push control, and enhanced interactive terminal session with persistent command history

185 lines (141 loc) • 6.28 kB
# Auto-Git v3.9.3 Release Notes ## šŸš€ What's New ### šŸ› ļø Critical Fixes #### Buffer Period Cancellation Issue Resolved - **Fixed**: The major issue where the 'c' key wouldn't cancel commits in intelligent mode - **Root Cause**: Keyboard event handling wasn't properly set up for the buffer period - **Solution**: Enhanced keyboard control system with multiple cancellation methods #### Enhanced Cancellation Controls We've added multiple ways to cancel pending commits for better user experience: 1. **`c` key** - Backward compatibility (original method) 2. **`x` key** - Alternative single-key cancellation 3. **`Ctrl+X`** - Keyboard shortcut for power users ### šŸŽÆ Improvements #### Unified Buffer Period System - **Both intelligent and periodic modes** now use the buffer period system - **Consistent behavior** across all commit modes - **Enhanced safety** with visual countdown and multiple cancellation options #### VS Code Extension Updates - **GitCue Extension v0.0.2** with improved buffer notifications - **Multiple cancellation methods** supported in the VS Code interface - **Enhanced keyboard shortcuts** including Ctrl+X support - **Updated dependency** to auto-git v3.9.3 ## šŸ”§ Technical Details ### Package Updates - **Auto-Git NPM Package**: Updated to v3.9.3 - **GitCue VS Code Extension**: Updated to v0.0.2 - **Dependencies**: All packages updated and published ### Keyboard Control Enhancements ```javascript // New keyboard controls in watcher.js - Ctrl+C: Graceful shutdown (unchanged) - Ctrl+X: Cancel pending commit (new) - 'c' key: Cancel pending commit (existing) - 'x' key: Cancel pending commit (new alternative) ``` ### Buffer Period Messages Updated all user-facing messages to reflect the new cancellation options: ``` Press 'c', 'x', or Ctrl+X to cancel this commit within 30 seconds... ā³ Committing in 15 seconds... (Press 'c', 'x', or Ctrl+X to cancel) ``` ## šŸŽ® Usage Examples ### CLI Usage When auto-git is about to commit, you'll see: ``` +---------------------------+ | ā° Commit Buffer Period | | 30 seconds to cancel | +---------------------------+ [COMMIT] šŸ’¬ feat: add new feature implementation [CONTROL] Press 'c', 'x', or Ctrl+X to cancel this commit within 30 seconds... ā³ Committing in 29 seconds... (Press 'c', 'x', or Ctrl+X to cancel) ``` **To cancel**: Press any of these keys: - `c` - Quick single-key cancel - `x` - Alternative single-key cancel - `Ctrl+X` - Keyboard shortcut cancel ### VS Code Extension Usage In the GitCue buffer notification panel: - **Visual countdown timer** with progress indicator - **Cancel button** for mouse users - **Keyboard shortcuts**: `c`, `x`, or `Ctrl+X` - **Seamless integration** with VS Code's interface ## šŸ›”ļø Safety Improvements ### Enhanced Protection - **Multiple cancellation methods** prevent accidental commits - **Clear visual feedback** with countdown timers - **Consistent behavior** across all modes and interfaces - **Graceful error handling** with fallback mechanisms ### User Experience - **Intuitive controls** with multiple options - **Clear instructions** in all interfaces - **Immediate feedback** when cancellation is triggered - **Seamless resume** of watching after cancellation ## šŸ“¦ Installation & Updates ### NPM Package ```bash # Install or update to latest version npm install -g @sbeeredd04/auto-git@3.9.3 # Verify installation auto-git --version ``` ### VS Code Extension 1. **Automatic Update**: VS Code will prompt to update GitCue to v0.0.2 2. **Manual Install**: Download `gitcue-0.0.2.vsix` and install via VS Code 3. **Marketplace**: Available on VS Code Marketplace (pending approval) ## šŸ”„ Migration Guide ### From v3.9.3 - **No breaking changes** - all existing configurations work - **Enhanced functionality** - new cancellation methods available immediately - **Automatic benefits** - improved safety and user experience ### Configuration No configuration changes required. All existing settings continue to work with enhanced functionality. ## šŸ› Bug Fixes ### Resolved Issues 1. **Buffer cancellation not working in intelligent mode** āœ… 2. **Inconsistent behavior between commit modes** āœ… 3. **Limited cancellation options** āœ… 4. **VS Code extension keyboard handling** āœ… ### Testing - āœ… Tested on macOS, Windows, and Linux - āœ… Verified in both CLI and VS Code environments - āœ… Confirmed all cancellation methods work correctly - āœ… Validated buffer period functionality in all modes ## šŸ¤ Community & Support ### Feedback We've addressed the community feedback about: - **Better cancellation controls** - Now multiple options available - **Consistent behavior** - Unified across all modes - **Enhanced safety** - Multiple protection mechanisms - **Improved UX** - Clearer instructions and feedback ### Getting Help - **GitHub Issues**: [Report bugs or request features](https://github.com/sbeeredd04/auto-git/issues) - **Discussions**: [Community discussions](https://github.com/sbeeredd04/auto-git/discussions) - **Documentation**: Updated README and guides ## šŸŽ‰ What's Next ### Upcoming Features (v3.10.0) - **Enhanced AI analysis** with more sophisticated change detection - **Custom cancellation timeouts** per project - **Integration improvements** with popular IDEs - **Advanced configuration options** for power users ### Long-term Roadmap - **Plugin system** for extensibility - **Team collaboration features** - **Advanced Git workflow support** - **Performance optimizations** --- ## šŸ“Š Summary **Auto-Git v3.9.3** is a critical update that resolves the buffer period cancellation issue and significantly improves the user experience with multiple cancellation methods. The update maintains full backward compatibility while adding enhanced safety features and better user control. **Key Benefits:** - āœ… Fixed critical cancellation bug - āœ… Multiple cancellation methods - āœ… Enhanced safety and user control - āœ… Improved VS Code integration - āœ… Consistent behavior across all modes **Recommended Action:** Update immediately to benefit from the improved functionality and bug fixes. --- **Released**: January 25, 2025 **Version**: 3.9.3 **Compatibility**: Node.js 18+, VS Code 1.96+ **License**: MIT