Skip to content

6.0.0

Compare
Choose a tag to compare
@bdwain bdwain released this 24 Jun 19:44
· 8 commits to master since this release

BREAKING CHANGES

  • Removed a limitation from Cmd.map that required nested Cmd.lists to have the batch option enabled (#235 @bdwain)
  • mergeChildReducers is deprecated and will now emit a console warning. This can be avoided by renaming it to DEPRECATED_mergeChildReducers, though this will be removed in 7.0.0 along with the original method. (#248 @bdwain)
    • reduceReducers can be used in situations where mergeChildReducers was needed.
  • Typescript: Type safety improvements for Cmd.run. Typescript 3 now required. (#222 @domarmstrong)
  • Typescript: Type safety improvements for LoopReducer (#244 @nweber-gh)
    • It no longer specifies the action types that are dispatched by its Cmds. Only the action types it handles.
    • You are no longer allowed to not handle the default case in the switch statement or return an incorrect type from it.
  • Typescript: Dispatch type returns a promise (#241 @laszlopandy)
  • Flow types are no longer supported due to a lack of demand or ability to maintain them.

New Features