Repository navigation
Phantom v0.4.0
π What's New in v0.4.0
β¨ New Features
- Enhanced
phantom createcommand - Added--exec(-x) option to execute commands immediately after creating a worktreephantom create feature --exec "code ." # open in VSCode!!
- Short flags support - You can now use short flags for convenience:
-sfor--shell-xfor--exec-ffor--force
- Better CLI experience - Options can now be placed anywhere in the command (e.g.,
phantom create --shell featureworks!)
π Bug Fixes
- Fixed branch deletion - The
phantom deletecommand now correctly deletes branches (previously failed due to incorrect branch naming) - Security fix - Fixed command injection vulnerability by using safer command execution methods
π οΈ Improvements
- Robust argument parsing - Switched to Node.js built-in
parseArgsfor better command-line handling - Better error messages - Improved error reporting, especially for branch deletion failures
- Type safety - Introduced Result type pattern for better error handling throughout the codebase
- Performance - Migrated build system from TypeScript compiler to TypeScript-go for faster builds
π Documentation
- Enhanced README with clearer examples and use cases
- Added comprehensive tests for new features
π§ Developer Experience
- Restructured codebase following Single Responsibility Principle
- Added extensive unit tests for core modules
- Improved project architecture for better maintainability
Full Changelog: v0.3.0...v0.4.0
Contributors
- @aku11i - All changes in this release