This repository was archived by the owner on Sep 6, 2026. It is now read-only.
v2.0.0
Breaking Changes
- Renamed Functions:
promptText→promptInputfor improved API clarity and consistency
- Removed Functions:
promptConfig- removed entirelypromptGroup- removed entirely
- Package Dependencies:
- Replaced monolithic
inquirerwith modular@inquirer/core
- Replaced monolithic
New Features
- Test Infrastructure:
- Added comprehensive Jest test suite
- Implemented automated test coverage reporting
- Integrated with Codecov for coverage tracking
- Documentation:
- Added detailed migration guide for upgrading from v1.x
- Included examples for the new API
- Added informational badges (npm version, downloads, license, bundle size, codecov)
Internal Improvements
- Code Structure:
- Reorganized codebase into logical directories (prompts, tools, validators)
- Added standardized validation messages in central location
- Improved modularity for easier maintenance
- CI/CD:
- Enhanced GitHub Actions workflow with test coverage reporting
- Added code coverage badge generation
- Developer Experience:
- Improved build scripts and watch mode
- Better project configuration with dedicated tsconfig files
Migration Instructions
For users upgrading from v1.x, you'll need to:
- Replace all instances of
promptTextwithpromptInput - Remove any usage of
promptConfigandpromptGroup - Update any custom implementations that extended the removed functions
See the README for detailed migration instructions and examples.