Skip to content

Releases: calvinmetcalf/lie

3.3.0

06 Mar 14:54
v3.3.0
fa42cdf
Compare
Choose a tag to compare

fine I'll include some typescript junk

v3.2.0

06 Mar 14:56
v3.2.0
979805e
Compare
Choose a tag to compare

Add finally method

v3.1.1

06 Mar 14:57
v3.1.1
20a72c4
Compare
Choose a tag to compare

fix edge case related to spec: 2.3.3: "Otherwise, if x is an object or function"

v3.1.0

06 Mar 14:58
v3.1.0
3391df9
Compare
Choose a tag to compare

do browserify transforms as prepublish

actually build v3.0.3

30 Apr 18:39
v3.0.4
3f83935
Compare
Choose a tag to compare

forgot to update the built files in v3.0.3

less fancy exports

30 Apr 18:37
v3.0.3
fc836c9
Compare
Choose a tag to compare

should fix #32 plus it updates the es3ify dep that was relying on a dep that was breaking in newer npm versions

3.0.1

06 Aug 16:44
v3.0.1
Compare
Choose a tag to compare

fixes #26 the WARN: Dropping unused variable UNHANDLED message generated by jshint

3.0.0

30 Jul 14:02
v3.0.0
Compare
Choose a tag to compare

Overall it should be very much in line with how es6 promises work in the browser/node and should be about 18% smaller now coming in at 1867 bytes minified and gzipped.

  • BREAKING adds some es6 compatibility fixes to make inheriting possible, which now means Process.[all|race|resolve|reject] may not be called in an arbitrary context, i.e.

    // WON'T WORK
    var resolve = Promise.resolve;
    var promise = resolve(true);
    
    // STILL WORKS
    var promise = Promise.resolve(true);
  • BREAKING new is no longer optional for constructors, e.g.

    // WON'T WORK
    var foo = Promise();
    
    // STILL WORKS
    var foo = new Promise();

    this is exactly how es6 promises work

  • resolve no longer caches falsy promises, this was of minimal perf benefit and could cause global issues issues if somebody was to screw around with one of those cached promises as they were global and mutable, this is theoretically breaking, but honestly you'd have to be doing something pretty dumb for this to be a breaking change in your code.

  • no longer broken into many modules, this doesn't effect performance or how it works in any way, but makes it a lot smaller as the library is small enough that all the wrapping functions added up to a noticeable fraction of the total library size

2.8.0

22 Sep 23:46
Compare
Choose a tag to compare

Adds a couple things:

  • finally adds Promise.race static method which means that lie can be used as a polyfill
  • fixes a potential bug with the Promise.all implementation that mutable error objects were being cached.
  • updated the pre-built options in the dist folder
  • updated the readme
  • test now in phantomjs (which involved fixing the promise test suite to be browserifyiable)

2.7.7

01 Jul 15:30
Compare
Choose a tag to compare

fixes a bug where Promise.all could resolve more then once