Skip to content

v1.0.0 - Rosebud

Choose a tag to compare

@SBoudrias SBoudrias released this 04 Apr 04:10
· 1672 commits to main since this release

Say hello to promises!

The whole inquirer API is now based on promises!

  • The base API interface is now inquirer.prompt(questions).then(). There's no more callback function.
  • Any async question functions is taking a promise as return value instead of requiring this.async().

Breaking changes

  • filter is now always run before validate #122
  • inquirer.prompt doesn't take a callback argument anymore

Bug fixes

  • Fixed list not displayed disabled options correctly #321

And various other minor fixes and cleanup to the code base.