v4.0.0

@SBoudrias SBoudrias released this Nov 12, 2017 · 1 commit to master since this release

Breaking

The core codebase went through a major es5 to 6 refactor. As such, we're dropping support for Node 4.

This change will likely require changes to the community Plugins as es6 classes are enforcing more restriction (like constructor can only be invoked with new).

New features / Bug fixes

  • list, expand and rawlist prompts now accepts the value as default (previously it would only accept the choice index).
  • The pagination now properly handles multiline choices.
  • Fix bug where invalid default choices would break the UI.

Downloads

v3.3.0

@SBoudrias SBoudrias released this Sep 18, 2017 · 12 commits to master since this release

  • Added prefix and suffix options to question object to allow you to edit the ? prefix or add a custom suffix.

Downloads

v3.2.3

@SBoudrias SBoudrias released this Aug 31, 2017 · 15 commits to master since this release

  • Fix bug where user input prompt containing ANSI code would offset the cursor.

Downloads

v3.2.2

@SBoudrias SBoudrias released this Aug 17, 2017 · 19 commits to master since this release

  • Fix BottomBar with multi-line content.

Downloads

v3.2.1

@SBoudrias SBoudrias released this Jul 24, 2017 · 22 commits to master since this release

  • Fix: gracefully exit process on SIGINT (stopped calling process.exit() directly)

Downloads

v3.2.0

@SBoudrias SBoudrias released this Jul 9, 2017 · 27 commits to master since this release

  • Change to list prompts default handling:
    • If number, default is the choice index
    • Any other defined values, find the value in the choice array. (previously it'd only support strings)
  • Bug: SIGINT was not properly exiting the process for some users
  • Cleanup: bump dependencies

Downloads

v3.1.1

@SBoudrias SBoudrias released this Jun 18, 2017 · 35 commits to master since this release

  • Fix bug where password would show after a validation error.

Downloads

v3.1.0

@SBoudrias SBoudrias released this Jun 7, 2017 · 41 commits to master since this release

  • password prompt can now rendered hidden input (Unix style)
  • filter function now also receive the current answers as argument
  • Smaller package size

Downloads

v3.0.6

@SBoudrias SBoudrias released this Mar 3, 2017 · 58 commits to master since this release

  • Fix help message not always disappearing after interaction in list prompt
  • Fix command line not properly cleaned when sending a SIGINT (ctrl-c) signal on Ubuntu

Downloads

v3.0.5

@SBoudrias SBoudrias released this Feb 27, 2017 · 61 commits to master since this release

Properly respect the pageSize option when deciding whether to paginate or not.

Downloads