Skip to content

Releases: SBoudrias/Inquirer.js

@inquirer/core@7.0.2

09 Mar 19:12
85fba23
Compare
Choose a tag to compare
  • Bugfix: usePrefix returned broken loader frames (bug introduced with the themability capabilities)
  • Chore: Added tests covering the prior issue to prevent future regression.

@inquirer/select@2.1.0

08 Mar 14:16
c91196e
Compare
Choose a tag to compare
  • @inquirer/select now support search when typing letters (aiming to imitate how the HTML <select> search works)

@inquirer/checkbox@2.1.0

19 Feb 16:32
0dfa6bd
Compare
Choose a tag to compare
  • Allow customizing renderSelectedChoices with theme.

@inquirer/prompts@4.0.0

04 Feb 18:45
44016a4
Compare
Choose a tag to compare
  • All prompts are now themable. See each prompts documentation about the options available.
  • BREAKING: The message option of each prompt must now be a string. It could previously be an asynchronous function. See recipes for a migration option.
  • Node 18 required

@inquirer/core@7.0.0

04 Feb 18:43
44016a4
Compare
Choose a tag to compare
  • Now exposes utilities to allow theming prompts (type Theme, makeTheme)
  • message option isn't transformed by the core anymore - options are now passed through as-is to the prompt.
  • Node 18 required

@inquirer/core@6.0.0

27 Jan 22:05
4dee2b1
Compare
Choose a tag to compare
  • Breaking: usePagination now requires pageSize to be passed in. The size of the pages should inform the help shown on the screen, and keeping this information in 2 areas leave a change the default value will mistmatch.

@inquirer/checkbox@1.5.0

07 Nov 22:24
a318aec
Compare
Choose a tag to compare

New features!

  • New required prompt config. Makes sure at least one choice is selected.
  • New validate prompt config. Provide a function that'll validate the user selection with any logic you want (like enforcing a min or max selection amount.) Please use this config with parsimony since complicated validation scheme can lead to sub-optimal UX!

@inquirer/select@1.3.0

03 Oct 20:38
c88aaca
Compare
Choose a tag to compare
  • Now supports the loop: false option. (This feature was available on inquirer, but not ported to new prompts yet)

@inquirer/core@5.1.0

03 Oct 20:37
c88aaca
Compare
Choose a tag to compare
  • Introduces a new useMemo hook.

@inquirer/checkbox@1.4.0

03 Oct 20:38
c88aaca
Compare
Choose a tag to compare
  • Now supports the loop: false option. (This feature was available on inquirer, but not ported to new prompts yet)