- Updated to redux-observable 1.0.0-beta.2
- Changed createEpics() to return an object containing middleware and root epic
- Update to rxJS 6.1.0
- Update to redux-observable 1.0.0-alpha.2 (required for rxJS 6.1.0)
- Update other dependencies
- Update dependencies to support redux-observable 0.16
- Update dependencies to work with redux-observable 0.14.*
- Add ability to pass redux-observable Options into create epics
note If using the dependencies
feature of redux-observable-options, you will need to use redux-observable 0.14.0 or greater.
class TestOne {
@Epic() a = (action$, store, deps) => action$
.ofType('TEST_A_IN')
.mapTo({ type: 'TEST_A_OUT', payload: deps.foo() });
}
const epicMiddleware = createEpics(epicOne, { dependencies: {
foo: function() { return 'bar'; }
}});
- Change
createEpic
to take second generic argument to match newEpicMiddleware<T,S>
interface. #5 closes #6 - Addresses breaking change in redux-observable 0.13.0 typings: TypeScript users only, the type interface for Epics now requires a second generic argument, your store's state interface. interface Epic<ActionShape, StateShape>. If you don't to strictly type your state, you can pass any
- Initial Release