npm redux-saga 1.0.0-beta.2
v1.0.0-beta.2

latest releases: 1.3.0, 1.2.3, 1.2.2...
6 years ago

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 of retry(maxTries, delayLength, worker, ...args)
  • debounce effect with the signature of debounce(delayLength, pattern, worker, ...args)

Changed:

  • {effects, utils} aren't imported from 'redux-saga' anymore. import them from redux-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 the race effects

Don't miss a new redux-saga release

NewReleases is sending notifications on new releases.