Skip to content

Releases: SBoudrias/Inquirer.js

v2.0.0

24 Nov 19:22
Compare
Choose a tag to compare
  • 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

24 Nov 03:42
Compare
Choose a tag to compare

Unpublished due to backward compatibility issue

v1.2.3

13 Nov 20:26
Compare
Choose a tag to compare
  • Fix bug with editor prompt #442

v1.2.0

30 Sep 05:34
Compare
Choose a tag to compare
  • 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

02 Sep 06:40
Compare
Choose a tag to compare
  • Fix bug where options passed to Inquirer were mutated.

v1.1.2

07 Jul 00:31
Compare
Choose a tag to compare
  • Fix list prompts being re-render each time enter key was pressed. (#395)

v1.1.1

04 Jul 22:37
Compare
Choose a tag to compare
  • Correctly ignore validation on list prompts. (previously the function would be run and throw an exception)

Instead of validation, you can:

  1. Pass a function as choices so you can filter out invalid choices
  2. 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

25 Jun 19:34
Compare
Choose a tag to compare
  • Add a new editor prompt to launch an editor allowing to easily enter multiline content - or edit file content.

v1.0.3

25 Jun 19:36
Compare
Choose a tag to compare
  • Allow falsy values as option value in expand prompt.

v1.0.2

17 Apr 19:12
Compare
Choose a tag to compare
  • Fix expand prompt to correctly use the value key as the prompt answer.
  • Fix documentation saying the expand prompt support the filter key.