- improve tamper resistence of Promise.all Promise.race and Promise.prototype.then (note, this isn't complete, but addresses an exception when used \w core-js, follow up work will address entirely)
- remove spec incompatible then chaining fast-path
- add eslint
- update build deps
- fix node detection issues with NWJS/electron
- improve performance of Promise.all when it encounters a non-promise input object input
- then/resolve tamper protection
- reduce AST size of promise constructor, to facilitate more inlining
- Update README.md with details about PhantomJS requirement for running tests
- Mangle and compress the minified version
- no longer include dist/test in npm releases
-
use nextTick() instead of setImmediate() to schedule microtasks with node 0.10. Later versions of nodes are not affected as they were already using nextTick(). Note that using nextTick() might trigger a depreciation warning on 0.10 as described at cujojs/when#410. The reason why nextTick() is preferred is that is setImmediate() would schedule a macrotask instead of a microtask and might result in a different scheduling. If needed you can revert to the former behavior as follow:
var Promise = require('es6-promise').Promise; Promise._setScheduler(setImmediate);
- #121: Ability to override the internal asap implementation
- #120: Use an ascii character for an apostrophe, for source maps
- #116: Expose asap() and a way to override the scheduling mechanism on Promise
- Lock to v0.2.3 of ember-cli
- Fix #100 via #105: tell browserify to ignore vertx require
- Fix #101 via #102: "follow thenable state, not own state"
- ? (see the commit log)
- re-sync with RSVP. Many large performance improvements and bugfixes.
- first subset of RSVP