6.0.0
BREAKING CHANGES
- Removed a limitation from Cmd.map that required nested
Cmd.list
s 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 toDEPRECATED_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.
- reduceReducers can be used in situations where
- 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
- New Cmd types setTimeout and setInterval (and clearTimeout and clearInterval) (#232 @laszlopandy)