Creed Versions Save

Sophisticated and functionally-minded async with advanced features: coroutines, promises, ES2015 iterables, fantasy-land

1.4.0

6 years ago

1.2.1

7 years ago
  • Prevent Error instances with missing or non-string .stack property from causing a crash when async traces are enabled

1.2.0

7 years ago
  • 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

7 years ago
  • 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

7 years ago

1.0.4

7 years ago
  • Fix a rare unhandledRejection false positive case in race, all, and merge.

1.0.3

7 years ago
  • Standardize coroutine continuations: coroutines always resume asynchronously, even when yielding already-settled promises.
  • Improve internal architecture, and test case coverage.

1.0.2

7 years ago
  • 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.