Releases: SBoudrias/Inquirer.js
Releases · SBoudrias/Inquirer.js
v1.0.1
Fixes
- Fix bug where inquirer would overwrite properties on the options passed in. Now we're making sure to not mutate your originals objects.
- On the checkbox prompt, we're now only hiding the help message once the user click the
space
key instead of any keys. - Drop
readline2
in favor of Node core version. This might fix some edge cases some users on windows encountered.
v1.0.0 - Rosebud
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 beforevalidate
#122inquirer.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.
v0.12.0
v0.11.4
v0.11.3
v0.11.2
v0.11.1
v0.11.0
v0.10.1
v0.10.0
New feature
inquirer.createPromptModule(opt)
not take anoption
arguments. These options will be passed to the readline factory.
Bug fix
- Fix #276 and #209: adding a new observer to the process won't duplicate the prompts (basically the prompt processing queue is now a hot observable).