Packages

@inquirer/prompts

8.8.0 · 10 Nov 2026MIT66.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @inquirer/prompts From 7.2.3 to 8.8.0

48 releases in betweennotes for 42

Reading releases, release notes and advisories…

Other targets from 7.2.3Newest 7.x7.10.1
  1. 7.2.3yours
  2. 24 releases
  3. 8.0.0security
  4. 15 releases
  5. 8.6.0breaking
  6. 4 releases
  7. 8.7.4breaking
  8. 1 release
  9. 8.8.0target
8+
changes to make
0
advisories fixed
27+
new
23+
fixes

Counted from 42 of 48 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking8.8.0
  • Breaking8.7.4
  • Breaking8.6.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Deprecated8.0.0
  • Deprecated8.0.0
  • Deprecated8.0.0

Security

  • This makes Inquirer smaller and reduces risks of vulnerabilities coming from transitive dependencies.

    8.0.0

Release by release

  1. 8.8.0

    Migration needed10 Nov 20261 new
    • Breaking

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

    • New

      Dependencies updated: @inquirer/core@12.1.0 (theme undefined keys no longer crash prompts), @inquirer/number@4.3.0 (validate runs on empty optional answers), @inquirer/select@5.3.0 and @inquirer/rawlist@5.4.0 (strict digit-index parsing), @inquirer/i18n@1.4.0 (user theme overrides locale defaults)

  2. 8.7.5

    27 Oct 20261 new
    • New

      Dependencies updated: @inquirer/password@5.2.5 fixes the cursor overlapping the message when the password prompt is empty (#2360), and @inquirer/core@12.0.6 fixes piped-stdin answers being dropped before the first render

  3. 8.7.4

    Migration needed19 Oct 20263 new
    • Breaking

      checkbox() no longer accepts edits or submissions while an async validator is pending — the selection is captured at submit time, and repeated Enter presses don't run the validator more than once (@inquirer/checkbox, #2296).

    • New

      Prompt output no longer leaks when a prompt is cancelled or aborted before its first render — the deferred initial render is now cancelled during cleanup, so a settled prompt never writes to an ended output stream or reinstalls keypress listeners (@inquirer/core, #2318, relates to #1816).

    • New

      number() now treats whitespace-only input as empty, so a space-padded submit resolves to the default/undefined answer instead of a validation error (@inquirer/number, #2307).

    • New

      Packages with only test-file changes are no longer version-bumped at release time (internal tooling; #2319).

  4. 8.7.3

    4 Oct 20264 new
    • New

      search() no longer submits a stale choice when Enter is pressed while an async search is still loading — the prompt waits for the fresh results, the query is preserved, and repeated Enter presses during validation no longer run the async validator more than once (@inquirer/search, #2291, closes #2290).

    • New

      confirm() now always accepts the single keystrokes y/n even with localized keywords, and unrecognized input no longer silently falls back on the default answer (@inquirer/confirm, #2281, closes #2279).

    • New

      expand() and rawlist() now ignore surrounding whitespace in answers (@inquirer/expand, @inquirer/rawlist, #2280).

    • New

      All package READMEs now document the Deno install command (deno add npm:@inquirer/prompts) alongside the npm/yarn/pnpm/bun ones (#2269).

  5. 8.7.2

    7 Sep 20261 new · 1 fix
    • New

      confirm() now trims surrounding whitespace from answers before matching yes/no keywords (@inquirer/confirm, #2254).

    • Fixed

      Fixed a race where keystrokes batched in the same tick as the key that settled a prompt could still reach keypress handlers after the prompt was done, cancelled, or aborted (@inquirer/core, #2255, closes #1816).

  6. 8.7.1

    2 Sep 20261 new
    • New

      All bundled prompts now pin @inquirer/type to an exact version in their published manifests. Since these type definitions leak into consumers' tsc runs, a semver range on the types-only dependency could break downstream TypeScript builds without any change to Inquirer.js itself (#2247, fixes #2244).

  7. 8.7.0

    26 Aug 20264 new
    • New

      password gains the toggleMask option (ctrl+t to reveal the typed value).

    • New

      confirm now matches localized yes/no answers per-locale.

    • New

      Prettified prompt and theme types for better IDE display.

    • New

      Added inquirer-grouped-checkbox to the community prompts list (#2236).

  8. 8.6.0

    Migration needed19 Aug 20261 new · 3 fixes
    • Breaking

      Note: This release depends on @inquirer/core@^12.0.0, which contains a breaking change to the useState setter type (it now accepts a reducer function).

    • New

      @inquirer/search — new initialValue?: string option to pre-fill the search input

    • Fixed

      @inquirer/number — avoid floating-point step errors; accept explicit undefined as default (#2166, #2182)

    • Fixed

      @inquirer/confirm — accept explicit undefined as default

    • Fixed

      @inquirer/editor — accept explicit undefined as default

65 other lines we could not sort, mostly version bumps
  • @inquirer/checkbox@^5.2.7

    8.7.4
  • @inquirer/confirm@^6.3.4

    8.7.4
  • @inquirer/editor@^5.3.5

    8.7.4
  • @inquirer/expand@^5.1.7

    8.7.4
  • @inquirer/input@^5.1.8

    8.7.4
  • @inquirer/number@^4.2.5

    8.7.4
  • @inquirer/password@^5.2.4

    8.7.4
  • @inquirer/rawlist@^5.3.7

    8.7.4
  • @inquirer/search@^4.3.5

    8.7.4
  • @inquirer/select@^5.2.7

    8.7.4

15 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.