github SBoudrias/Inquirer.js inquirer@15.0.0

45 minutes ago

inquirer@15.0.0

Breaking changes

  • Node.js 20 is no longer supported: engines are now ^22.22.2 || ^24.15.0 || >=26.0.0.
  • Custom prompts building on @inquirer/core's usePagination must migrate to useListPrompt (see the migration guide).
  • Arrow-key navigation now skips disabled choices instead of landing on them (#2492).

What's new

  • Select: keys that type nothing no longer reset the cursor to the first choice; under vim keybindings, stray letters are discarded so number keys still jump (#2467, #2474).
  • Checkbox: arrow-key navigation skips disabled choices; lists with no selectable choices raise a validation error (#2492).
  • Rawlist: choices support disabled, rendered dimmed with a localized error when picked (#2491).
  • Input: erasing an editable prefilled default and pressing Enter submits the empty value; required now triggers correctly (#2475).
  • Search: arrow-key navigation over large result lists is significantly faster.
  • Dependencies updated: @inquirer/core@13.0.0, @inquirer/prompts@9.0.0, @inquirer/rawlist@6.0.0, @inquirer/select@6.0.0, @inquirer/checkbox@6.0.0, @inquirer/input@6.0.0, @inquirer/search@5.0.0, and all other list prompts.

Don't miss a new Inquirer.js release

NewReleases is sending notifications on new releases.