Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.58 KB

CHANGELOG.MD

File metadata and controls

51 lines (33 loc) · 1.58 KB

Change Log

2.1.0 BREAKING

  • Updated to redux-observable 1.0.0-beta.2
  • Changed createEpics() to return an object containing middleware and root epic

2.0.0

  • Update to rxJS 6.1.0
  • Update to redux-observable 1.0.0-alpha.2 (required for rxJS 6.1.0)
  • Update other dependencies

1.2.0

  • Update dependencies to support redux-observable 0.16

1.1.0

  • 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.

Passing in dependencies

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'; }
}});  

1.0.0

Breaking Change

  • Change createEpic to take second generic argument to match new EpicMiddleware<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

0.0.11

  • Initial Release