Releases: SBoudrias/Inquirer.js
Releases · SBoudrias/Inquirer.js
@inquirer/core@7.0.2
- 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
@inquirer/select
now support search when typing letters (aiming to imitate how the HTML<select>
search works)
@inquirer/checkbox@2.1.0
- Allow customizing
renderSelectedChoices
with theme.
@inquirer/prompts@4.0.0
- All prompts are now themable. See each prompts documentation about the options available.
- BREAKING: The
message
option of each prompt must now be astring
. It could previously be an asynchronous function. See recipes for a migration option. - Node 18 required
@inquirer/core@7.0.0
- 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
- Breaking:
usePagination
now requirespageSize
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
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
- Now supports the
loop: false
option. (This feature was available oninquirer
, but not ported to new prompts yet)
@inquirer/core@5.1.0
- Introduces a new
useMemo
hook.
@inquirer/checkbox@1.4.0
- Now supports the
loop: false
option. (This feature was available oninquirer
, but not ported to new prompts yet)