Releases: arbaev/commit-date-changer
Releases · arbaev/commit-date-changer
commit-date-changer v1.1.0
What's Changed
Improvements
- Removed unnecessary check for uncommitted changes - the tool now works regardless of working directory status
- Updated README with
--langoption documentation
Technical Details
git filter-branch --env-filteronly modifies commit metadata, so uncommitted files don't conflict with the operation- This makes the tool more flexible and user-friendly
commit-date-changer v1.0.0
commit-date-changer v1.0.0 🎉
First stable release!
commit-date-changer is now available on npm! Install it globally:
npm install -g commit-date-changer✨ Features
Interactive Mode
- 🎨 User-friendly CLI - Colored interactive prompts with step-by-step guidance
- 🔒 Safe by default - Works only with unpushed commits to prevent team disruption
- ✅ Smart validation - Automatic chronological order checking
- 📅 Editable date input - Pre-filled with current date for easy editing
- 🔄 Batch processing - Change multiple commits in one session
CLI Mode (for automation)
- 💻 Non-interactive mode - Change commits directly from command line
- 📊 JSON output - Structured output for scripting and automation
- 🤖 Scriptable - Perfect for CI/CD and automated workflows
Multilingual Support
- 🌍 English and Russian - Full i18n support
- 🔄 Auto-detection - Uses system language by default
- ⚙️ Configurable -
--langflag to choose language
Safety Features
⚠️ Multiple warnings - When working with pushed commits- 🛡️ Confirmation prompts - Before applying dangerous operations
- 📋 Change preview - See what will change before applying
📦 Installation
Global installation (recommended)
npm install -g commit-date-changerLocal installation
npm install --save-dev commit-date-changer🚀 Quick Start
Interactive mode
commit-dateCLI mode
# Change local commit
commit-date --hash abc1234 --date "2025-10-28T18:30"
# Get JSON output
commit-date --hash abc1234 --date "2025-10-28T18:30" --json
# Change pushed commit (dangerous!)
commit-date --hash abc1234 --date "2025-10-28T18:30" --allow-pushed --no-confirm📚 Documentation
🛠️ Technical Details
- TypeScript 5.3.3 - Fully typed codebase
- Node.js >= 18.0.0 - Modern JavaScript features
- ESM modules - Native ES modules support
- Comprehensive tests - Vitest test suite
- MIT License - Free and open source
📊 Package Stats
- Package size: 12.9 KB (unpacked: 45.8 KB)
- Dependencies: 6 production dependencies
- TypeScript: Full TypeScript definitions included
🙏 Acknowledgments
Built with modern tools:
- commander - CLI framework
- inquirer - Interactive prompts
- chalk - Terminal colors
- simple-git - Git operations
- date-fns - Date manipulation
- i18next - Internationalization
Full Changelog: Initial release 🚀