Releases: cujojs/when
Releases · cujojs/when
3.6.3: Fix for when/callbacks
- Fix regression in
when/callbacks
introduced 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.filter
andwhen.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.reduce
andpromise.fold
- ~1.5-2x for generators using
when/generator
lift
,call
, and/orapply
.
- 10x or more for
- Memory use reductions for
when.reduce
andpromise.fold
.
3.5.2 Accept Arguments objects in when/function
when/function.apply
now 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.race
now reject with aTypeError
if 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.race
performance. - Internal changes to start paving the way toward 4.0.0.
- Deprecate
when.iterate
andwhen.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
vertx
from 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