Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 451 lines (355 sloc) 16.07 kb
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
1 <!-- vim:ts=4:sts=4:sw=4:et:tw=60 -->
a3c08b1 @kriskowal Fixed asap's non-promise behavior.
authored
2
a0ea955 @kriskowal Change Method to sender
authored
3 ## Next major
4
5 - WARNING: The undocumented ``Method`` export will be
6 removed. Use ``sender(op)``.
5b8698f @domenic Adding `nbind` and `napply` to the change log.
domenic authored
7 - WARNING: The deprecated ``node`` export will be removed.
8 Use ``nbind``.
2fb9fa4 @kriskowal Replace deferred.node with makeNodeResolver
authored
9 - WARNING: The deprecated ``deferred.node()`` interface will be
10 removed. Use ``deferred.makeNodeResolver()``.
6fb67e6 @kriskowal Add fapply, fcall, fbind
authored
11 - WARNING: The deprecated ``call``, ``apply``, and ``bind`` are
12 replaced with ``fcall``, ``fapply``, and ``fbind``. Use of a
13 ``thisp`` is discouraged. For calling methods, use ``post`` or
14 ``invoke``.
29e6a61 @kriskowal Note that view and apply will be removed
authored
15 - WARNING: The undocumented ``view`` and ``viewInfo`` will be removed.
6fb67e6 @kriskowal Add fapply, fcall, fbind
authored
16
7d86d9f @kriskowal Add nend
authored
17 ## 0.8.9
18
19 - Add `nend`
20
f3d2056 @kriskowal Version 0.8.7
authored
21 ## 0.8.7
22
23 - Support [Montage Require](http://github.com/kriskowal/mr)
24
ed43b7c @kriskowal Version 0.8.6
authored
25 ## 0.8.6
eb6c03d @domenic Update changelog.
domenic authored
26
27 - Fixed ``npost`` and ``ninvoke`` to pass the correct ``thisp``. #74
28 - Fixed various cases involving unorthodox rejection reasons. #73 #90
29 @ef4
30 - Fixed double-resolving of misbehaved custom promises. #75
9f19bfc @domenic Update changelog.
domenic authored
31 - Sped up ``Q.all`` for arrays contain already-resolved promises or scalar
32 values. @ForbesLindesay
33 - Made stack trace filtering work when concatenating assets. #93 @ef4
eb6c03d @domenic Update changelog.
domenic authored
34 - Added warnings for deprecated methods. @ForbesLindesay
35 - Added ``.npmignore`` file so that dependent packages get a slimmer
36 ``node_modules`` directory.
37
bd4ba02 @kriskowal Version 0.8.5
authored
38 ## 0.8.5
6fb67e6 @kriskowal Add fapply, fcall, fbind
authored
39
3ff7b52 @kriskowal Credit @domenic for long stack traces
authored
40 - Added preliminary support for long traces (@domenic)
bd4ba02 @kriskowal Version 0.8.5
authored
41 - Added ``fapply``, ``fcall``, ``fbind`` for non-thisp
42 promised function calls.
43 - Added ``return`` for async generators, where generators
44 are implemented.
37cced8 @kriskowal Add "exception" property to rejected promises
authored
45 - Rejected promises now have an "exception" property. If an object
46 isRejected(object), then object.valueOf().exception will
bd4ba02 @kriskowal Version 0.8.5
authored
47 be the wrapped error.
48 - Added Jasmine specifications
49 - Support Internet Explorers 7–9 (with multiple bug fixes @domenic)
50 - Support Firefox 12
51 - Support Safari 5.1.5
52 - Support Chrome 18
a0ea955 @kriskowal Change Method to sender
authored
53
b6a35e2 @kriskowal Version 0.8.4
authored
54 ## 0.8.4
663febc @kriskowal Clarify that rejection reasons must be exceptions
authored
55
56 - WARNING: ``promise.timeout`` is now rejected with an ``Error`` object
57 and the message now includes the duration of the timeout in
58 miliseconds. This doesn't constitute (in my opinion) a
59 backward-incompatibility since it is a change of an undocumented and
60 unspecified public behavior, but if you happened to depend on the
61 exception being a string, you will need to revise your code.
2fb9fa4 @kriskowal Replace deferred.node with makeNodeResolver
authored
62 - Added ``deferred.makeNodeResolver()`` to replace the more cryptic
63 ``deferred.node()`` method.
c251240 @kriskowal Add Q.promise utility
authored
64 - Added experimental ``Q.promise(maker(resolve, reject))`` to make a
65 promise inside a callback, such that thrown exceptions in the
66 callback are converted and the resolver and rejecter are arguments.
67 This is a shorthand for making a deferred directly and inspired by
68 @gozala’s stream constructor pattern and the Microsoft Windows Metro
69 Promise constructor interface.
ff3d2f9 @kriskowal Add experimental Q.begin utility
authored
70 - Added experimental ``Q.begin()`` that is intended to kick off chains
71 of ``.then`` so that each of these can be reordered without having to
72 edit the new and former first step.
663febc @kriskowal Clarify that rejection reasons must be exceptions
authored
73
38452ab @kriskowal Version 0.8.3
authored
74 ## 0.8.3
b831ab7 @kriskowal Add promise.isFulfilled, isRejected, isResolved
authored
75
76 - Added ``isFulfilled``, ``isRejected``, and ``isResolved``
77 to the promise prototype.
cf20e5e @kriskowal Add allResolved
authored
78 - Added ``allResolved`` for waiting for every promise to either be
a224a74 @kriskowal Credited @utvara; Fixed #53
authored
79 fulfilled or rejected, without propagating an error. @utvara #53
5cdb82f @domenic Adding `Q.bind` to change log.
domenic authored
80 - Added ``Q.bind`` as a method to transform functions that
81 return and throw into promise-returning functions. See
82 [an example](https://gist.github.com/1782808). @domenic
5b8698f @domenic Adding `nbind` and `napply` to the change log.
domenic authored
83 - Renamed ``node`` export to ``nbind``, and added ``napply`` to
84 complete the set. ``node`` remains as deprecated. @domenic #58
a0ea955 @kriskowal Change Method to sender
authored
85 - Renamed ``Method`` export to ``sender``. ``Method``
86 remains as deprecated and will be removed in the next
87 major version since I expect it has very little usage.
1b4f40b @kriskowal Add live list of unhandled errors
authored
88 - Added browser console message indicating a live list of
89 unhandled errors.
027c1bb @domenic Use `setImmediate` or `msSetImmediate` if available.
domenic authored
90 - Added support for ``msSetImmediate`` (IE10) or ``setImmediate``
91 (available via [polyfill](https://github.com/NobleJS/setImmediate))
92 as a browser-side ``nextTick`` implementation. #44 #50 #59
93 - Stopped using the event-queue dependency, which was in place for
94 Narwhal support: now directly using ``process.nextTick``.
41c4ade @kriskowal Experimental support for keyword function names
authored
95 - WARNING: EXPERIMENTAL: added ``finally`` alias for ``fin``, ``catch``
96 alias for ``fail``, ``try`` alias for ``call``, and ``delete`` alias
97 for ``del``. These properties are enquoted in the library for
98 cross-browser compatibility, but may be used as property names in
99 modern engines.
b831ab7 @kriskowal Add promise.isFulfilled, isRejected, isResolved
authored
100
65687f3 @kriskowal Version 0.8.2
authored
101 ## 0.8.2
5ec5b0a @kriskowal Renamed ref to resolve and deprecated ref
authored
102
103 - Deprecated ``ref`` in favor of ``resolve`` as recommended by
5cdb82f @domenic Adding `Q.bind` to change log.
domenic authored
104 @domenic.
8bda736 @kriskowal Update event-queue dependency
authored
105 - Update event-queue dependency.
5ec5b0a @kriskowal Renamed ref to resolve and deprecated ref
authored
106
7ae64e5 @kriskowal Version 0.8.1
authored
107 ## 0.8.1
7171112 @kriskowal Fixed Opera bug #35 @cadorn
authored
108
5cdb82f @domenic Adding `Q.bind` to change log.
domenic authored
109 - Fixed Opera bug. #35 @cadorn
110 - Fixed ``Q.all([])`` #32 @domenic
7171112 @kriskowal Fixed Opera bug #35 @cadorn
authored
111
cd9ca22 @kriskowal Version 0.8.0
authored
112 ## 0.8.0
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
113
ca4cfb1 @kriskowal Removed enqueue, def, spy in preparation for backward-incompatible relea...
authored
114 - WARNING: ``enqueue`` removed. Use ``nextTick`` instead.
6f45461 @kriskowal v0.7.0 - backward incompatible.
authored
115 This is more consistent with NodeJS and (subjectively)
116 more explicit and intuitive.
ca4cfb1 @kriskowal Removed enqueue, def, spy in preparation for backward-incompatible relea...
authored
117 - WARNING: ``def`` removed. Use ``master`` instead. The
118 term ``def`` was too confusing to new users.
119 - WARNING: ``spy`` removed in favor of ``fin``.
cd9ca22 @kriskowal Version 0.8.0
authored
120 - WARNING: ``wait`` removed. Do ``all(args).get(0)`` instead.
5cdb82f @domenic Adding `Q.bind` to change log.
domenic authored
121 - WARNING: ``join`` removed. Do ``all(args).spread(callback)`` instead.
ca4cfb1 @kriskowal Removed enqueue, def, spy in preparation for backward-incompatible relea...
authored
122 - WARNING: Removed the ``Q`` function module.exports alias
123 for ``Q.ref``. It conflicts with ``Q.apply`` in weird
124 ways, making it uncallable.
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
125 - Revised ``delay`` so that it accepts both ``(value,
126 timeout)`` and ``(timeout)`` variations based on
127 arguments length.
128 - Added ``ref().spread(cb(...args))``, a variant of
129 ``then`` that spreads an array across multiple arguments.
130 Useful with ``all()``.
131 - Added ``defer().node()`` Node callback generator. The
132 callback accepts ``(error, value)`` or ``(error,
133 ...values)``. For multiple value arguments, the
134 fulfillment value is an array, useful in conjunction with
135 ``spread``.
136 - Added ``node`` and ``ncall``, both with the signature
137 ``(fun, thisp_opt, ...args)``. The former is a decorator
138 and the latter calls immediately. ``node`` optional
139 binds and partially applies. ``ncall`` can bind and pass
140 arguments.
141
142 ## 0.7.2
5adc525 @kriskowal Fixed thenable assimilation.
authored
143
144 - Fixed thenable promise assimilation.
145
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
146 ## 0.7.1
9652b42 @kriskowal v0.7.1
authored
147
63363b9 @kriskowal Cleaned up the shimes, stopped shimming Array reduce, since that adds an...
authored
148 - Stopped shimming ``Array.prototype.reduce``. The
149 enumerable property has bad side-effects. Libraries that
150 depend on this (for example, QQ) will need to be revised.
6f45461 @kriskowal v0.7.0 - backward incompatible.
authored
151
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
152 ## 0.7.0 - BACKWARD INCOMPATIBILITY
6f45461 @kriskowal v0.7.0 - backward incompatible.
authored
153
154 - WARNING: Removed ``report`` and ``asap``
155 - WARNING: The ``callback`` argument of the ``fin``
156 function no longer receives any arguments. Thus, it can
157 be used to call functions that should not receive
158 arguments on resolution. Use ``when``, ``then``, or
159 ``fail`` if you need a value.
160 - IMPORTANT: Fixed a bug in the use of ``MessageChannel``
161 for ``nextTick``.
162 - Renamed ``enqueue`` to ``nextTick``.
393a9f1 @kriskowal Added views experiment.
authored
163 - Added experimental ``view`` and ``viewInfo`` for creating
164 views of promises either when or before they're
165 fulfilled.
6f45461 @kriskowal v0.7.0 - backward incompatible.
authored
166 - Shims are now externally applied so subsequent scripts or
167 dependees can use them.
168 - Improved minification results.
169 - Improved readability.
393a9f1 @kriskowal Added views experiment.
authored
170
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
171 ## 0.6.0 - BACKWARD INCOMPATIBILITY
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
172
e642bca @kriskowal v0.6.0
authored
173 - WARNING: In practice, the implementation of ``spy`` and
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
174 the name ``fin`` were useful. I've removed the old
69aae5b @kriskowal Updated change log with all and ref as exports.
authored
175 ``fin`` implementation and renamed/aliased ``spy``.
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
176 - The "q" module now exports its ``ref`` function as a "Q"
69aae5b @kriskowal Updated change log with all and ref as exports.
authored
177 constructor, with module systems that support exports
178 assignment including NodeJS, RequireJS, and when used as
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
179 a ``<script>`` tag. Notably, strictly compliant CommonJS
180 does not support this, but UncommonJS does.
828a945 @kriskowal Noted Q.async in CHANGES
authored
181 - Added ``async`` decorator for generators that use yield
182 to "trampoline" promises. In engines that support
183 generators (SpiderMonkey), this will greatly reduce the
184 need for nested callbacks.
6d66ade @kriskowal Made when chainable.
authored
185 - Made ``when`` chainable.
69aae5b @kriskowal Updated change log with all and ref as exports.
authored
186 - Made ``all`` chainable.
828a945 @kriskowal Noted Q.async in CHANGES
authored
187
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
188 ## 0.5.3
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
189
69aae5b @kriskowal Updated change log with all and ref as exports.
authored
190 - Added ``all`` and refactored ``join`` and ``wait`` to use
191 it. All of these will now reject at the earliest
192 rejection.
aa00a92 @kriskowal Added Mark Miller's implementation of all (allFulfilled) and consolidate...
authored
193
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
194 ## 0.5.2
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
195
1ef1c3e @kriskowal spy now waits for callback to resolve.
authored
196 - Minor improvement to ``spy``; now waits for resolution of
197 callback promise.
198
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
199 ## 0.5.1
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
200
e8a4362 @kriskowal Improved chaining.
authored
201 - Made most Q API methods chainable on promise objects, and
202 turned the previous promise-methods of ``join``,
203 ``wait``, and ``report`` into Q API methods.
204 - Added ``apply`` and ``call`` to the Q API, and ``apply``
205 as a promise handler.
98cab99 @kriskowal Renamed Q.def to Q.master. Added Q.fail,fin,spy. Added MessageChannel ne...
authored
206 - Added ``fail``, ``fin``, and ``spy`` to Q and the promise
207 prototype for convenience when observing rejection,
208 fulfillment and rejection, or just observing without
209 affecting the resolution.
210 - Renamed ``def`` (although ``def`` remains shimmed until
211 the next major release) to ``master``.
212 - Switched to using ``MessageChannel`` for next tick task
213 enqueue in browsers that support it.
e8a4362 @kriskowal Improved chaining.
authored
214
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
215 ## 0.5.0 - MINOR BACKWARD INCOMPATIBILITY
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
216
1e2a118 @kriskowal v0.5.0
authored
217 - Exceptions are no longer reported when consumed.
218 - Removed ``error`` from the API. Since exceptions are
219 getting consumed, throwing them in an errback causes the
220 exception to silently disappear. Use ``end``.
221 - Added ``end`` as both an API method and a promise-chain
222 ending method. It causes propagated rejections to be
223 thrown, which allows Node to write stack traces and
224 emit ``uncaughtException`` events, and browsers to
225 likewise emit ``onerror`` and log to the console.
226 - Added ``join`` and ``wait`` as promise chain functions,
227 so you can wait for variadic promises, returning your own
228 promise back, or join variadic promises, resolving with a
229 callback that receives variadic fulfillment values.
230
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
231 ## 0.4.4
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
232
c480204 @kriskowal Altered caught exception reporting; now must be explicit. Provided bette...
authored
233 - ``end`` no longer returns a promise. It is the end of the
234 promise chain.
235 - Stopped reporting thrown exceptions in ``when`` callbacks
236 and errbacks. These must be explicitly reported through
237 ``.end()``, ``.then(null, Q.error)``, or some other
238 mechanism.
239 - Added ``report`` as an API method, which can be used as
240 an errback to report and propagate an error.
241 - Added ``report`` as a promise-chain method, so an error
242 can be reported if it passes such a gate.
243
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
244 ## 0.4.3
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
245
246 - Fixed ``<script>`` support that regressed with 0.4.2
247 because of "use strict" in the module system
248 multi-plexer.
a6e9060 @kriskowal Fixed <script> loading.
authored
249
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
250 ## 0.4.2
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
251
e174fa5 @kriskowal v0.4.2 announces support for RequireJS.
authored
252 - Added support for RequireJS (jburke)
253
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
254 ## 0.4.1
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
255
6daa369 Added an .end() method for promise chains that should display errors if ...
Kristopher Kowal authored
256 - Added an "end" method to the promise prototype,
257 as a shorthand for waiting for the promise to
258 be resolved gracefully, and failing to do so,
259 to dump an error message.
260
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
261 ## 0.4.0 - BACKWARD INCOMPATIBLE*
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
262
96e4769 Reworked for NPM and browsers. Backward incompatible 0.4.0 release.
Kristopher Kowal authored
263 - *Removed the utility modules. NPM and Node no longer
264 expose any module except the main module. These have
265 been moved and merged into the "qq" package.
266 - *In a non-CommonJS browser, q.js can be used as a script.
267 It now creates a Q global variable.
b1d5f4e Noted that a previous commit fixed thenables in the change log.
Kristopher Kowal authored
268 - Fixed thenable assimilation.
d2719bf Fixed asap for undefined and exceptions.
Kristopher Kowal authored
269 - Fixed some issues with asap, when it resolves to
270 undefined, or throws an exception.
271
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
272 ## 0.3.0 - BACKWARD-INCOMPATIBLE
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
273
7eb729b @kriskowal Applied planned backward-incompatible changes to `defined`, `isResolved`...
authored
274 - The `post` method has been reverted to its original
275 signature, as provided in Tyler Close's `ref_send` API.
276 That is, `post` accepts two arguments, the second of
277 which is an arbitrary object, but usually invocation
278 arguments as an `Array`. To provide variadic arguments
279 to `post`, there is a new `invoke` function that posts
280 the variadic arguments to the value given in the first
281 argument.
282 - The `defined` method has been moved from `q` to `q/util`
283 since it gets no use in practice but is still
284 theoretically useful.
285 - The `Promise` constructor has been renamed to
286 `makePromise` to be consistent with the convention that
287 functions that do not require the `new` keyword to be
288 used as constructors have camelCase names.
289 - The `isResolved` function has been renamed to
290 `isFulfilled`. There is a new `isResolved` function that
291 indicates whether a value is not a promise or, if it is a
292 promise, whether it has been either fulfilled or
293 rejected. The code has been revised to reflect this
294 nuance in terminology.
f577193 @kriskowal Exceptions caught during resolution of a promise are now emitted as unca...
authored
295
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
296 ## 0.2.10
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
297
915f323 @kriskowal Added `join` to `"q/util"`
authored
298 - Added `join` to `"q/util"` for variadically joining
299 multiple promises.
300
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
301 ## 0.2.9
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
302
fbaa7cb @kriskowal v0.2.9
authored
303 - The future-compatible `invoke` method has been added,
304 to replace `post`, since `post` will become backward-
305 incompatible in the next major release.
f577193 @kriskowal Exceptions caught during resolution of a promise are now emitted as unca...
authored
306 - Exceptions thrown in the callbacks of a `when` call are
307 now emitted to Node's `"uncaughtException"` `process`
308 event in addition to being returned as a rejection reason.
0592935 @kriskowal Added q/util and q/queue, with step documentation.
authored
309
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
310 ## 0.2.8
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
311
b0ebd9a @kriskowal Exceptions in when callbacks are transformed into rejections.
authored
312 - Exceptions thrown in the callbacks of a `when` call
313 are now consumed, warned, and transformed into
314 rejections of the promise returned by `when`.
315
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
316 ## 0.2.7
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
317
9c4f14a @kriskowal Fixed a bug in thenable assimilation due to the change in the forwarding...
authored
318 - Fixed a minor bug in thenable assimilation, regressed
319 because of the change in the forwarding protocol.
320 - Fixed behavior of "q/util" `deep` method on dates and
321 other primitives. Github issue #11.
322
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
323 ## 0.2.6
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
324
26d3d3b @kriskowal Thenables are both accepted and returned.
authored
325 - Thenables (objects with a "then" method) are accepted
326 and provided, bringing this implementation of Q
327 into conformance with Promises/A, B, and D.
f5ca7a1 @kriskowal Replaced Promise with makePromise.
authored
328 - Added `makePromise`, to replace the `Promise` function
329 eventually.
8cf40aa @kriskowal Duck-type rejections
authored
330 - Rejections are now also duck-typed. A rejection is a
331 promise with a valueOf method that returns a rejection
332 descriptor. A rejection descriptor has a
f5ca7a1 @kriskowal Replaced Promise with makePromise.
authored
333 "promiseRejected" property equal to "true" and a
8cf40aa @kriskowal Duck-type rejections
authored
334 "reason" property corresponding to the rejection reason.
2dbe632 @kriskowal Removed superfluous resolver argument from the makePromise fallback API.
authored
335 - Altered the `makePromise` API such that the `fallback`
336 method no longer receives a superfluous `resolved` method
337 after the `operator`. The fallback method is responsible
338 only for returning a resolution. This breaks an
339 undocumented API, so third-party API's depending on the
340 previous undocumented behavior may break.
8cf40aa @kriskowal Duck-type rejections
authored
341
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
342 ## 0.2.5
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
343
172f17d @kriskowal Corrected change log regarding when duck-typing will be released.
authored
344 - Changed promises into a duck-type such that multiple
345 instances of the Q module can exchange promise objects.
346 A promise is now defined as "an object that implements the
347 `promiseSend(op, resolved, ...)` method and `valueOf`".
c721f74 @kriskowal Updated change log to reflect major behavior change with exceptions.
authored
348 - Exceptions in promises are now captured and returned
349 as rejections.
616d4e8 @kriskowal merged master into integration
authored
350
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
351 ## 0.2.4
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
352
f10c1f9 @kriskowal Updated change log
authored
353 - Fixed bug in `ref` that prevented `del` messages from
354 being received (gozala)
355 - Fixed a conflict with FireFox 4; constructor property
356 is now read-only.
357
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
358 ## 0.2.3
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
359
7ecde6f @kriskowal Added keys method to promises and promise API.
authored
360 - Added `keys` message to promises and to the promise API.
361
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
362 ## 0.2.2
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
363
e7da8aa @kriskowal Updated changelog to reflect updates to q/queue and q/util.
authored
364 - Added boilerplate to `q/queue` and `q/util`.
365 - Fixed missing dependency to `q/queue`.
424e0f8 @kriskowal Changed promises into a duck-type.
authored
366
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
367 ## 0.2.1
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
368
0592935 @kriskowal Added q/util and q/queue, with step documentation.
authored
369 - The `resolve` and `reject` methods of `defer` objects now
370 return the resolution promise for convenience.
371 - Added `q/util`, which provides `step`, `delay`, `shallow`,
372 `deep`, and three reduction orders.
373 - Added `q/queue` module for a promise `Queue`.
374 - Added `q-comm` to the list of compatible libraries.
375 - Deprecated `defined` from `q`, with intent to move it to
376 `q/util`.
377
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
378 ## 0.2.0 - BACKWARD INCOMPATIBLE
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
379
b73b134 @kriskowal Introduced variadic post.
authored
380 - Changed post(ref, name, args) to variadic
a87ad6f @kriskowal Added def, variadic send.
authored
381 post(ref, name, ...args). BACKWARD INCOMPATIBLE
382 - Added a def(value) method to annotate an object as being
383 necessarily a local value that cannot be serialized, such
384 that inter-process/worker/vat promise communication
385 libraries will send messages to it, but never send it
386 back.
387 - Added a send(value, op, ...args) method to the public API, for
fdddfc9 @kriskowal Added a send method to the public API, presently undocumented.
authored
388 forwarding messages to a value or promise in a future turn.
b73b134 @kriskowal Introduced variadic post.
authored
389
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
390 ## 0.1.9
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
391
bae8418 @kriskowal Added isRejected API
authored
392 - Added isRejected() for testing whether a value is a rejected
393 promise. isResolved() retains the behavior of stating
394 that rejected promises are not resolved.
395
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
396 ## 0.1.8
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
397
e045fb5 @kriskowal #9 - fixed isResolved(null) / isResolved(undefined)
authored
398 - Fixed isResolved(null) and isResolved(undefined) [issue #9]
3bfabd3 @kriskowal Fixed a problem with the Object.create shim.
authored
399 - Fixed a problem with the Object.create shim
e045fb5 @kriskowal #9 - fixed isResolved(null) / isResolved(undefined)
authored
400
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
401 ## 0.1.7
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
402
140adcc @kriskowal Shimmed ES5 Object.create for progressive enhancement.
authored
403 - shimmed ES5 Object.create in addition to Object.freeze
404 for compatibility on non-ES5 engines (gozala)
405
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
406 ## 0.1.6
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
407
c7bdbc3 @kriskowal Added isResolved; fixed valueOf, asap; froze promises where possible
authored
408 - Q.isResolved added
409 - promise.valueOf() now returns the value of resolved
410 and near values
411 - asap retried
412 - promises are frozen when possible
413
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
414 ## 0.1.5
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
415
3874922 @kriskowal v0.1.5
authored
416 - fixed dependency list for Teleport (gozala)
417 - all unit tests now pass (gozala)
418
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
419 ## 0.1.4
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
420
902919d @kriskowal Added Teleport support.
authored
421 - added support for Teleport as an engine (gozala)
422 - simplified and updated methods for getting internal
423 print and enqueue functions universally (gozala)
424
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
425 ## 0.1.3
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
426
2cb5ef9 @kriskowal Fixed erroneous link to main module
authored
427 - fixed erroneous link to the q module in package.json
428
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
429 ## 0.1.2
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
430
5b933d2 @kriskowal Restructured for overlay style compatibility.
authored
431 - restructured for overlay style package compatibility
432
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
433 ## 0.1.0
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
434
559e68d @kriskowal v0.1.0 - removed asap.
authored
435 - removed asap because it was broken, probably down to the
436 philosophy.
437
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
438 ## 0.0.3
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
439
a3c08b1 @kriskowal Fixed asap's non-promise behavior.
authored
440 - removed q-util
441 - fixed asap so it returns a value if completed
442
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
443 ## 0.0.2
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
444
a3c08b1 @kriskowal Fixed asap's non-promise behavior.
authored
445 - added q-util
446
6d37208 @kriskowal Added tests for node/wrap/spread. Fixed problem with ref.apply uncallabi...
authored
447 ## 0.0.1
136f9e6 @kriskowal Switched CHANGES to Markdown format.
authored
448
a3c08b1 @kriskowal Fixed asap's non-promise behavior.
authored
449 - initial version
450
Something went wrong with that request. Please try again.