Skip to content
This repository was archived by the owner on Sep 6, 2026. It is now read-only.

v2.0.0

Choose a tag to compare

@kearisp kearisp released this 29 Apr 18:16
· 14 commits to master since this release
a671645

Breaking Changes

  • Renamed Functions:
    • promptText → promptInput for improved API clarity and consistency
  • Removed Functions:
    • promptConfig - removed entirely
    • promptGroup - removed entirely
  • Package Dependencies:
    • Replaced monolithic inquirer with modular @inquirer/core

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:

  1. Replace all instances of promptText with promptInput
  2. Remove any usage of promptConfig and promptGroup
  3. Update any custom implementations that extended the removed functions

See the README for detailed migration instructions and examples.