Releases: bayuagpr/gitloom-diff
Releases · bayuagpr/gitloom-diff
v0.0.46 - Cancel Multiple Diff Format Options
🎯 Highlights
Simplified Diff Output
- Removed multiple diff format options (traditional, unified, side-by-side)
- Standardized on default git diff format
- Removed unused format flags and configurations
CLI Changes
- Removed
-f, --format
flag - Updated help text and examples
- Removed unused
isCommitHash()
helper function
SDK Changes
- Simplified
getFileDiff()
API in GitUtils - Removed format-related parameters from GitLoomDiff class
- Streamlined configuration options
🗑️ Removed Features
- Side-by-side diff view
- Unified diff format (-U3)
- Custom diff width settings
📝 Migration
No migration needed. All diffs will now use git's default format.
📦 Dependencies
No changes
v0.0.45 - Enhanced Diff Modes Selection
🎯 Highlights
- Mode Selection: New
-m/--mode
flag for precise diff comparisons - Breaking: Removed auto-detection in favor of explicit modes
- CLI Updates: Enhanced help text with mode-specific examples
🔍 Details
Mode Selection
- Added
-m/--mode
flag with three options:
Breaking Changes
- Removed automatic commit mode detection
- Required explicit mode selection via
-m
flag
CLI Improvements
- Added mode-specific examples in help text
- Updated command syntax documentation
- Clarified diff notation differences
🛠 Technical Changes
- Changed JSDoc to include new mode options
- Updated CLI option handling
- Added mode explanation in help text
📦 Dependencies
No changes
v0.0.44 - Commit Mode & Remote Handling
🎯 Highlights
- Commit Mode: New dedicated mode for comparing commit hashes with proper three-dot diff syntax
- Remote Handling: Automatic fetching of remote changes before diff generation
- Enhanced CLI: Better visual output with file tree and version branding
- Smart Reference Detection: Auto-detection of commit hashes vs branch names
🔍 Details
Commit Mode & Remote Handling
- Added smart detection of commit hashes vs branch references
- Implemented proper three-dot vs two-dot diff syntax based on mode
- Auto-fetches remote changes when comparing remote branches
Remote Utilities
- New utilities for remote branch detection and fetching
- Handles both explicit remote refs (origin/main) and local tracking branches
CLI Improvements
- Added version display and yarn-style branding
- Better command examples including commit hash comparisons
- Visual file tree output showing generated files
🔧 Technical Changes
- Changed diff range syntax for commit mode:
start...end
(three dots) - Added remote change fetching before diff generation
- Added mode detection based on reference format
- Improved console output with structured file tree
- Added version branding and CLI examples
📦 Dependencies
No dependency changes in this release.
v0.0.43 - Initial Public Release 🚀
🎉 First Public Release
This marks our first public release of GitLoom Diff - a tool for generating beautiful, markdown-formatted git diffs with syntax highlighting and statistics.
🔍 What's Changed
- Initial codebase setup with core functionality
- Added comprehensive JSDoc documentation across all core modules
- Implemented CLI interface with detailed options
- Added dark/light mode theming support
- Built-in exclusion patterns for common files
📝 Key Features
- Generate markdown-formatted git diffs
- Syntax highlighting support
- File change statistics
- Commit history tracking
- Configurable exclusion patterns
- Dark/light mode themes
- Navigation between diff files
🛠 Technical Details
- Added complete JSDoc documentation
- Standardized error handling
- Clean code organization
- Type annotations throughout
- Improved date formatting in outputs
📦 Requirements
- Node.js >= 18
- Git installed and configured
🔄 Dependencies
📋 Getting Started
npm install -g gitloom-diff
For usage instructions, see the README.