Skip to content

Releases: AckeeCZ/redux-utils

v4.1.0

22 Apr 08:45
Compare
Choose a tag to compare

Added

  • ✨ Add createApiActions utility [cab7380]

Removed

  • 🔥 Deprecate createApiRequestActions & createApiDetailRequestActions in favor of createApiActions [75c9f41]

v4.0.1

21 Mar 09:24
Compare
Choose a tag to compare

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

28 Feb 11:27
Compare
Choose a tag to compare

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

  • 🔥 Remove obsolete container reset reducer [f830255]
  • 🔥 Remove too generic CustomParams [77b25aa]

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

15 Jun 14:47
Compare
Choose a tag to compare

Changed

  • ♻️ Remove redundant dep., simplify babel config, upgrade babel dep. [d7319d8]

Fixed

  • 🐛 Fix setting totalCount in paginationApiReducer and infiniteListApiReducer [9246e81]

Miscellaneous

  • 🏷️ Add types export from config [8531ba3]

New action utilities with better Typescript support

19 May 20:50
Compare
Choose a tag to compare

Added

  • ✨ Add create API actions typed utilities [06cb309]
  • ➕ Add redux toolkit [d7cff43

Security

  • 🔒 Add security resolutions for problematic packages [638c230]

Migration from 2.x -> 3.0.0

19 Mar 13:51
Compare
Choose a tag to compare

Added

  • 🏷️ Typescript types

Migration Guide

  • 🔧 Rename all asyncType occurrencies to apiRequestType !!!
  • 🔧 Rename all createAsyncType occurrencies to createApiRequestType !!!