Skip to content

Releases: jutaz/angular-quasar

2.1.2

08 Jun 19:02
9b2012a
Compare
Choose a tag to compare

Fixes a bug when promise might accidentally decorate itself, causing an infinite loop.

Unsolicited Sneeze

07 Mar 08:39
Compare
Choose a tag to compare

This release contains a bugfix to also decorate Promise that's returned from $q's constructor. Example:

$q((resolve, reject) => {
  // Things...
  resolve();
});

Winter madness

22 Dec 11:18
Compare
Choose a tag to compare

This release has no API or any user-affecting changes - this is purely to support new angular 1.6.0.

Unexpected Sun

23 Aug 08:51
Compare
Choose a tag to compare

This release consists of several fixes to quasar, such as:

  • .finally will now bind to context.

This release also removes individual context bindings for .then, .catch in favor in single .bind method.

And finally, .catch type checking, as requested in #1.
Basically:

q.reject(new MyCustomError())
  // Will skip this.
  .catch(MyAnotherCustomError, fn)
  // Will be caught here.
  .catch(MyCustomError, fn2)
  // Will not run, as exception was caught
  .catch(fn3);

This also allows for multiple filtered exceptions:

promise.then(function() {
    return a.b.c.d();
}).catch(TypeError, ReferenceError, function(e) {
    //Will end up here on programmer error
}).catch(NetworkError, TimeoutError, function(e) {
    //Will end up here on expected everyday network errors
}).catch(function(e) {
    //Catch any unexpected errors
});

Autumn surprise

06 Nov 09:40
Compare
Choose a tag to compare

Adds support for promise.bind, promise.unbind.

Also adds support for passing in individual context in promise.catch as a 2nd argument.

  • Bugfix - .all() should now resolve objects too.

Humble Newton

19 Dec 09:22
Compare
Choose a tag to compare
1.1.0

Add compiled version, bump version

Humongous Dwarf

16 Dec 11:17
Compare
Choose a tag to compare
1.0.1

Bump version

Socialized Ronin

15 Dec 14:36
Compare
Choose a tag to compare
1.0.0

Make things more browser compatible.