| OLD | NEW |
| (Empty) | |
| 1 # v1.5.2 |
| 2 - Allow using `"consructor"` as an argument in `memoize` (#998) |
| 3 - Give a better error messsage when `auto` dependency checking fails (#994) |
| 4 - Various doc updates (#936, #956, #979, #1002) |
| 5 |
| 6 # v1.5.1 |
| 7 - Fix issue with `pause` in `queue` with concurrency enabled (#946) |
| 8 - `while` and `until` now pass the final result to callback (#963) |
| 9 - `auto` will properly handle concurrency when there is no callback (#966) |
| 10 - `auto` will now properly stop execution when an error occurs (#988, #993) |
| 11 - Various doc fixes (#971, #980) |
| 12 |
| 13 # v1.5.0 |
| 14 |
| 15 - Added `transform`, analogous to [`_.transform`](http://lodash.com/docs#transfo
rm) (#892) |
| 16 - `map` now returns an object when an object is passed in, rather than array wit
h non-numeric keys. `map` will begin always returning an array with numeric inde
xes in the next major release. (#873) |
| 17 - `auto` now accepts an optional `concurrency` argument to limit the number of
running tasks (#637) |
| 18 - Added `queue#workersList()`, to retrieve the list of currently running tasks.
(#891) |
| 19 - Various code simplifications (#896, #904) |
| 20 - Various doc fixes :scroll: (#890, #894, #903, #905, #912) |
| 21 |
| 22 # v1.4.2 |
| 23 |
| 24 - Ensure coverage files don't get published on npm (#879) |
| 25 |
| 26 # v1.4.1 |
| 27 |
| 28 - Add in overlooked `detectLimit` method (#866) |
| 29 - Removed unnecessary files from npm releases (#861) |
| 30 - Removed usage of a reserved word to prevent :boom: in older environments (#870
) |
| 31 |
| 32 # v1.4.0 |
| 33 |
| 34 - `asyncify` now supports promises (#840) |
| 35 - Added `Limit` versions of `filter` and `reject` (#836) |
| 36 - Add `Limit` versions of `detect`, `some` and `every` (#828, #829) |
| 37 - `some`, `every` and `detect` now short circuit early (#828, #829) |
| 38 - Improve detection of the global object (#804), enabling use in WebWorkers |
| 39 - `whilst` now called with arguments from iterator (#823) |
| 40 - `during` now gets called with arguments from iterator (#824) |
| 41 - Code simplifications and optimizations aplenty ([diff](https://github.com/caol
an/async/compare/v1.3.0...v1.4.0)) |
| 42 |
| 43 |
| 44 # v1.3.0 |
| 45 |
| 46 New Features: |
| 47 - Added `constant` |
| 48 - Added `asyncify`/`wrapSync` for making sync functions work with callbacks. (#6
71, #806) |
| 49 - Added `during` and `doDuring`, which are like `whilst` with an async truth tes
t. (#800) |
| 50 - `retry` now accepts an `interval` parameter to specify a delay between retries
. (#793) |
| 51 - `async` should work better in Web Workers due to better `root` detection (#804
) |
| 52 - Callbacks are now optional in `whilst`, `doWhilst`, `until`, and `doUntil` (#6
42) |
| 53 - Various internal updates (#786, #801, #802, #803) |
| 54 - Various doc fixes (#790, #794) |
| 55 |
| 56 Bug Fixes: |
| 57 - `cargo` now exposes the `payload` size, and `cargo.payload` can be changed on
the fly after the `cargo` is created. (#740, #744, #783) |
| 58 |
| 59 |
| 60 # v1.2.1 |
| 61 |
| 62 Bug Fix: |
| 63 |
| 64 - Small regression with synchronous iterator behavior in `eachSeries` with a 1-e
lement array. Before 1.1.0, `eachSeries`'s callback was called on the same tick
, which this patch restores. In 2.0.0, it will be called on the next tick. (#7
82) |
| 65 |
| 66 |
| 67 # v1.2.0 |
| 68 |
| 69 New Features: |
| 70 |
| 71 - Added `timesLimit` (#743) |
| 72 - `concurrency` can be changed after initialization in `queue` by setting `q.con
currency`. The new concurrency will be reflected the next time a task is proces
sed. (#747, #772) |
| 73 |
| 74 Bug Fixes: |
| 75 |
| 76 - Fixed a regression in `each` and family with empty arrays that have additional
properties. (#775, #777) |
| 77 |
| 78 |
| 79 # v1.1.1 |
| 80 |
| 81 Bug Fix: |
| 82 |
| 83 - Small regression with synchronous iterator behavior in `eachSeries` with a 1-e
lement array. Before 1.1.0, `eachSeries`'s callback was called on the same tick
, which this patch restores. In 2.0.0, it will be called on the next tick. (#7
82) |
| 84 |
| 85 |
| 86 # v1.1.0 |
| 87 |
| 88 New Features: |
| 89 |
| 90 - `cargo` now supports all of the same methods and event callbacks as `queue`. |
| 91 - Added `ensureAsync` - A wrapper that ensures an async function calls its callb
ack on a later tick. (#769) |
| 92 - Optimized `map`, `eachOf`, and `waterfall` families of functions |
| 93 - Passing a `null` or `undefined` array to `map`, `each`, `parallel` and familie
s will be treated as an empty array (#667). |
| 94 - The callback is now optional for the composed results of `compose` and `seq`.
(#618) |
| 95 - Reduced file size by 4kb, (minified version by 1kb) |
| 96 - Added code coverage through `nyc` and `coveralls` (#768) |
| 97 |
| 98 Bug Fixes: |
| 99 |
| 100 - `forever` will no longer stack overflow with a synchronous iterator (#622) |
| 101 - `eachLimit` and other limit functions will stop iterating once an error occurs
(#754) |
| 102 - Always pass `null` in callbacks when there is no error (#439) |
| 103 - Ensure proper conditions when calling `drain()` after pushing an empty data se
t to a queue (#668) |
| 104 - `each` and family will properly handle an empty array (#578) |
| 105 - `eachSeries` and family will finish if the underlying array is modified during
execution (#557) |
| 106 - `queue` will throw if a non-function is passed to `q.push()` (#593) |
| 107 - Doc fixes (#629, #766) |
| 108 |
| 109 |
| 110 # v1.0.0 |
| 111 |
| 112 No known breaking changes, we are simply complying with semver from here on out. |
| 113 |
| 114 Changes: |
| 115 |
| 116 - Start using a changelog! |
| 117 - Add `forEachOf` for iterating over Objects (or to iterate Arrays with indexes
available) (#168 #704 #321) |
| 118 - Detect deadlocks in `auto` (#663) |
| 119 - Better support for require.js (#527) |
| 120 - Throw if queue created with concurrency `0` (#714) |
| 121 - Fix unneeded iteration in `queue.resume()` (#758) |
| 122 - Guard against timer mocking overriding `setImmediate` (#609 #611) |
| 123 - Miscellaneous doc fixes (#542 #596 #615 #628 #631 #690 #729) |
| 124 - Use single noop function internally (#546) |
| 125 - Optimize internal `_each`, `_map` and `_keys` functions. |
| OLD | NEW |