| 1 | 4.6.0 / 2015-07-09
|
|---|
| 2 | ==================
|
|---|
| 3 |
|
|---|
| 4 | * support passing the rest of the arguments to co into the generator
|
|---|
| 5 |
|
|---|
| 6 | ```js
|
|---|
| 7 | function *gen(...args) { }
|
|---|
| 8 | co(gen, ...args);
|
|---|
| 9 | ```
|
|---|
| 10 |
|
|---|
| 11 | 4.5.0 / 2015-03-17
|
|---|
| 12 | ==================
|
|---|
| 13 |
|
|---|
| 14 | * support regular functions (that return promises)
|
|---|
| 15 |
|
|---|
| 16 | 4.4.0 / 2015-02-14
|
|---|
| 17 | ==================
|
|---|
| 18 |
|
|---|
| 19 | * refactor `isGeneratorFunction`
|
|---|
| 20 | * expose generator function from `co.wrap()`
|
|---|
| 21 | * drop support for node < 0.12
|
|---|
| 22 |
|
|---|
| 23 | 4.3.0 / 2015-02-05
|
|---|
| 24 | ==================
|
|---|
| 25 |
|
|---|
| 26 | * check for generator functions in a ES5-transpiler-friendly way
|
|---|
| 27 |
|
|---|
| 28 | 4.2.0 / 2015-01-20
|
|---|
| 29 | ==================
|
|---|
| 30 |
|
|---|
| 31 | * support comparing generator functions with ES6 transpilers
|
|---|
| 32 |
|
|---|
| 33 | 4.1.0 / 2014-12-26
|
|---|
| 34 | ==================
|
|---|
| 35 |
|
|---|
| 36 | * fix memory leak #180
|
|---|
| 37 |
|
|---|
| 38 | 4.0.2 / 2014-12-18
|
|---|
| 39 | ==================
|
|---|
| 40 |
|
|---|
| 41 | * always return a global promise implementation
|
|---|
| 42 |
|
|---|
| 43 | 4.0.1 / 2014-11-30
|
|---|
| 44 | ==================
|
|---|
| 45 |
|
|---|
| 46 | * friendlier ES6 module exports
|
|---|
| 47 |
|
|---|
| 48 | 4.0.0 / 2014-11-15
|
|---|
| 49 | ==================
|
|---|
| 50 |
|
|---|
| 51 | * co now returns a promise and uses promises underneath
|
|---|
| 52 | * `co.wrap()` for wrapping generator functions
|
|---|
| 53 |
|
|---|
| 54 | 3.1.0 / 2014-06-30
|
|---|
| 55 | ==================
|
|---|
| 56 |
|
|---|
| 57 | * remove `setImmediate()` shim for node 0.8. semi-backwards breaking.
|
|---|
| 58 | Users are expected to shim themselves. Also returns CommonJS browser support.
|
|---|
| 59 | * added key order preservation for objects. thanks @greim
|
|---|
| 60 | * replace `q` with `bluebird` in benchmarks and tests
|
|---|
| 61 |
|
|---|
| 62 | 3.0.6 / 2014-05-03
|
|---|
| 63 | ==================
|
|---|
| 64 |
|
|---|
| 65 | * add `setImmediate()` fallback to `process.nextTick`
|
|---|
| 66 | * remove duplicate code in toThunk
|
|---|
| 67 | * update thunkify
|
|---|
| 68 |
|
|---|
| 69 | 3.0.5 / 2014-03-17
|
|---|
| 70 | ==================
|
|---|
| 71 |
|
|---|
| 72 | * fix object/array test failure which tries to enumerate dates. Closes #98
|
|---|
| 73 | * fix final callback error propagation. Closes #92
|
|---|
| 74 |
|
|---|
| 75 | 3.0.4 / 2014-02-17
|
|---|
| 76 | ==================
|
|---|
| 77 |
|
|---|
| 78 | * fix toThunk object check regression. Closes #89
|
|---|
| 79 |
|
|---|
| 80 | 3.0.3 / 2014-02-08
|
|---|
| 81 | ==================
|
|---|
| 82 |
|
|---|
| 83 | * refactor: arrayToThunk @AutoSponge #88
|
|---|
| 84 |
|
|---|
| 85 | 3.0.2 / 2014-01-01
|
|---|
| 86 | ==================
|
|---|
| 87 |
|
|---|
| 88 | * fixed: nil arguments replaced with error fn
|
|---|
| 89 |
|
|---|
| 90 | 3.0.1 / 2013-12-19
|
|---|
| 91 | ==================
|
|---|
| 92 |
|
|---|
| 93 | * fixed: callback passed as an argument to generators
|
|---|
| 94 |
|
|---|
| 95 | 3.0.0 / 2013-12-19
|
|---|
| 96 | ==================
|
|---|
| 97 |
|
|---|
| 98 | * fixed: callback passed as an argument to generators
|
|---|
| 99 | * change: `co(function *(){})` now returns a reusable thunk
|
|---|
| 100 | * change: `this` must now be passed through the returned thunk, ex. `co(function *(){}).call(this)`
|
|---|
| 101 | * fix "generator already finished" errors
|
|---|
| 102 |
|
|---|
| 103 | 2.3.0 / 2013-11-12
|
|---|
| 104 | ==================
|
|---|
| 105 |
|
|---|
| 106 | * add `yield object` support
|
|---|
| 107 |
|
|---|
| 108 | 2.2.0 / 2013-11-05
|
|---|
| 109 | ==================
|
|---|
| 110 |
|
|---|
| 111 | * change: make the `isGenerator()` function more generic
|
|---|
| 112 |
|
|---|
| 113 | 2.1.0 / 2013-10-21
|
|---|
| 114 | ==================
|
|---|
| 115 |
|
|---|
| 116 | * add passing of arguments into the generator. closes #33.
|
|---|
| 117 |
|
|---|
| 118 | 2.0.0 / 2013-10-14
|
|---|
| 119 | ==================
|
|---|
| 120 |
|
|---|
| 121 | * remove callback in favour of thunk-only co(). Closes #30 [breaking change]
|
|---|
| 122 | * remove `co.wrap()` [breaking change]
|
|---|
| 123 |
|
|---|
| 124 | 1.5.2 / 2013-09-02
|
|---|
| 125 | ==================
|
|---|
| 126 |
|
|---|
| 127 | * fix: preserve receiver with co.wrap()
|
|---|
| 128 |
|
|---|
| 129 | 1.5.1 / 2013-08-11
|
|---|
| 130 | ==================
|
|---|
| 131 |
|
|---|
| 132 | * remove setImmediate() usage - ~110% perf increase. Closes #14
|
|---|
| 133 |
|
|---|
| 134 | 0.5.0 / 2013-08-10
|
|---|
| 135 | ==================
|
|---|
| 136 |
|
|---|
| 137 | * add receiver propagation support
|
|---|
| 138 | * examples: update streams.js example to use `http.get()` and streams2 API
|
|---|
| 139 |
|
|---|
| 140 | 1.4.1 / 2013-07-01
|
|---|
| 141 | ==================
|
|---|
| 142 |
|
|---|
| 143 | * fix gen.next(val) for latest v8. Closes #8
|
|---|
| 144 |
|
|---|
| 145 | 1.4.0 / 2013-06-21
|
|---|
| 146 | ==================
|
|---|
| 147 |
|
|---|
| 148 | * add promise support to joins
|
|---|
| 149 | * add `yield generatorFunction` support
|
|---|
| 150 | * add `yield generator` support
|
|---|
| 151 | * add nested join support
|
|---|
| 152 |
|
|---|
| 153 | 1.3.0 / 2013-06-10
|
|---|
| 154 | ==================
|
|---|
| 155 |
|
|---|
| 156 | * add passing of arguments
|
|---|
| 157 |
|
|---|
| 158 | 1.2.1 / 2013-06-08
|
|---|
| 159 | ==================
|
|---|
| 160 |
|
|---|
| 161 | * fix join() of zero thunks
|
|---|
| 162 |
|
|---|
| 163 | 1.2.0 / 2013-06-08
|
|---|
| 164 | ==================
|
|---|
| 165 |
|
|---|
| 166 | * add array yielding support. great suggestion by @domenic
|
|---|
| 167 |
|
|---|
| 168 | 1.1.0 / 2013-06-06
|
|---|
| 169 | ==================
|
|---|
| 170 |
|
|---|
| 171 | * add promise support
|
|---|
| 172 | * change nextTick to setImmediate
|
|---|