Releases: AckeeCZ/redux-utils
Releases · AckeeCZ/redux-utils
v4.1.0
v4.0.1
Changed
♻️ Prevent variable override in reducers factories [f91cf04]
✅ Merge basic and emptyBasic tests [7f8238e]
Fixed
🐛 Attach addCase only if its action creator isn't UNUSED_ACTION_TYPE [d480f23]
🐛 containerReducer/getInitialState: use special action type while obtaining initial state of child reducer [b0d8eb2]
v4.0.0
4.0.0 (2022-02-28)
Migration guide
- The
containerResetReducer
has been removed. Inline it to your project if needed from here.
Changed
- ⬆️ Bump ajv from 6.12.2 to 6.12.6 [9772e8f]
- 🔧 Turn off strict null checks [20d63ac]
- ♻️ Deprecate tslint in favor of eslint [35ba29f]
- 🎨 Format code instantly after prettier upgrade [4354da8]
- ⬆️ Upgrade prettier [a449e06]
- ⬆️ Upgrade typescript to v4 [c8e2d43]
- 🚨 Fix lint warnings [b1e7fc4]
- 🔧 Disable no duplicate imports lint rule [a2252e6]
Removed
Miscellaneous
- 🏷️ Second tier, add type of action from correct template [a930d4a]
- 🏷️ First tier, map action names in apiRequestActions [34cae8a]
- 🏷️ Add missing types of react, react-router & react-redux [f0694db]
- 🏷️ Better type apiRequestType helper [2e611b5]
- 🏷️ Fix typing of strictObjectAccess [5c03f21]
- 🏷️ Fix entityId type in itemId selector [3b7de1a]
- 🏷️ Improve selector types [c9deeb0]
- 🏷️ Type selectors [54acff8]
- 🏷️ Rename and export mergeConfig args [70f375d]
- 🏷️ Improve types of container reducer [3423051]
- 🏷️ Improve types of pagination list api reducer [f43370f]
- 🏷️ Improve types of infinite list api reducer [77584b6]
- 🏷️ Improve types of basic api reducer [b587d7c]
Fix setting the totalCount in api reducers
New action utilities with better Typescript support
Migration from 2.x -> 3.0.0
Added
- 🏷️ Typescript types
Migration Guide
- 🔧 Rename all asyncType occurrencies to apiRequestType !!!
- 🔧 Rename all createAsyncType occurrencies to createApiRequestType !!!