Releases: SBoudrias/Inquirer.js
Releases · SBoudrias/Inquirer.js
v2.0.0
- Answer
name
with .
are now expand in the answer object. e.g. name.sub
would generate an answer object formatted as {name: {sub: 'answer'}}
.
expand
prompt default value if not specified is now help
.
- Drop support for node 0.10 and 0.12
v1.3.0
Unpublished due to backward compatibility issue
v1.2.3
- Fix bug with
editor
prompt #442
v1.2.0
- Checkbox prompt now support
a
and i
keys to trigger select all and invert selection.
editor
prompt is now non blocking.
- errors thrown in
filter
functions are now surfaced to the user.
v1.1.3
- Fix bug where options passed to Inquirer were mutated.
v1.1.2
- Fix list prompts being re-render each time enter key was pressed. (#395)
v1.1.1
- Correctly ignore validation on list prompts. (previously the function would be run and throw an exception)
Instead of validation, you can:
- Pass a function as
choices
so you can filter out invalid choices
- If you want the end user to see all choices, then make the invalid choice
Separators
. That way, they'll be seen, but won't be selectable.
v1.1.0
- Add a new
editor
prompt to launch an editor allowing to easily enter multiline content - or edit file content.
v1.0.3
- Allow falsy values as option
value
in expand prompt.
v1.0.2
- Fix
expand
prompt to correctly use the value
key as the prompt answer.
- Fix documentation saying the
expand
prompt support the filter key.