Skip to content

Releases: SBoudrias/Inquirer.js

inquirer@10.2.0

02 Sep 22:00
Compare
Choose a tag to compare
  • Includes various fixes & new features to the different built-in prompts
  • Fix: Major rework of the Typescript types. Hoping to reduce the amount of finicky type errors (or wrong types) you might've ran into.

@inquirer/select@2.5.0

02 Sep 21:56
Compare
Choose a tag to compare
  • Choices can now be an array of string.
  • Includes @inquirer/core@9.1.0 adding support for { signal: AbortSignal } in the context options to programatically cancel a prompt.

@inquirer/search@1.1.0

02 Sep 21:55
Compare
Choose a tag to compare
  • Search now support autocomplete like behaviours - See documentation
  • Search results can now be an array of string.
  • Includes @inquirer/core@9.1.0 adding support for { signal: AbortSignal } in the context options to programatically cancel a prompt.
  • Fix: help tip now doesn't render if results aren't paginated or if there's no results.

@inquirer/rawlist@2.3.0

02 Sep 21:56
Compare
Choose a tag to compare
  • Choices can now be an array of string.
  • Includes @inquirer/core@9.1.0 adding support for { signal: AbortSignal } in the context options to programatically cancel a prompt.

@inquirer/expand@2.2.0

02 Sep 21:57
Compare
Choose a tag to compare
  • [Typescript] value is now generic and will be inferred from the values passed in.
  • [Typescript] Enforce the use of valid key in the choice array.
  • Fix: rendering of selected values once prompt is done.
  • Includes @inquirer/core@9.1.0 adding support for { signal: AbortSignal } in the context options to programatically cancel a prompt.

@inquirer/core@9.1.0

02 Sep 21:58
Compare
Choose a tag to compare
  • Adds support for { signal: AbortSignal } in the context options to programatically cancel a prompt. This is now released to all built-in prompts.

@inquirer/checkbox@2.5.0

02 Sep 21:53
Compare
Choose a tag to compare
  • Each choice can now provide a description (like for the select and search prompts)
  • choices can now be an array of string.
  • Includes @inquirer/core@9.1.0 adding support for { signal: AbortSignal } in the context options to programatically cancel a prompt.

@inquirer/core@9.0.10

05 Aug 21:23
Compare
Choose a tag to compare
  • Fix a memory leak in the core. A warning would appear once the same prompt is repeated > 10 times.

The fix is released in all other packages through a patch version.

@inquirer/core@9.0.9

04 Aug 22:23
Compare
Choose a tag to compare
  • Improve rendering performance (should reduce appearance of screen flickering)

The improvement is released in all other packages through a patch version.

@inquirer/core@9.0.8

30 Jul 21:22
Compare
Choose a tag to compare
  • Fix issue where hooks cleanup would wait until all timeouts resolve before triggering. Now hooks cleanup functions are run immediately when the user press ctrl+c or send other exit signals.