All Versions
70
Latest Version
Avg Release Cycle
150 days
Latest Release
3611 days ago

Changelog History
Page 6

  • v0.2.7 Changes

    • Fixed a minor bug in thenable assimilation, regressed because of the change in the forwarding protocol.
    • Fixed behavior of "q/util" deep method on dates and other primitives. Github issue #11.
  • v0.2.6 Changes

    • Thenables (objects with a "then" method) are accepted and provided, bringing this implementation of Q into conformance with Promises/A, B, and D.
    • Added makePromise, to replace the Promise function eventually.
    • Rejections are now also duck-typed. A rejection is a promise with a valueOf method that returns a rejection descriptor. A rejection descriptor has a "promiseRejected" property equal to "true" and a "reason" property corresponding to the rejection reason.
    • Altered the makePromise API such that the fallback method no longer receives a superfluous resolved method after the operator. The fallback method is responsible only for returning a resolution. This breaks an undocumented API, so third-party API's depending on the previous undocumented behavior may break.
  • v0.2.5 Changes

    • Changed promises into a duck-type such that multiple instances of the Q module can exchange promise objects. A promise is now defined as "an object that implements the promiseSend(op, resolved, ...) method and valueOf".
    • Exceptions in promises are now captured and returned as rejections.
  • v0.2.4 Changes

    • Fixed bug in ref that prevented del messages from being received (gozala)
    • Fixed a conflict with FireFox 4; constructor property is now read-only.
  • v0.2.3 Changes

    • Added keys message to promises and to the promise API.
  • v0.2.2 Changes

    • Added boilerplate to q/queue and q/util.
    • Fixed missing dependency to q/queue.
  • v0.2.1 Changes

    • The resolve and reject methods of defer objects now return the resolution promise for convenience.
    • Added q/util, which provides step, delay, shallow, deep, and three reduction orders.
    • Added q/queue module for a promise Queue.
    • Added q-comm to the list of compatible libraries.
    • Deprecated defined from q, with intent to move it to q/util.
  • v0.2.0 Changes

    • Changed post(ref, name, args) to variadic post(ref, name, ...args). BACKWARD INCOMPATIBLE
    • Added a def(value) method to annotate an object as being necessarily a local value that cannot be serialized, such that inter-process/worker/vat promise communication libraries will send messages to it, but never send it back.
    • Added a send(value, op, ...args) method to the public API, for forwarding messages to a value or promise in a future turn.
  • v0.1.9 Changes

    • Added isRejected() for testing whether a value is a rejected promise. isResolved() retains the behavior of stating that rejected promises are not resolved.
  • v0.1.8 Changes

    • Fixed isResolved(null) and isResolved(undefined) [issue #9]
    • Fixed a problem with the Object.create shim