Skip to content

Releases: briancavalier/creed

1.4.0: Add finally

07 Feb 11:14
Compare
Choose a tag to compare

1.2.1: Defend against missing/non-string Error stacks

16 Feb 01:51
Compare
Choose a tag to compare
  • Prevent Error instances with missing or non-string .stack property from causing a crash when async traces are enabled

1.2.0: Add async traces

15 Feb 14:00
Compare
Choose a tag to compare
  • Add async traces (aka "long stack traces") that track promises across thens, chains, maps, etc.
import { resolve } from '../../src/main'

resolve().then(function f1() {
  return resolve().then(function f2() {
    return resolve().then(function f3() {
      doh();  // <<< throws ReferenceError
    });
  });
});
> CREED_DEBUG=1 babel-node ./experiments/context/bb.js
/Users/brian/Projects/creed/dist/creed.js:668
        throw value;
        ^

ReferenceError: doh is not defined
    at f3 (/Users/brian/Projects/creed/experiments/context/bb.js:6:7)
 from Then:
    at f2 (/Users/brian/Projects/creed/experiments/context/bb.js:5:22)
 from Then:
    at f1 (/Users/brian/Projects/creed/experiments/context/bb.js:4:20)
 from Then:
    at Object.<anonymous> (/Users/brian/Projects/creed/experiments/context/bb.js:3:11)
    at loader (/Users/brian/Projects/creed/node_modules/babel-register/lib/node.js:144:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/brian/Projects/creed/node_modules/babel-register/lib/node.js:154:7)

1.1.1: Fix broken build

02 Jan 22:10
Compare
Choose a tag to compare
  • Fix broken built files. The built files in 1.1.0 were unusable due to an open issue with the newer version of buble used to create the build.

1.1.0: New APIs, experimental Fantasy Land 2.1

02 Jan 02:02
Compare
Choose a tag to compare

1.0.4: Fix unhandledRejection false positive

21 Oct 10:48
Compare
Choose a tag to compare
  • Fix a rare unhandledRejection false positive case in race, all, and merge.

1.0.3

15 Aug 01:10
Compare
Choose a tag to compare
  • Standardize coroutine continuations: coroutines always resume asynchronously, even when yielding already-settled promises.
  • Improve internal architecture, and test case coverage.

1.0.2: Faster and smaller

15 Jul 14:22
Compare
Choose a tag to compare
  • Switch build tooling to buba and bublé for more streamlined build, better performance, and smaller size.
  • Significant performance improvement and smaller dist build size. See the latest perf results.
  • Add rollup jsnext:main compatible dist build. If you build creed into your app using rollup, you'll get the advantage of rollup's tree shaking.