Changelog
1.1.0
Q_DEBUG=1
.tap
method to promises, which will see a value
pass through without alteration.code === ETIMEDOUT
(Kornel Lesiński)^
version predicate
operator in any transitive dependency.Q.nextTick
.Changelog
1.0.1
Q.Promise
, which implements common usage of the
ES6 Promise
constructor and its methods. Promise
does not have
a valid promise constructor and a proper implementation awaits
version 2 of Q.StopIteration
global to distinguish SpiderMonkey
generators from ES6 generators, assuming that they will never
coexist.Changelog
1.0.0
:cake: This is all but a re-release of version 0.9, which has settled into a gentle maintenance mode and rightly deserves an official 1.0. An ambitious 2.0 release is already around the corner, but 0.9/1.0 have been distributed far and wide and demand long term support.
promise.valueOf
. The function is
called by the browser in various ways so there is no way to
distinguish usage that should be migrated from usage that cannot be
altered.Changelog
0.9.7
q.min.js
is no longer checked-in. It is however still
created by Grunt and NPM.Q.async
with implementations of the new
ES6 generators.nextTick
affecting Safari 6.0.5 the first time a
page loads when an iframe
is involved.passByCopy
, join
, and race
.Error
objects.Q.all
now propagates progress notifications of the form you might
expect of ES6 iterations, {value, index}
where the value
is the
progress notification from the promise at index
.Changelog
0.9.6
nextTick
to use an unrolled microtask within Q regardless
of how new ticks a requested. #316 @rkaticChangelog
0.9.5
inspect
for getting the state of a promise as
{state: "fulfilled" | "rejected" | "pending", value | reason}
.allSettled
which produces an array of promises states
for the input promises once they have all "settled". This is in
accordance with a discussion on Promises/A+ that "settled" refers to
a promise that is "fulfilled" or "rejected". "resolved" refers to a
deferred promise that has been "resolved" to another promise,
"sealing its fate" to the fate of the successor promise.Q.longStackSupport
to true to enable long stack traces.spawn
for an immediately invoked asychronous generator.
@jlongstermapply
, mcall
, nmapply
,
nmcall
for method invocation.Changelog
0.9.4
isPromise
and isPromiseAlike
now always returns a boolean
(even for falsy values). #284 @lfac-ptasync
#288 @andywingostopUnhandledRejectionTracking
, getUnhandledReasons
,
resetUnhandledRejections
.