q breaking changes
Updated December 4, 2026
On this page
Latest version 2.0.3, released January 31, 2015. The registry marks it deprecated: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone....
Packages on npm run on Node.js. Node.js end of life dates.
- From 1.5.1 to 2.0.2: 24 breaking changes in 2 versions.
- From 0.9.0 to 2.0.2: 52 breaking changes in 4 versions.
q 2.0.2 breaking changes
- Removed
The promise protocol no longer supports the set, delete and apply operations. This version is not compatible with Q-Connection v0.5. github.com - Removed
The old progress notification system has been removed. Use the new estimated time to completion feature instead. github.com - Removed
valueOf
valueOf has been removed. Use inspect().value instead. github.com - Renamed
when
The when message in the promise protocol is now called then. github.com - Behavior changed
Only ES6 generators are supported now. Code relying on SpiderMonkey style generators must be changed. github.com - Behavior changed
makeNodeResolver
makeNodeResolver no longer collects variadic arguments into an array. Pass true to get an array of variadic arguments. github.com - Behavior changed
Q.all
Q.all now returns a new array rather than the input array. Code relying on mutation of the input array must change. github.com - Behavior changed
Q.allSettled
Q.allSettled no longer accepts a promise. Use Q(promise).allSettled() instead. github.com - Behavior changed
Q.try
Q.try does not accept additional arguments. To call a function with arguments, use Q(function).call(thisp, ...args) or apply. github.com - Configuration changed
Q now depends on an ASAP package and a WeakMap shim. AMD loader users must load https://github.com/kriskowal/asap and https://github.com/drses/weak-map themselves. github.com - Signature changed
denodeify
denodeify now only takes the function to decorate and a second argument selecting variadic or named nodeback arguments. Update calls that passed partial arguments. github.com
q 2.0.0 breaking changes
- Removed
Only ES6 generators are supported; code relying on SpiderMonkey generators must be converted. github.com - Removed
Code that relies on these promise protocol operations must be changed. github.com - Removed
Only promise.nodeify, Q.denodeify and Q.ninvoke remain for Node.js bridging. github.com - Removed
deferred.notify
Progress notifications no longer send anything; use the estimated time to completion feature instead. github.com - Removed
valueOf
Use inspect().value instead. github.com - Renamed
when
Promise protocol handlers must use the then message name; Q-Connection v0.5 is not compatible. github.com - Behavior changed
denodeify
Callbacks with several non-error values now yield only the sole value unless the second argument asks for variadic arguments. github.com - Behavior changed
Q.all
The result is a new array, so code relying on mutation of the input array must change. github.com - Behavior changed
Q.allSettled
Wrap the promise with Q(promise) and call .allSettled() instead. github.com - Behavior changed
Q.try
To call a function with arguments, use Q(function).call(thisp, ...args) or apply. github.com
And 3 more in this version. Sign up to see every change
q 1.5.1 breaking changes
- Behavior changed
Q.any
Q.any now annotates its error message to say Q.any was involved and includes only the last error emitted. Code that matches on the old error message text may need updating. github.com
q 1.0.0 breaking changes
- Removed
Promise.all
Promise().all() was removed in q 1.0.0 npmjs.com - Behavior changed
Q now attempts to post debug messages in browsers whether or not window.Touch is defined. Code that relies on the previous browser debug output may need to be checked. github.com - Signature changed
default
Was function Q<T>(promise: Q.IPromise<T>): Q.Promise<T> function Q<T>(value: T): Q.Promise<T>; now function Q<T>(promise: PromiseLike<T> | T): Q.Promise<T>. npmjs.com - Signature changed
Deferred.reject
Was reject(reason: any): void; now reject(reason?: any): void. npmjs.com - Signature changed
delay
Was function delay<T>(promise: Promise<T>, ms: number): Promise<T> function delay<T>(value: T, ms: number): Promise<T>; now function delay<T>(promiseOrValue: Promise<T> | T, ms: number): Promise<T>. npmjs.com - Signature changed
denodeify
Was function denodeify<T>(nodeFunction: Function, ...args: any[]): (...args: any[]) => Promise<T>; now function denodeify<T>(nodeFunction: (...args: any[]) => any, ...args: any[]): (...args: any[]) => Promise<T>. npmjs.com - Signature changed
IPromise
Was interface IPromise<T>; now type IPromise<T> = PromiseLike<T>. npmjs.com - Signature changed
IPromise.then
Was then<U>(onFulfill?: (value: T) => IWhenable<U>, onReject?: (error: any) => IWhenable<U>): IPromise<U>; now then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null... npmjs.com - Signature changed
isPending
Was function isPending(object: any): boolean function isPending(promise: Promise<any>): boolean; now function isPending(promiseOrObject: Promise<any> | any): boolean. npmjs.com - Signature changed
IWhenable
Was type IWhenable<T> = IPromise<T> | T; now type IWhenable<T> = PromiseLike<T> | T. npmjs.com
And 17 more in this version. Sign up to see every change
q 0.9.0 breaking changes
- Removed
apply
Use the listed replacement instead. github.com - Removed
bind
Use the listed replacement instead. github.com - Removed
call
Use the listed replacement instead. github.com - Removed
deferred.node
Use the listed replacement instead. github.com - Removed
end
Use the listed replacement instead. github.com - Removed
isResolved
Use the listed replacement instead. github.com - Removed
Method
Use the listed replacement instead. github.com - Removed
napply
Use the listed replacement instead. github.com - Removed
ncall
Use the listed replacement instead. github.com - Removed
nend
Use the listed replacement instead. github.com
And 10 more in this version. Sign up to see every change
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.