Releases: cujojs/when
Releases · cujojs/when
3.6.3: Fix for when/callbacks
- Fix regression in
when/callbacksintroduced in 3.6.1
3.6.2: Work around v8 bug, fix regressions
- Work around v8 optimizing compiler bug with some truly amazing help from community members. Thank you @anodynos, @jefflage, @kidkarolis, @pbarnes, @spion, @tsouza.
- Fix regressions in
when.filterandwhen.reduce(which also affectedwhen/sequence).
3.6.1: More perf improvements
- Significant improvements to
when.try, andwhen.lift. - Additional improvements to array functions:
when.reduce,when.any, andwhen.some. - Improved handling of early bail-out cases in
when.all,when.map, andwhen.any.
3.6.0: Significant perf and mem improvements
- Significant performance improvements:
- 10x or more for
when.map, especially for large arrays - ~2x for
when.reduceandpromise.fold - ~1.5-2x for generators using
when/generatorlift,call, and/orapply.
- 10x or more for
- Memory use reductions for
when.reduceandpromise.fold.
3.5.2 Accept Arguments objects in when/function
when/function.applynow handles passing an Arguments object directly, e.g.fn.apply(f, arguments);.- Prevent minifiers from clobbering unhandled rejection reporting if they remove
console.*calls. For example, unhandled rejections will be reported even when using Uglifydrop_console.
3.5.1: Improve race errors and environment support
when.race&Promise.racenow reject with aTypeErrorif you pass something that is not iterable.- Improve scheduler compatibility with MutationObserver shims
- Simplify checks for vert.x environment
3.5.0: Improve race performance
- Improve
when.race&Promise.raceperformance. - Internal changes to start paving the way toward 4.0.0.
- Deprecate
when.iterateandwhen.unfold. Use cujoJS/most for streaming asynchronous values. - Deprecate progress events. See the docs for more information and tips on refactoring code that uses promise progress.
3.4.6: Ensure webpack compatibility
- Ensure webpack compatibility by excluding
vertxfrom browser bundles
3.4.5: Improve unhandled rejection reporting
- Fixes for edge cases for unhandled rejection reporting
3.4.4: Workaround node 0.10.30 setTimeout bug
- Workaround for node 0.10.30 setTimeout bug. See this issue