async breaking changes
Updated December 4, 2026
On this page
Latest version 3.2.6, released August 19, 2024. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 2.0.0 to 3.2.0: 86 breaking changes in 3 versions.
- From 1.0.0 to 3.2.0: 103 breaking changes in 4 versions.
async 3.2.0 breaking changes
- Configuration changed
The package no longer includes built-in browserify configuration. Projects that relied on it to bundle async with browserify must now set up that configuration themselves. github.com
async 3.1.0 breaking changes
- Removed
AsyncCargo
AsyncCargo was removed in async 3.1.0 npmjs.com - Removed
doDuring
doDuring was removed in async 3.1.0 npmjs.com - Removed
during
during was removed in async 3.1.0 npmjs.com - Behavior changed
q.push
When no callback is passed, the promise returned by q.push now resolves even if processing the task errored, instead of rejecting. Code that relies on catching those rejections must check for errors another way. github.com - Behavior changed
q.unshift
When no callback is passed, the promise returned by q.unshift now resolves even if processing the task errored, instead of rejecting. Code that relies on catching those rejections must check for errors another way. github.com - Signature changed
AsyncAutoTask
Was type AsyncAutoTask<R1, R extends Dictionary<any>, E> = AsyncAutoTaskFunctionWithoutDependencies<R1, E> | Array<keyof R | AsyncAutoTaskFunction<R1, R, E>>; now type AsyncAutoTask<R1, R extends Dictionary<any>, E> = |... npmjs.com - Signature changed
AsyncPriorityQueue
Was interface AsyncPriorityQueue<T>; now interface AsyncPriorityQueue<T> extends Pick<QueueObject<T>, Exclude<keyof QueueObject<T>, "push" | "unshift">>. npmjs.com - Signature changed
AsyncPriorityQueue.drain
Was drain: () => any; now drain(): Promise<void> drain(handler: () => void): void. npmjs.com - Signature changed
AsyncPriorityQueue.empty
Was empty: () => any; now empty(): Promise<void> empty(handler: () => void): void. npmjs.com - Signature changed
AsyncPriorityQueue.error
Was error(error: Error, data: any): void; now error(): Promise<never> error(handler: (error: Error, task: T) => void): void. npmjs.com
And 47 more in this version. Sign up to see every change
async 3.0.0 breaking changes
- Removed
The package no longer supports Node 4 and earlier, along with many old browsers. github.com - Removed
doDuring
during and doDuring were removed; use whilst, doWhilst, until and doUntil, whose test functions are now asynchronous. github.com - Removed
during
during and doDuring were removed; use whilst, doWhilst, until and doUntil, whose test functions are now asynchronous. github.com - Behavior changed
Most Async methods now return a Promise if the final callback is omitted, so code that relied on a return value without a callback may behave differently. github.com - Behavior changed
callback
Passing false to the callback cancels the async method, stopping further iteration and callback calls. github.com - Behavior changed
mapLimit
Queues and collection methods now throw when a limit is less than 1. github.com - Behavior changed
memoize
Errors returned by memoized functions are no longer cached. github.com - Behavior changed
whilst
The test functions of these methods are now asynchronous, which changes how existing synchronous tests must be written. github.com - Signature changed
applyEach
They always return a function taking a single callback, and return a Promise if that callback is omitted. github.com - Signature changed
applyEachSeries
They always return a function taking a single callback, and return a Promise if that callback is omitted. github.com
And 18 more in this version. Sign up to see every change
async 2.0.0 breaking changes
- Removed
The package no longer supports these package managers. Use npm distribution instead. github.com - Removed
iterator
The iterator method is gone. Use the native ES2015 iterator protocol, which supports arrays. github.com - Renamed
q.tasks
Code that used the tasks array must switch to the provided helpers or support a doubly linked list. github.com - Behavior changed
Synchronous callbacks in series may now overflow the stack. Wrap sometimes-synchronous functions with ensureAsync. github.com - Behavior changed
Methods and their Series variants are now implemented through the Limit variant, subtly changing internal execution. github.com - Behavior changed
A callback called more than once now throws. Code relying on repeated callback calls must restructure its control flow. github.com - Behavior changed
during
The test function is never passed extra arguments. Only doDuring pass iteratee arguments to the test. github.com - Behavior changed
map
Iterating over an object with map returns an array. Use mapValues for the previous object behavior. github.com - Behavior changed
q.saturated
The saturated callback timing changed to better reflect when pushed tasks start queueing. github.com - Behavior changed
retry
Omitting the retry callback now runs the function instead of returning a control-flow wrapper. Use retryable for that behavior. github.com
And 7 more in this version. Sign up to see every change
async 1.0.0 breaking changes
- Behavior changed
queue
Creating a queue with concurrency 0 now throws an error instead of silently accepting it. Code that passes 0 must use a positive concurrency value. github.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.