This release is highly motivated by our 2 new core members @restrry & @shinima. They have put a lot of work into creating PRs & helping others with their issues.
We've recently extracted some modular packages, you can see @redux-saga/deferred
, @redux-saga/delay-p
, @redux-saga/is
& @redux-saga/symbols
. At the same time we've managed to shave off some bytes from the core build - according to some tests of our we've managed remove over 1kb, but your YMMV ofc.
Added:
retry
effect with the signature ofretry(maxTries, delayLength, worker, ...args)
debounce
effect with the signature ofdebounce(delayLength, pattern, worker, ...args)
Changed:
{effects, utils}
aren't imported from 'redux-saga' anymore. import them fromredux-saga/effects
,redux-saga/utils
is
helper should be imported from@redux-saga/is
.delay
function (not effect!) should be imported from@redux-saga/delay-p
- signature of join & cancel, they both accept now a single task descriptor or an array of those (previously they have accepted variadic length of arguments)
- refactored shape of the effect objects to
{ [IO]: true, type, payload }
, their structure should be treated as opaque anyway, so we hope this doesn't break anyone END
will now finish therace
effects