Skip to content

Releases: SBoudrias/Inquirer.js

v0.9.0

14 Jul 05:22
Compare
Choose a tag to compare

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:

  1. Fix a lot of issues with natural line returns messing inquirer.js prompt re-rendering.
  2. The validate function now takes the list of current answers as arguments. #198

v0.8.5

14 Jul 05:23
Compare
Choose a tag to compare

Fix issue with cursor position in the input prompt.

v0.8.4

12 May 02:10
Compare
Choose a tag to compare
  • More consistent handling of the checkboxes checked param if the value is truthy (before the option would be checked but not selected) - #242

v0.8.3

04 May 03:40
Compare
Choose a tag to compare
  • when prompt option can now simply be a boolean value (before it needed to be a function).

v0.8.2

23 Mar 06:16
Compare
Choose a tag to compare
  • Revert usage of ttys module that was breaking Windows or non ttys terminals.

This release is really just a fix for version 0.8.1.

v0.8.1

21 Jan 06:57
Compare
Choose a tag to compare
  • use ttys module for a more reliable stdout.
  • Remove/cleanup some dependencies for faster load time.

v0.8.0

25 Sep 03:58
Compare
Choose a tag to compare

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);

v0.7.3

22 Sep 00:16
Compare
Choose a tag to compare

Bug fix

  • Correctly detect when to add a : to the end of a question phrase if it the question contains color codes.

v0.7.2

15 Sep 02:51
Compare
Choose a tag to compare

Bug

  • Update checkbox icons (some people had issue with their terminal fonts)

Feature

  • message can now also be a function

v0.7.1

02 Sep 00:32
Compare
Choose a tag to compare
  • Fix bug with checkbox prompt validation