Releases: SBoudrias/Inquirer.js
Releases · SBoudrias/Inquirer.js
v0.9.0
This is not a huge release feature wise. It's been mostly a huge internal refactoring of our rendering system. This is all done with the hope of moving towards a 1.0 release where we'll have a stronger Prompt API allowing the creation of custom prompts.
In the meantime, included in 0.9:
- Fix a lot of issues with natural line returns messing inquirer.js prompt re-rendering.
- The
validate
function now takes the list of current answers as arguments. #198
v0.8.5
v0.8.4
v0.8.3
v0.8.2
v0.8.1
v0.8.0
New Feature
Add inquirer.createPromptModule()
who return a self contained inquirer.prompt
method. This allow to decouple multiple interfaces who could rely on inquirer.prompt
and different sets of prompts.
Example usage:
var prompt = inquirer.createPromptModule();
prompt.registerPrompt('long-list', LongListPrompt);
prompt([{
type: 'long-list',
message: 'Choose a menu item',
choices: [ /* etc */ ]
}], callback);