Skip to content

Releases: SBoudrias/Inquirer.js

[email protected]

17 Sep 19:11
Compare
Choose a tag to compare
  • Fix #1555: when behaviour changed unexpectedly when returning a falsy value.

[email protected]

15 Sep 21:40
Compare
Choose a tag to compare

No technical breaking changes; but we changed the style of the question prefix once the answer is provided. Once a question is answer, the prefix becomes a tick mark (previously it was the same ? as when the prompt is idle.)

This is theme-able, and so can be overwritten to with theme.prefix.

@inquirer/[email protected]

15 Sep 21:39
Compare
Choose a tag to compare

No technical breaking changes; but we changed the style of the question prefix once the answer is provided. Once a question is answer, the prefix becomes a tick mark (previously it was the same ? as when the prompt is idle.)

This is theme-able, and so can be overwritten to with theme.prefix.

@inquirer/[email protected]

15 Sep 21:37
Compare
Choose a tag to compare
  • theme.prefix can now be defined per status: { idle: string; done: string; }
  • theme.prefix changed the default prefix.done style to a tick mark (previously was the same ? as when idle.)
  • theme.message now takes a second argument representing the status of the prompt; (message: string, status: 'idle' | 'loading' | 'done') => string
  • Bump dependencies & an internal refactor of exit handlers.

[email protected]

07 Sep 21:47
Compare
Choose a tag to compare
  • Fix the filter option not working.
  • The signal: AbortSignal didn't work with class based prompts (OSS plugins.) Now it should work consistently with legacy style prompts.

[email protected]

06 Sep 21:58
Compare
Choose a tag to compare
  • Fix expand prompt being broken if a Separator was in the choices array.

@inquirer/[email protected]

06 Sep 21:57
Compare
Choose a tag to compare
  • Add support for Separator in the choices array.

[email protected]

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/[email protected]

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

@inquirer/[email protected]

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/[email protected] 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.