Skip to content

Releases: SBoudrias/Inquirer.js

v1.0.1

16 Apr 23:59
Compare
Choose a tag to compare

Fixes

  • Fix bug where inquirer would overwrite properties on the options passed in. Now we're making sure to not mutate your originals objects.
  • On the checkbox prompt, we're now only hiding the help message once the user click the space key instead of any keys.
  • Drop readline2 in favor of Node core version. This might fix some edge cases some users on windows encountered.

v1.0.0 - Rosebud

04 Apr 04:10
Compare
Choose a tag to compare

Say hello to promises!

The whole inquirer API is now based on promises!

  • The base API interface is now inquirer.prompt(questions).then(). There's no more callback function.
  • Any async question functions is taking a promise as return value instead of requiring this.async().

Breaking changes

  • filter is now always run before validate #122
  • inquirer.prompt doesn't take a callback argument anymore

Bug fixes

  • Fixed list not displayed disabled options correctly #321

And various other minor fixes and cleanup to the code base.

v0.12.0

09 Feb 03:58
Compare
Choose a tag to compare
  • List prompts can now be navigated using Emacs bindings
  • expand prompt now use the short question property to display inline after a choice is selected
  • Bump and internal cleanup

v0.11.4

26 Jan 00:04
Compare
Choose a tag to compare
  • Fix error on environment where cli-width return 0 (we're now defaulting to 80 chars width)

v0.11.3

20 Jan 07:22
Compare
Choose a tag to compare
  • Fix bug with astral symbols not being calculated correctly in the width of a line
  • expand prompt now trim the whitespace around the answer

v0.11.2

11 Jan 06:23
Compare
Choose a tag to compare
  • Some display fixes on Windows (mainly) and Unix system.
  • Internal refactoring of the rendering logic.

v0.11.1

31 Dec 23:29
Compare
Choose a tag to compare

Fix list overflow bug when the list contains separators.

v0.11.0

22 Oct 01:52
Compare
Choose a tag to compare
  • Choices object now take an optional short property that'll be use in the prompt summary after a user selected choice.
  • Fix bug if using a terminal without defined width (we're now defaulting to 80 chars in that case)

v0.10.1

27 Sep 04:09
Compare
Choose a tag to compare
  • Fix the bottom bar functionality
  • Minor code cleanup

v0.10.0

14 Sep 03:19
Compare
Choose a tag to compare

New feature

Bug fix

  • Fix #276 and #209: adding a new observer to the process won't duplicate the prompts (basically the prompt processing queue is now a hot observable).