listr2 breaking changes
listr2 11.4.0 (October 17, 2026) is its newest release with breaking changes, 3 of them. The first: Retries now stop when a task returns task.fail in listr2 11.4.0. Every breaking API change we have recorded in listr2 on npm: 57 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 11.4.1, released November 9, 2026. Source repository
Its 9.0.0 release drops Node.js 18. Node.js end of life dates.
- From 10.0.0 to 11.4.0: 12 breaking changes in 2 versions.
- From 9.0.0 to 11.4.0: 52 breaking changes in 3 versions.
listr2 11.4.0 breaking changes
- Behavior changed
A task that returns task.fail no longer gets retried, so code relying on retries after task.fail will see fewer attempts. github.com - Signature changed
ListrTask.retry
Was retry?: number | {tries: number; delay?: number;}; now retry?: number | ListrTaskRetryOptions<Ctx>. npmjs.com - Signature changed
ListrTaskResult
Was type ListrTaskResult<Ctx> = string | Promise<any> | Listr<Ctx, ListrRendererValue, ListrRendererValue> | ReadableLike | ObservableLike<any>; now type ListrTaskResult<Ctx> = string | Promise<any> | Listr<Ctx, ListrRendererValue... npmjs.com
listr2 11.0.0 breaking changes
- Removed
cloneObject
The cloneObject utility is no longer exported and code importing it will fail. npmjs.com - Removed
ListrError.ctx
Context is no longer cloned into collected errors, so code reading ListrError.ctx must stop doing so. npmjs.com - Behavior changed
Listr.errors
With the default collectErrors setting, Listr.errors is now null instead of an empty array. Guard reads with listr.errors?.length or an explicit null check. github.com - Behavior changed
ListrTaskState
On interruption, tasks without a rollback now get the CANCELLED state and the process exits only after rollbacks settle. Custom renderers must handle ListrTaskState.CANCELLED. github.com - Signature changed
collectErrors
Passing 'minimal' or 'full' is no longer accepted. Use true for the previous 'minimal' behavior. github.com - Signature changed
Listr.errors
Was errors: ListrError<Ctx>[]; now errors: ListrError<Ctx>[] | null. npmjs.com - Signature changed
ListrOptions.collectErrors
Was collectErrors?: false | 'minimal' | 'full'; now collectErrors?: boolean. npmjs.com - Signature changed
ListrSubClassOptions.collectErrors
Was collectErrors?: false | 'minimal' | 'full'; now collectErrors?: boolean. npmjs.com - Signature changed
TestRendererSerializerTaskKeys
Was type TestRendererSerializerTaskKeys = Extract<keyof ListrRendererTask<typeof TestRenderer>, 'hasSubtasks' | 'hasFinalized' | 'isPending' | 'isStarted' | 'isSkipped' | 'isCompleted' | 'hasFailed' | 'isRollingBack' | 'hasRolledBack' |... npmjs.com
listr2 10.0.0 breaking changes
- Removed
listr2 10.0.0 no longer supports Node.js 20 because that version reached end of life. Users on Node.js 20 must upgrade Node.js or stay on listr2 9.x. github.com - Signature changed
assertFunctionOrSelf
Was function assertFunctionOrSelf<T$1>(functionOrSelf: T$1, ...args: T$1 extends ((...args: any[]) => any) ? Parameters<T$1> : never): T$1 extends ((...args: any[]) => any) ? ReturnType<T$1> : T$1; now function... npmjs.com - Signature changed
cloneObject
Was function cloneObject<T$1 extends Record<PropertyKey, any>>(obj: T$1): T$1; now function cloneObject<T extends Record<PropertyKey, any>>(obj: T): T. npmjs.com - Signature changed
EventData
Was type EventData<Event extends string, Map$1 extends Record<string, unknown>> = Event extends keyof Map$1 ? Map$1[Event] : never; now type EventData<Event extends string, Map extends Record<string, unknown>> = Event extends keyof Map ?... npmjs.com - Signature changed
EventManager
Was class EventManager<Event extends string = string, Map$1 extends Partial<Record<Event, unknown>> = Partial<Record<Event, any>>>; now class EventManager<Event extends string = string, Map extends Partial<Record<Event, unknown>> =... npmjs.com - Signature changed
EventManager.emit
Was emit<E extends Event = Event>(dispatch: E, args?: EventData<E, Map$1>): void; now emit<E extends Event = Event>(dispatch: E, args?: EventData<E, Map>): void. npmjs.com - Signature changed
EventManager.off
Was off<E extends Event = Event>(dispatch: E, handler?: (data: EventData<E, Map$1>) => void): void; now off<E extends Event = Event>(dispatch: E, handler?: (data: EventData<E, Map>) => void): void. npmjs.com - Signature changed
EventManager.on
Was on<E extends Event = Event>(dispatch: E, handler: (data: EventData<E, Map$1>) => void): void; now on<E extends Event = Event>(dispatch: E, handler: (data: EventData<E, Map>) => void): void. npmjs.com - Signature changed
EventManager.once
Was once<E extends Event = Event>(dispatch: E, handler: (data: EventData<E, Map$1>) => void): void; now once<E extends Event = Event>(dispatch: E, handler: (data: EventData<E, Map>) => void): void. npmjs.com - Signature changed
isObservable
Was function isObservable<T$1>(obj: any): obj is ObservableLike<T$1>; now function isObservable<T>(obj: any): obj is ObservableLike<T>. npmjs.com
And 30 more in this version. Sign up to see every change
listr2 9.0.0 breaking changes
- Removed
Node.js 18 is no longer supported because it is no longer LTS. Upgrade to a newer Node.js version before using this release. github.com - Behavior changed
The default visual styling of the renderer was completely changed. Users who depend on the previous look must adjust their setup. github.com - Behavior changed
The inquirer setup has breaking changes. Users who integrate inquirer with listr2 must update their setup. github.com - Signature changed
createWritable
The return type of createWritable changed from NodeJS.WritableStream to Writable. Code relying on the old type must be updated. npmjs.com - Signature changed
ListrTaskWrapper.stdout
Was stdout(type?: ListrTaskEventType.OUTPUT | ListrTaskEventType.PROMPT): NodeJS.WritableStream; now stdout(type?: ListrTaskEventType.OUTPUT | ListrTaskEventType.PROMPT): Writable. npmjs.com
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.