CHANGELOG
v1.5.2
Allow using
"consructor"as an argument inmemoize(#998)Give a better error messsage when
autodependency checking fails (#994)Various doc updates (#936, #956, #979, #1002)
v1.5.1
Fix issue with
pauseinqueuewith concurrency enabled (#946)whileanduntilnow pass the final result to callback (#963)autowill properly handle concurrency when there is no callback (#966)autowill now properly stop execution when an error occurs (#988, #993)Various doc fixes (#971, #980)
v1.5.0
Added
transform, analogous to_.transform(#892)mapnow returns an object when an object is passed in, rather than array with non-numeric keys.mapwill begin always returning an array with numeric indexes in the next major release. (#873)autonow accepts an optionalconcurrencyargument to limit the number of running tasks (#637)Added
queue#workersList(), to retrieve the list of currently running tasks. (#891)Various code simplifications (#896, #904)
Various doc fixes 📜 (#890, #894, #903, #905, #912)
v1.4.2
Ensure coverage files don't get published on npm (#879)
v1.4.1
Add in overlooked
detectLimitmethod (#866)Removed unnecessary files from npm releases (#861)
Removed usage of a reserved word to prevent 💥 in older environments (#870)
v1.4.0
asyncifynow supports promises (#840)Added
Limitversions offilterandreject(#836)Add
Limitversions ofdetect,someandevery(#828, #829)some,everyanddetectnow short circuit early (#828, #829)Improve detection of the global object (#804), enabling use in WebWorkers
whilstnow called with arguments from iterator (#823)duringnow gets called with arguments from iterator (#824)Code simplifications and optimizations aplenty (diff)
v1.3.0
New Features:
Added
constantAdded
asyncify/wrapSyncfor making sync functions work with callbacks. (#671, #806)Added
duringanddoDuring, which are likewhilstwith an async truth test. (#800)retrynow accepts anintervalparameter to specify a delay between retries. (#793)asyncshould work better in Web Workers due to betterrootdetection (#804)Callbacks are now optional in
whilst,doWhilst,until, anddoUntil(#642)Various internal updates (#786, #801, #802, #803)
Various doc fixes (#790, #794)
Bug Fixes:
cargonow exposes thepayloadsize, andcargo.payloadcan be changed on the fly after thecargois created. (#740, #744, #783)
v1.2.1
Bug Fix:
Small regression with synchronous iterator behavior in
eachSerieswith a 1-element 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. (#782)
v1.2.0
New Features:
Added
timesLimit(#743)concurrencycan be changed after initialization inqueueby settingq.concurrency. The new concurrency will be reflected the next time a task is processed. (#747, #772)
Bug Fixes:
Fixed a regression in
eachand family with empty arrays that have additional properties. (#775, #777)
v1.1.1
Bug Fix:
Small regression with synchronous iterator behavior in
eachSerieswith a 1-element 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. (#782)
v1.1.0
New Features:
cargonow supports all of the same methods and event callbacks asqueue.Added
ensureAsync- A wrapper that ensures an async function calls its callback on a later tick. (#769)Optimized
map,eachOf, andwaterfallfamilies of functionsPassing a
nullorundefinedarray tomap,each,paralleland families will be treated as an empty array (#667).The callback is now optional for the composed results of
composeandseq. (#618)Reduced file size by 4kb, (minified version by 1kb)
Added code coverage through
nycandcoveralls(#768)
Bug Fixes:
foreverwill no longer stack overflow with a synchronous iterator (#622)eachLimitand other limit functions will stop iterating once an error occurs (#754)Always pass
nullin callbacks when there is no error (#439)Ensure proper conditions when calling
drain()after pushing an empty data set to a queue (#668)eachand family will properly handle an empty array (#578)eachSeriesand family will finish if the underlying array is modified during execution (#557)queuewill throw if a non-function is passed toq.push()(#593)Doc fixes (#629, #766)
v1.0.0
No known breaking changes, we are simply complying with semver from here on out.
Changes:
Start using a changelog!
Add
forEachOffor iterating over Objects (or to iterate Arrays with indexes available) (#168 #704 #321)Detect deadlocks in
auto(#663)Better support for require.js (#527)
Throw if queue created with concurrency
0(#714)Fix unneeded iteration in
queue.resume()(#758)Guard against timer mocking overriding
setImmediate(#609 #611)Miscellaneous doc fixes (#542 #596 #615 #628 #631 #690 #729)
Use single noop function internally (#546)
Optimize internal
_each,_mapand_keysfunctions.
Last updated