Skip to content

Releases: taylorhakes/promise-polyfill

8.2.2

12 Mar 06:59
Compare
Choose a tag to compare

This is the same code as 8.2.0. A bugfix was introduced in 8.2.1 to fix testing issues, but it caused IE11 to fail

8.2.0

03 Nov 04:26
53729a3
Compare
Choose a tag to compare

Added Promise.allSettled

Fixed publishing of dist folder

16 Jun 21:51
Compare
Choose a tag to compare
8.1.3

Fixed dist files

Fix bug in isArray and Promise.all([])

15 Jun 04:26
Compare
Choose a tag to compare

Promise.all([]) failed due to bug in isArray

Promise.race bug fix

14 Jun 06:46
Compare
Choose a tag to compare

Fixes issue in Promise.race where passing non promises would error. For instance

Promise.race([1,2,3])

Closure compiler/typescript support

11 Aug 16:24
f6d61c5
Compare
Choose a tag to compare

Added Closure compiler and typescript doc definitions.
Big thanks to @TimvdLippe

8.0.0

01 Aug 05:19
487e452
Compare
Choose a tag to compare
  • Polyfill default promise with finally if it doesn't exist if you use polyfill.js
  • If using require with webpack 2+, you now need to do
var Promise = require('promise-polyfill').default;

instead of

var Promise = require('promise-polyfill');
  • Removed files /dist/promise.js and /dist/promise.min.js. These files were not used unless you downloaded them directly from the repo. They were not used by ES6 modules, CommonJS or polyfill.js
    The file lead to issues because they overrode the global Promise by default.

Fixed `global` issue in Node JS

05 Apr 13:41
Compare
Choose a tag to compare

Fixed an error in Node JS causing throw new Error('unable to locate global object');.

Thanks @vmihailenco for the fix.

Promise.prototype.finally

07 Feb 14:03
Compare
Choose a tag to compare

Added Promise.protoype.finally. Big thanks to @dfahlander for doing the work.

IE8 minification fixes

25 Jan 13:58
Compare
Choose a tag to compare
7.0.2

Fix incompatibility with IE8 in minified version