All Versions
79
Latest Version
Avg Release Cycle
89 days
Latest Release
2594 days ago
Changelog History
Page 8
Changelog History
Page 8
-
v1.0.0 Changes
- 🚀 First official when.js release as a part of cujojs.
- ➕ Added when/cancelable decorator for creating cancelable deferreds
- ➕ Added when/delay and when/timeout helpers for creating delayed promises and promises that timeout and reject if not resolved first.
-
v0.11.1 Changes
- ➕ Added when/apply helper module for using arguments-based and variadic callbacks with
when.all
,when.some
,when.map
, or any promise that resolves to an array. (#14) .then()
,when()
, and all other methods that accept callback/errback/progress handlers will throw if you pass something that's not a function. (#15)
- ➕ Added when/apply helper module for using arguments-based and variadic callbacks with
-
v0.11.0 Changes
when.js
now assimilates thenables that pass the Promises/A duck-type test, but which may not be fully Promises/A compliant, such as jQuery's Deferred and curl's global API (See the API at a glance section)when()
, andwhen.all/some/any/map/reduce/chain()
are all now guaranteed to return a fully Promises/A compliant promise, even when their input is not compliant.- Any non-compliant thenable returned by a callback or errback will also be assimilated to protect subsequent promises and callbacks in a promise chain, and preserve Promises/A forwarding guarantees.
-
v0.10.4 Changes
- ⚡️ Important Fix for some AMD build/optimizer tools: Switching back to more verbose, builder-friendly boilerplate
- If you are using when.js 0.10.3 with the dojo or RequireJS build tools, you should update to v.10.4 as soon as possible.
- ⚡️ Important Fix for some AMD build/optimizer tools: Switching back to more verbose, builder-friendly boilerplate
-
v0.10.3 Changes
⚠ Warning: This version will not work with most AMD build tools. You should update to 0.10.4 as soon as possible.
- ⚡️ Minor
package.json
updates - Slightly smaller module boilerplate
- ⚡️ Minor
-
v0.10.1 Changes
- Minor tweaks (thanks @johan)
- Add missing semis that WebStorm didn't catch
- Fix DOH submodule ref, and update README with info for running unit tests
- Minor tweaks (thanks @johan)
-
v0.10.0 Changes
when.map
andwhen.reduce
- just like Array.map and Array.reduce, but they operate on promises and arrays of promises- 🐎 Lots of internal size and performance optimizations
- Still only 1k!
-
v0.9.4 Changes
- Important fix for break in promise chains