github SBoudrias/Inquirer.js v4.0.0

latest releases: @inquirer/core@8.1.0, inquirer@9.2.20, @inquirer/type@1.3.1...
6 years ago

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.

Don't miss a new Inquirer.js release

NewReleases is sending notifications on new releases.