inquirer breaking changes
Updated December 4, 2026
On this page
Latest version 14.3.1, released November 22, 2026. Source repository
Its 14.3.0 release requires Node.js 22 or later. Node.js end of life dates.
- From 13.3.0 to 14.3.1: 15 breaking changes in 3 versions.
- From 7.0.0 to 14.3.1: 156 breaking changes in 23 versions.
inquirer 14.3.1 breaking changes
- Behavior changed
number
When input is left empty on an optional number prompt, validate is now called with undefined. Validators must handle undefined. github.com - Behavior changed
rawlist
Input such as 2x no longer selects choice 2. Only an exact key or a plain digit index selects a choice. github.com - Behavior changed
select
Lines such as 2e1 no longer jump to item 21. Only plain digit input jumps to a numbered choice. github.com - Signature changed
Question
Was type Question<A extends Answers = Answers, Type extends string = string> = {type?: Type; name: string; message: MaybeAsyncValue<string, A>; default?: any; choices?: any; validate?: (value: any, answers: NoInfer<Partial<A>>) => boolean... npmjs.com - Signature changed
Question.askAnswered
Was askAnswered?: boolean; now askAnswered?: boolean | undefined. npmjs.com - Signature changed
Question.filter
Was filter?: (answer: any, answers: NoInfer<Partial<A>>) => any; now filter?: ((answer: any, answers: NoInfer<Partial<A>>) => any) | undefined. npmjs.com - Signature changed
Question.type
Was type?: Type; now type?: Type | undefined. npmjs.com - Signature changed
Question.validate
Was validate?: (value: any, answers: NoInfer<Partial<A>>) => boolean | string | Promise<boolean | string>; now validate?: ((value: any, answers: NoInfer<Partial<A>>) => boolean | string | Promise<boolean | string>) | undefined. npmjs.com - Signature changed
Question.when
Was when?: MaybeAsyncValue<boolean, A>; now when?: MaybeAsyncValue<boolean, A> | undefined. npmjs.com
inquirer 14.3.0 breaking changes
- Behavior changed
Node.js 20 is no longer supported. Users on Node 20 must upgrade to Node 22 or later before using this release. github.com
inquirer 14.0.0 breaking changes
- Removed
rxjs
The rxjs dependency was removed in favor of a lightweight internal Observable implementation. Code that imports rxjs through inquirer may need its own rxjs dependency. github.com - Behavior changed
Explicit unregistered prompt types now throw an UnknownPromptTypeError instead of silently falling back to input. Omitting type still defaults to input. github.com - Behavior changed
Passing a prompt type that is not registered now throws instead of defaulting to type 'input'. Code relying on the old fallback must set a valid prompt type. github.com - Signature changed
Question
Was type Question<A extends Answers = Answers, Type extends string = string> = {type: Type; name: string; message: MaybeAsyncValue<string, A>; default?: any; choices?: any; validate?: (value: any, answers: NoInfer<Partial<A>>) => boolean |... npmjs.com - Signature changed
Question.type
Was type: Type; now type?: Type. npmjs.com
inquirer 13.3.0 breaking changes
- Behavior changed
checkbox
The cursor can now hover disabled options in the list, though they still cannot be checked. Code that assumes the cursor skips disabled options should be checked. github.com - Behavior changed
select
The cursor can now hover disabled options in the list, though they still cannot be selected. Code that assumes the cursor skips disabled options should be checked. github.com
inquirer 13.2.2 breaking changes
- Behavior changed
list
The TypeScript types no longer accept type: 'list' unless a plugin under that name is installed. Use type: 'select' instead. github.com
inquirer 13.2.1 breaking changes
- Signature changed
Question
Was type Question<A extends Answers = Answers, Type extends string = string> = {type: Type; name: string; message: MaybeAsyncValue<string, A>; default?: any; choices?: any; filter?: (answer: any, answers: NoInfer<Partial<A>>) => any... npmjs.com
Older versions
18 older versions, each with its first changes. Sign up to see every change
Show 18 older versions
inquirer 13.2.0 breaking changes
- Signature changed
Question
Was type Question<A extends Answers = Answers, Type extends string = string> = {type: Type; name: string; message: string | AsyncGetterFunction<string, A>; default?: any; choices?: any; filter?: (answer: any, answers: NoInfer<Partial<A>>)... npmjs.com - Signature changed
Question.message
Was message: string | AsyncGetterFunction<string, A>; now message: MaybeAsyncValue<string, A>. npmjs.com
And 1 more in this version.
inquirer 13.0.0 breaking changes
- Removed
All packages are now ESM-only and CommonJS imports are no longer supported. Code using require() must switch to ESM import. github.com - Removed
Node.js versions below 20 are no longer supported. Upgrade to Node.js 20 or later. github.com
And 4 more in this version.
inquirer 12.11.0 breaking changes
- Signature changed
createPromptModule
Was function createPromptModule<Prompts extends Record<string, Record<string, unknown>> = never>(opt?: StreamOptions): {<const A extends Answers, PrefilledAnswers extends Answers = object>(questions... npmjs.com - Signature changed
default
Was const inquirer: {prompt: {<const A extends Answers, PrefilledAnswers extends Answers = object>(questions: (UnnamedDistinctQuestion<PrefilledAnswers & A extends infer T ? {[K in keyof T]: T[K];} : never> & {name: Extract<keyof... npmjs.com
And 4 more in this version.
inquirer 12.9.4 breaking changes
- Behavior changed
The vim and emacs style key bindings were removed because they conflicted with the type-to-search feature. Code or users relying on those keys in prompts will see different behavior. github.com
inquirer 12.9.1 breaking changes
- Signature changed
createPromptModule
Was function createPromptModule<Prompts extends Record<string, Record<string, unknown>> = never>(opt?: StreamOptions): {<const A extends Answers, PrefilledAnswers extends Answers = object>(questions... npmjs.com - Signature changed
default
Was const inquirer: {prompt: {<const A extends Answers, PrefilledAnswers extends Answers = object>(questions: (UnnamedDistinctQuestion<PrefilledAnswers & A extends infer T ? {[K in keyof T]: (PrefilledAnswers & A)[K];} : never> & {name... npmjs.com
inquirer 12.8.0 breaking changes
- Behavior changed
Checkbox prompt
Pressing a number key in the Checkbox prompt now ignores separators when counting the index of the item to select. Check any code that relies on number-key positions when separators are present. github.com - Behavior changed
Select prompt
Pressing a number key in the Select prompt now ignores separators when counting the index of the item to jump to. Check any code that relies on number-key positions when separators are present. github.com
inquirer 12.4.1 breaking changes
- Signature changed
createPromptModule
Was function createPromptModule<Prompts extends Record<string, Record<string, unknown>> = never>(opt?: StreamOptions): {<const A extends Answers, PrefilledAnswers extends Answers = object>(questions... npmjs.com - Signature changed
default
Was const inquirer: {prompt: {<const A extends Answers, PrefilledAnswers extends Answers = object>(questions: (UnnamedDistinctQuestion<PrefilledAnswers & A extends infer T ? {[K in keyof T]: (PrefilledAnswers & A)[K];} : never> & {name... npmjs.com
inquirer 12.0.0 breaking changes
- Configuration changed
The @types/node package is now only a peer dependency, which shrinks the install for users not using TypeScript. If your TypeScript builds break, install it yourself with npm install --dev @types/node. github.com
inquirer 11.1.0 breaking changes
- Signature changed
createPromptModule
Was function createPromptModule<Prompts extends Record<string, Record<string, unknown>> = never>(opt?: StreamOptions): {<const A extends Answers, PrefilledAnswers extends Answers = object>(questions: ((BuiltInQuestion<PrefilledAnswers & A... npmjs.com - Signature changed
default
Was const inquirer: {prompt: {<const A extends Answers, PrefilledAnswers extends Answers = object>(questions: (BuiltInQuestion<PrefilledAnswers & A extends infer T ? {[K in keyof T]: (PrefilledAnswers & A)[K];} : never> & {name... npmjs.com
inquirer 11.0.2 breaking changes
- Behavior changed
when
Version 11.0.1 changed how a question's 'when' option behaves when it returns a falsy value; 11.0.2 reverts that unintended change. Code that adapted to the 11.0.1 behaviour should be checked. github.com
inquirer 11.0.0 breaking changes
- Behavior changed
Once a question is answered, its prefix becomes a tick mark instead of the same ? shown while the prompt is idle. To keep or customize the old look, set theme.prefix. github.com
inquirer 10.2.0 breaking changes
- Removed
QuestionMap.checkbox
QuestionMap.checkbox was removed in inquirer 10.2.0 npmjs.com - Removed
QuestionMap.confirm
QuestionMap.confirm was removed in inquirer 10.2.0 npmjs.com
And 11 more in this version.
inquirer 10.0.2 breaking changes
- Signature changed
createPromptModule
Was function createPromptModule(opt?: StreamOptions): {<T extends Answers>(questions: QuestionArray<T> | QuestionAnswerMap<T> | QuestionObservable<T> | Question<T>, answers?: Partial<T>): Promise<Prettify<T>> & {ui: PromptsRunner<T>;}... npmjs.com - Signature changed
default
Was const inquirer: {prompt: {<T extends Answers>(questions: QuestionArray<T> | QuestionAnswerMap<T> | QuestionObservable<T> | Question<T>, answers?: Partial<T>): Promise<Prettify<T>> & {ui: PromptsRunner<T>;}; prompts: {[x: string]... npmjs.com
inquirer 10.0.1 breaking changes
- Signature changed
createPromptModule
Was function createPromptModule(opt?: StreamOptions): {<T extends Answers = Answers>(questions: Question<T> | QuestionAnswerMap<T> | QuestionObservable<T> | QuestionArray<T>, answers?: Partial<T>): Promise<T> & {ui: PromptsRunner;}... npmjs.com - Signature changed
default
Was const inquirer: {prompt: {<T extends Answers = Answers>(questions: Question<T> | QuestionAnswerMap<T> | QuestionObservable<T> | QuestionArray<T>, answers?: Partial<T>): Promise<T> & {ui: PromptsRunner;}; prompts: {[x: string]... npmjs.com
inquirer 10.0.0 breaking changes
- Removed
AllChoiceMap
AllChoiceMap was removed in inquirer 10.0.0 npmjs.com - Removed
Answers
Answers was removed in inquirer 10.0.0 npmjs.com
And 56 more in this version.
inquirer 9.0.0 breaking changes
- Removed
LoopableListQuestionOptionsBase
LoopableListQuestionOptionsBase was removed in inquirer 9.0.0 npmjs.com - Removed
prompt
prompt was removed in inquirer 9.0.0 npmjs.com
And 22 more in this version.
inquirer 8.0.0 breaking changes
- Removed
Node 10 is no longer supported, because some dependencies dropped it. Users on Node 10 must upgrade their Node.js version before installing this release. github.com - Removed
default
default was removed in inquirer 8.0.0 npmjs.com
And 9 more in this version.
inquirer 7.0.0 breaking changes
- Removed
inquirer 7.0.0 no longer supports Node.js 6; upgrade Node.js to a supported version before using it. github.com - Signature changed
BaseChoiceMap.ChoiceOptions
Was ChoiceOptions: ChoiceOptions<T>; now ChoiceOptions: ChoiceOptions. npmjs.com
And 61 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.