github SBoudrias/Inquirer.js inquirer@14.3.0

latest releases: @inquirer/i18n@1.4.0, @inquirer/rawlist@5.4.0, @inquirer/select@5.3.0...
3 hours ago

inquirer@14.3.0

Breaking changes

  • Node.js 20 is no longer supported; the minimum is now Node 22 (^22.22.2 || ^24.15.0 || >=26.0.0)

What's new

  • filter now supports asynchronous filters and the legacy this.async() callback — a promise-returning filter is awaited before the answer is stored (#2386)
  • validate supports the legacy this.async() callback and promise-returning validators; a string rejection (done('msg') or Promise.reject('msg')) is shown as the validation message (#2389)
  • Dependencies updated: theme keys set to undefined no longer crash prompts (#2390, @inquirer/core@12.1.0), localized prompts respect user theme overrides (#2371, @inquirer/i18n@1.4.0), and the select/rawlist index-input fixes (#2388/#2387)

Don't miss a new Inquirer.js release

NewReleases is sending notifications on new releases.