Features
The release adds 2 helper functions takeEvery
and takeLatest
to handle the common case concurrency scenarios
For the reasons behind this addition see #70 (comment)
You can find the docs of the functions here
http://yelouafi.github.io/redux-saga/docs/basics/UsingSagaHelpers.html
http://yelouafi.github.io/redux-saga/docs/advanced/Concurrency.html
http://yelouafi.github.io/redux-saga/docs/api/index.html#saga-helpers
There is a breaking change in this release
The path import for Effects has changed from redux-saga
to redux-saga/effects
Before
import { take, put, call, ... } from 'redux-saga'
After
import { take, put, call, ... } from 'redux-saga/effects'
Other changes
added a helper function isCancelError
to simplify test of Cancellation Exception
Instead of
import { isCancelError } from 'redux-saga'
function* saga() {
try {
...
} catch(error) {
if(isCance(error)
// error is an instance of SagaCancellationException
}
}