NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #1091 most downloaded on npm
Core Inquirer prompt API
Latest stable
12.1.0
Last release 11 days ago
10 Nov 2026
Release timing varies
gaps range from 8 days to 3 months
Some releases are documented
notes for 26 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
130 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Theme keys explicitly set to undefined no longer override the defaults — deepMerge skips undefined values, so partial themes that list a key as undefi
undefined no longer override the defaults — deepMerge skips undefined values, so partial themes that list a key as undefined (e.g. { prefix: undefined }) fall back to the default instead of crashing (#2390)^22.22.2 || ^24.15.0 || >=26.0.0)Answers piped into a prompt are no longer silently dropped: the first-render deferral introduced for stale-keystroke discarding (#1303) is now gated o
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Cancelling or aborting a prompt before its deferred first render no longer invokes the prompt view after settlement — the pending setImmediate is now
setImmediate is now cancelled during cleanup, preventing keypress listener reinstalls and writes to an ended output stream (#2318, relates to #1816). Preserves the buffered-input behavior from #2007 and extends the settlement cleanup contract from #2255.The internal deferred-promise polyfill now uses withResolver from @inquirer/type instead of a core-local PromisePolyfill class (#2291).
Fixed a race where keystrokes batched in the same tick as the key that settled a prompt could still reach useKeypress handlers after the prompt was do
useKeypress handlers after the prompt was done, cancelled, or aborted. Hook effects are now cleared in the synchronous settlement path (#2255, closes #1816).Nothing published for this version
Prettified prompt and theme types for better IDE display: makeTheme now returns a fully flattened theme type, and createPrompt expands the config's to
makeTheme now returns a fully flattened theme type, and createPrompt expands the config's top-level keys in the IDE while staying assignable to Config (#2239).@inquirer/type bumped to ^4.1.0…interpreted as a reducer. This is a type-level breaking change for consumers of the core hook API.
The setter returned by useState now accepts an updater/reducer function (currentValue) => nextValue, mirroring React. The updater always receives the latest state (read from the hook store at call time), which simplifies async and reducer-style state updates.
Type change: the setter signature moves from (newValue: Value) => void to (newValue: NotFunction<Value> | Reducer<Value>) => void.
Impact: any code that stored a function as a value via useState's setter now has that function interpreted as a reducer. This is a type-level breaking change for consumers of the core hook API.
useState setter accepts a reducer function (currentValue) => nextValue (#2225)@inquirer/figures bumped to ^2.0.8Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
chore: Switch wrap-ansi with fast-wrap-ansi
wrap-ansi with fast-wrap-ansiNothing published for this version
Feat: KeypressEvents now register shift keys.
shift keys.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
isUpKey/isDownKey now accepts a second parameters keybindings: ['vim', 'emacs'] that'll match up/down actions done with the keybindings specific to th
isUpKey/isDownKey now accepts a second parameters keybindings: ['vim', 'emacs'] that'll match up/down actions done with the keybindings specific to those editors.Nothing published for this version
Nothing published for this version
fix: Remove "easter-egg" vim/emacs bindings in isUpKey/isDownKey. Those were conflicting with the type-to-search features.
isUpKey/isDownKey. Those were conflicting with the type-to-search features.isTabKey utilityNothing published for this version
Nothing published for this version
Fix #1743: usePagination logic was fully rewritten to handle edge cases around rendering multi-line choices and pointer positioning.
usePagination logic was fully rewritten to handle edge cases around rendering multi-line choices and pointer positioning.Fix: Set state functions returned by useState are now always bound to the prompt async context. This could previously be worked around calling AsyncRe
useState are now always bound to the prompt async context. This could previously be worked around calling AsyncResource.bind() in user code, it is much more convenient not having to think about it! (See #1758)Fix #1741: Issue with SIGINT in some scenarios leaving promises unsettled on exit.
npm. This removes non-standard version specifiers like workspace:* from the public npm packages.Nothing published for this version
Fix: isNumberKey() returns true if 0 is pressed.
isNumberKey() returns true if 0 is pressed.Fix an issue where inquirer would throw if Node is ran with the new `--frozen-intrinsics` flag.
--frozen-intrinsics flag.This fix is also released through patches of all specific prompts packages.
Nothing published for this version
Nothing published for this version
Replace 3rd party dependency strip-ansi in favour of Node built-in `stripVTControlCharacters` util.
strip-ansi in favour of Node built-in stripVTControlCharacters util.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
usePrefix will now work with custom statuses (before it only supported statuses used by core prompts.)
usePrefix will now work with custom statuses (before it only supported statuses used by core prompts.)Nothing published for this version
Nothing published for this version
Nothing published for this version
theme.prefix can now be defined per status: { idle: string; done: string; }
theme.prefix can now be defined per status: { idle: string; done: string; }theme.prefix changed the default prefix.done style to a tick mark (previously was the same ? as when idle.)theme.message now takes a second argument representing the status of the prompt; (message: string, status: 'idle' | 'loading' | 'done') => stringAdds support for { signal: AbortSignal } in the context options to programatically cancel a prompt. This is now released to all built-in prompts.
{ signal: AbortSignal } in the context options to programatically cancel a prompt. This is now released to all built-in prompts.Fix a memory leak in the core. A warning would appear once the same prompt is repeated > 10 times.
The fix is released in all other packages through a patch version.
Improve rendering performance (should reduce appearance of screen flickering)
The improvement is released in all other packages through a patch version.
Fix issue where hooks cleanup would wait until all timeouts resolve before triggering. Now hooks cleanup functions are run immediately when the user p
ctrl+c or send other exit signals.Enforce useEffect cleanup functions should only run once.
useEffect cleanup functions should only run once.All custom errors thrown from inquirer now includes a name attribute reflecting the error class. When checking if an error comes from inquirer AND usi
All custom errors thrown from inquirer now includes a name attribute reflecting the error class. When checking if an error comes from inquirer AND using a bundler (like tsup, rollup, etc), instanceof might not work as you expect it to. So instead, it is recommend to follow this example:
- if (error instanceof ExitPromptError) {
+ if (error.name === 'ExitPromptError') {
Fixes usePagination assuming the list is never empty
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.