---
title: "q 2.0.2 Breaking Changes on npm | Since.dev"
description: "What each q release removed, renamed or changed: 72 breaking changes in 5 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/q
last_updated: 2026-12-04
---

# q breaking changes

q 2.0.2 (June 6, 2014) is its newest release with breaking changes, 11 of them. The first: Promise protocol no longer supports set, delete and apply in q 2.0.2. Every breaking API change we have recorded in q on npm: 72 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

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](https://since.dev/calendar/nodejs.md).

- From [1.5.1](#v-1-5-1) to [2.0.2](#v-2-0-2): 24 breaking changes in 2 versions.
- From [0.9.0](#v-0-9-0) to [2.0.2](#v-2-0-2): 52 breaking changes in 4 versions.

## q 2.0.2 breaking changes

q 2.0.2, released June 6, 2014: 11 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](https://github.com/kriskowal/q/blob/v2.0.2/CHANGES.md)
- **Removed**  

The old progress notification system has been removed. Use the new estimated time to completion feature instead. [github.com](https://github.com/kriskowal/q/blob/v2.0.2/CHANGES.md)
- **Removed** `valueOf`  

valueOf has been removed. Use inspect().value instead. [github.com](https://github.com/kriskowal/q/blob/v2.0.2/CHANGES.md)
- **Renamed** `when`  

The when message in the promise protocol is now called then. [github.com](https://github.com/kriskowal/q/blob/v2.0.2/CHANGES.md)
- **Behavior changed**  

Only ES6 generators are supported now. Code relying on SpiderMonkey style generators must be changed. [github.com](https://github.com/kriskowal/q/blob/v2.0.2/CHANGES.md)
- **Behavior changed** `makeNodeResolver`  

makeNodeResolver no longer collects variadic arguments into an array. Pass true to get an array of variadic arguments. [github.com](https://github.com/kriskowal/q/blob/v2.0.2/CHANGES.md)
- **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](https://github.com/kriskowal/q/blob/v2.0.2/CHANGES.md)
- **Behavior changed** `Q.allSettled`  

Q.allSettled no longer accepts a promise. Use Q(promise).allSettled() instead. [github.com](https://github.com/kriskowal/q/blob/v2.0.2/CHANGES.md)
- **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](https://github.com/kriskowal/q/blob/v2.0.2/CHANGES.md)
- **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](https://github.com/kriskowal/q/blob/v2.0.2/CHANGES.md)
- **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](https://github.com/kriskowal/q/blob/v2.0.2/CHANGES.md)

## q 2.0.0 breaking changes

q 2.0.0, released March 20, 2014: 13 breaking changes.

- **Removed**  

Only ES6 generators are supported; code relying on SpiderMonkey generators must be converted. [github.com](https://github.com/kriskowal/q/blob/v2.0.0/CHANGES.md)
- **Removed**  

Code that relies on these promise protocol operations must be changed. [github.com](https://github.com/kriskowal/q/blob/v2.0.0/CHANGES.md)
- **Removed**  

Only promise.nodeify, Q.denodeify and Q.ninvoke remain for Node.js bridging. [github.com](https://github.com/kriskowal/q/blob/v2.0.0/CHANGES.md)
- **Removed** `deferred.notify`  

Progress notifications no longer send anything; use the estimated time to completion feature instead. [github.com](https://github.com/kriskowal/q/blob/v2.0.0/CHANGES.md)
- **Removed** `valueOf`  

Use inspect().value instead. [github.com](https://github.com/kriskowal/q/blob/v2.0.0/CHANGES.md)
- **Renamed** `when`  

Promise protocol handlers must use the then message name; Q-Connection v0.5 is not compatible. [github.com](https://github.com/kriskowal/q/blob/v2.0.0/CHANGES.md)
- **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](https://github.com/kriskowal/q/blob/v2.0.0/CHANGES.md)
- **Behavior changed** `Q.all`  

The result is a new array, so code relying on mutation of the input array must change. [github.com](https://github.com/kriskowal/q/blob/v2.0.0/CHANGES.md)
- **Behavior changed** `Q.allSettled`  

Wrap the promise with Q(promise) and call .allSettled() instead. [github.com](https://github.com/kriskowal/q/blob/v2.0.0/CHANGES.md)
- **Behavior changed** `Q.try`  

To call a function with arguments, use Q(function).call(thisp, ...args) or apply. [github.com](https://github.com/kriskowal/q/blob/v2.0.0/CHANGES.md)

And 3 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## q 1.5.1 breaking changes

q 1.5.1, released October 19, 2017: 1 breaking change.

- **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](https://github.com/kriskowal/q/blob/v1.5.1/CHANGES.md)

## q 1.0.0 breaking changes

q 1.0.0, released August 11, 2017: 27 breaking changes.

- **Removed** `Promise.all`  

Promise().all() was removed in q 1.0.0 [npmjs.com](https://www.npmjs.com/package/q/v/1.0.0)
- **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](https://github.com/kriskowal/q/blob/v1.0.0/CHANGES.md)
- **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](https://www.npmjs.com/package/q/v/1.0.0)
- **Signature changed** `Deferred.reject`  

Was reject(reason: any): void; now reject(reason?: any): void. [npmjs.com](https://www.npmjs.com/package/q/v/1.0.0)
- **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](https://www.npmjs.com/package/q/v/1.0.0)
- **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](https://www.npmjs.com/package/q/v/1.0.0)
- **Signature changed** `IPromise`  

Was interface IPromise\<T>; now type IPromise\<T> = PromiseLike\<T>. [npmjs.com](https://www.npmjs.com/package/q/v/1.0.0)
- **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](https://www.npmjs.com/package/q/v/1.0.0)
- **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](https://www.npmjs.com/package/q/v/1.0.0)
- **Signature changed** `IWhenable`  

Was type IWhenable\<T> = IPromise\<T> | T; now type IWhenable\<T> = PromiseLike\<T> | T. [npmjs.com](https://www.npmjs.com/package/q/v/1.0.0)

And 17 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## q 0.9.0 breaking changes

q 0.9.0, released February 28, 2013: 20 breaking changes.

- **Removed** `apply`  

Use the listed replacement instead. [github.com](https://github.com/kriskowal/q/blob/v0.9.0/CHANGES.md)
- **Removed** `bind`  

Use the listed replacement instead. [github.com](https://github.com/kriskowal/q/blob/v0.9.0/CHANGES.md)
- **Removed** `call`  

Use the listed replacement instead. [github.com](https://github.com/kriskowal/q/blob/v0.9.0/CHANGES.md)
- **Removed** `deferred.node`  

Use the listed replacement instead. [github.com](https://github.com/kriskowal/q/blob/v0.9.0/CHANGES.md)
- **Removed** `end`  

Use the listed replacement instead. [github.com](https://github.com/kriskowal/q/blob/v0.9.0/CHANGES.md)
- **Removed** `isResolved`  

Use the listed replacement instead. [github.com](https://github.com/kriskowal/q/blob/v0.9.0/CHANGES.md)
- **Removed** `Method`  

Use the listed replacement instead. [github.com](https://github.com/kriskowal/q/blob/v0.9.0/CHANGES.md)
- **Removed** `napply`  

Use the listed replacement instead. [github.com](https://github.com/kriskowal/q/blob/v0.9.0/CHANGES.md)
- **Removed** `ncall`  

Use the listed replacement instead. [github.com](https://github.com/kriskowal/q/blob/v0.9.0/CHANGES.md)
- **Removed** `nend`  

Use the listed replacement instead. [github.com](https://github.com/kriskowal/q/blob/v0.9.0/CHANGES.md)

And 10 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
