Skip to content

Releases: taylorhakes/promise-polyfill

IE and require fixes

25 Jan 03:51
Compare
Choose a tag to compare
7.0.1

Updated changelog

ES6 Modules

23 Dec 05:20
Compare
Choose a tag to compare
  • Updated code to ES6 module definitions (thanks Andarist)
  • Added polyfill.js file
  • move compiled files to dist folder

IE8 Minify Fixes

01 Sep 12:07
Compare
Choose a tag to compare

Thanks to @shortstories for finding the bug #34

IE11 setImmediate fix

25 Jul 11:52
Compare
Choose a tag to compare

Fixed a bug where setImmediate failed on IE11

#31

Subclassing and Deprecations

20 Jul 12:12
Compare
Choose a tag to compare

This allows subclassing Promise without rewriting functions

  • Promise._setImmediateFn(<immediateFn>) has been deprecated. Use Promise._immediateFn = <immediateFn>; instead.
  • Promise._setUnhandledRejectionFn(<rejectionFn>) has been deprecated. Use Promise._unhandledRejectionFn = <rejectionFn> instead.
    These functions will be removed in the next major version.

setTimeout to 0

17 May 02:01
Compare
Choose a tag to compare

Fixed bug where setTimeout was set to 1 instead of 0 for async execution

Subclassing

16 May 04:23
Compare
Choose a tag to compare

Allowed Subclassing. #27

Fixed reliance on setTimeout

08 May 12:39
Compare
Choose a tag to compare

Changed possibly unhanded warnings to use asap function instead of setTimeout

Removed multiple params from Promise.all

28 Apr 04:08
Compare
Choose a tag to compare

Removed non standard functionality of passing multiple params to Promise.all. You must pass an array now. You must change this code

Promise.all(prom1, prom2, prom3);

to this

Promise.all([prom1, prom2, prom3]);

IE8 console.warn fix

23 Apr 12:17
Compare
Choose a tag to compare

IE8 does not have console, unless you open the developer tools. This fix checks to makes sure console.warn is defined before calling it.