Repository navigation
v0.13.0
Breaking Changes
- Dependencies: Migrate from
c-bata/go-prompttogithub.com/nao1215/prompt- Replace unmaintained
c-bata/go-promptlibrary with modernnao1215/prompt - Addresses critical stability issues including divide-by-zero panics and memory leaks
- Improved cross-platform compatibility and better terminal handling
- Replace unmaintained
Enhancements
- Interactive Shell: Enhanced prompt functionality and user experience
- Maintained full compatibility with existing shell features (completion, history, commands)
- Improved terminal input handling with better cursor control
- Support for multiline input with enhanced editing capabilities
- Fixed display issues with extra newlines after user input
- Updated color themes and visual consistency
Technical Improvements
- Architecture: Updated dependency management and architecture constraints
- Updated
.go-arch-lint.ymlto reflect new prompt library dependency - Maintained clean architecture boundaries and dependency injection patterns
- All existing tests pass with new prompt implementation
- Updated
- Code Quality: Improved error handling and input processing
- Enhanced input sanitization with
strings.TrimSpace()for reliable parsing - Added terminal control sequences for optimal display behavior
- Removed legacy workarounds for
c-bata/go-promptbugs
- Enhanced input sanitization with
- Testing: Comprehensive test coverage maintained
- All shell functionality tests updated and passing
- Completion system tests adapted to new prompt library API
- Cross-platform compatibility verified
Bug Fixes
- Shell Display: Fix unwanted newlines appearing after user input
- Resolved extra blank lines that appeared between input and output
- Improved terminal cursor positioning with ANSI escape sequences
- Maintains clean, professional shell appearance
Migration Notes
- For Users: No changes to command-line interface or functionality
- All existing commands, features, and workflows remain identical
- No configuration changes required
- For Developers: Updated prompt library dependency
- New dependency:
github.com/nao1215/prompt v0.0.1 - Removed dependency:
github.com/c-bata/go-prompt - Internal API changes are fully abstracted from public interfaces
- New dependency: