Releases: redux-loop/redux-loop
Releases · redux-loop/redux-loop
6.0.1
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)
5.1.1
5.1.0
Added support for migration from redux thunk by adding an option to process thunks in redux loop. See more here
5.0.1
5.0.0
BREAKING CHANGES
- Remove deprecated functionality (becd636)
- Cmd.batch
- Cmd.sequence
- customization parameters to combineReducers
- Update TypeScript types for Cmd.run() (#207)
Other changes
- Fix StoreCreator TypeScript def to match redux (#208)
- Better typings for reducers (#210)
- Add type for Cmd.run's options.testInvariants (#214)
Development Changes
- Add prettier
- Update build tools to latest version
- Remove react-app lint rules
- Fix typescript tests to actually fail on errors (#209)
4.5.4
4.5.3
4.5.2
4.5.0
Feature: Added a config option to install
that allows for disabling console.error
when there are errors handled by a failActionCreator
. (#198 by @jamesjtong)