Skip to content

@inquirer/prompts@8.8.2

Choose a tag to compare

@SBoudrias SBoudrias released this 05 Dec 18:42
· 1 commit to main since this release
Immutable release. Only release title and notes can be modified.
@inquirer/prompts@8.8.2
4142b90

@inquirer/prompts@8.8.2

What's new

  • Input: erasing an editable prefilled default and pressing Enter now submits the empty value; previously the erased default was silently submitted, and required never triggered (#2475).
  • Select: keys that type nothing (arrows, Home, End, Page Up/Down, Delete, Escape) no longer reset the cursor to the first choice; the selection stays where it was (#2467).
  • Select: under vim keybindings, stray letters typed while navigating are now discarded, so a following number key jumps to the nth choice instead of being appended to leftover input (#2474).
  • Core: a useKeypress handler that throws now rejects the prompt with that error, instead of silently swallowing it (#2486).
  • I18n: prompts use English when the effective locale is C or POSIX, matching glibc behavior (#2470).
  • Rawlist: the error shown when rawlist is given no choices now names the rawlist prompt, not the select prompt (#2490).
  • Dependencies updated: @inquirer/core@12.1.2, @inquirer/input@5.2.2, @inquirer/i18n@1.5.1, @inquirer/rawlist@5.4.2, @inquirer/select@5.3.2.