Skip to content

Latest commit

 

History

History
791 lines (506 loc) · 47.7 KB

CHANGELOG.md

File metadata and controls

791 lines (506 loc) · 47.7 KB

Changelog

4.1.4 (2022-06-07)

Fixed

  • 🚑 Fix api reducer - extract props from payload [57346fc]

Miscellaneous

  • Fix typing of apiRequest type [79fd313]

4.1.2 (2022-05-23)

Changed

  • ⬆️ @reduxjs/toolkit@1.8.1 [d37ae69]

4.1.1 (2022-05-20)

Miscellaneous

  • 🏷️ Export RequestTypeParams type [d1b20bb]

4.1.0 (2022-04-22)

Added

  • ✨ Add createApiActions utility [cab7380]

Removed

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

Fixed

  • ✏️ Fix typo in apiActions.md [d8fe864]

Miscellaneous

4.0.1 (2022-03-18)

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]

4.0.0 (2022-02-28)

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]

3.2.1 (2022-02-01)

Changed

  • ⬆️ Bump tmpl from 1.0.4 to 1.0.5 [3e5fa9e]

Miscellaneous

  • 🏷️ Use Reducer type from reduxjs/toolkit [71763a9]
  • 🏷️ Properly type basicResetReducer [1eab08a]

3.2.0 (2022-01-26)

Added

  • ✨ Added routing history module [5b6dd79]

Changed

  • ⬆️ Upgrade gitmoji-changelog to v 2.3.0 [c36a86e]
  • 🔧 Add routing-history folder to files whitelist [1ace4b2]
  • 🔧 Fix linting with tslint [af4e755]
  • 🔧 Use test:ci in husky pre-push hook [cc7a431]

Miscellaneous

  • Merge pull request #64 from AckeeCZ/feat/add-routing-history-module [4531ae0]
  • 🏷️ Better type routing-history selectors [dc7043e]

3.1.8 (2022-01-17)

Removed

  • 🔥 Remove obsolete travis config file [9f4d65e]

Fixed

  • 🐛 Handle undefined process object in strictObjectAccess [5db4627]

3.1.7 (2022-01-14)

Added

  • ➕ Add core-js among dev deps [1f19f37]

3.1.6 (2022-01-14)

Added

  • ✨ Add files prop to package.json [e5679e0]
  • 👷‍♂️ Add github actions workflow for running tests when PR created [b2bd225]

Changed

  • 🚚 Move @types/ from dependencies to devDependencies [1d1d533]
  • 🔧 Remove invalid option from tests github workflow [6aaae91]
  • 🔧 Update workflow names [f3936c1]
  • ⬆️ Bump tar from 4.4.15 to 4.4.19 [bc93284]

Removed

  • ➖ Remove unused @ackee/eslint-config from dependencies [6fe80bb]

3.1.5 (2021-09-09)

Added

  • ✨ Add test:ci npm script [32c13d2]

3.1.4 (2021-09-09)

Added

  • 👷‍♂️ Add release config for Github Actions [cfe69bd]

Changed

  • ⬆️ Bump path-parse from 1.0.6 to 1.0.7 [3a5dbe3]
  • ⬆️ Bump tar from 4.4.13 to 4.4.15 [523f221]
  • ⬆️ Bump browserslist from 4.12.0 to 4.16.6 [db5e724]
  • ⬆️ Bump ws from 6.2.1 to 6.2.2 [ab73de5]

3.1.3 (2021-06-15)

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]

3.1.2 (2021-05-21)

Changed

  • ♻️ Update api actions default values [47af6bd] (Resolves #51)

3.1.1 (2021-05-20)

Fixed

  • 🐛 Fix actions import [5ea73e0]

3.1.0 (2021-05-19)

New action utilities with better Typescript support (uses Redux Toolkit).

Added

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

Security

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

3.0.1 (2021-05-10)

Changed

  • 🔧 Fetch origin before bumping a new version [987f246]
  • ⬆️ Bump lodash from 4.17.15 to 4.17.21 [7650c85]
  • ⬆️ Bump handlebars from 4.7.6 to 4.7.7 [766fb65]
  • ⬆️ Bump ssri from 6.0.1 to 6.0.2 [1977116]
  • 🔧 Generate TS types to 'lib' output dir instead of 'es' [ba91d2e]
  • ⬆️ Bump y18n from 3.2.1 to 3.2.2 [d5caeb7]
  • ⬆️ Bump ini from 1.3.5 to 1.3.8 [59ca556]

Miscellaneous

  • Bump elliptic from 6.5.3 to 6.5.4 [5c191a8]

3.0.0 (2021-03-19)

Added

  • ✅ updated test file to ts file [d2ce4f0]
  • ✨ new scripts for building typescript [bcd7989]
  • ✨ add detail request option to actions utils [e4f499f]
  • ✅ add apiRequestType tests [e23aa1b]
  • ✅ remove forgotten only for a test [711c124]
  • ✨ add factory for generating actions with common params [20215cd]
  • ✨ add a factory for creating both types and actions [4df7242]
  • ✨ add a factory for creating actions from types [af1102c]
  • ✅ update tests config and fix tests [bab85ed]

Changed

  • 🔧 build script updated, travis npm key added [bb1550b]
  • ♻️ improvim global exports [8919822]
  • 🚨 trailing whitespaces jsdoc [fdef553]
  • 🎨 ts optional type fixed [2048a9c]
  • 🎨 ts types added [e5b0c4e]
  • 🎨 rebase [712ba3f]
  • 🔧 package update [8b2cc9b]
  • 🔧 configs updated, package.json updated [f12a26c]
  • 🚨 ts lint arrow functions fixed [fd886df]
  • 🎨 reducers typecript started [73a5b3a]
  • 🎨 config updated, new files written [093f3c3]
  • 🎨 propertykey string type [f3e2a31]
  • 🎨 config changed, eslint fixed [550c9de]
  • 🎨 strictObj method to typescript, non functional PropertyKey [05c8aa6]
  • 🎨 first file rewritten into TS [87d553e]
  • 🎨 ts-nocheck back [8ec7a7c]
  • 🎨 request type params moved [f91fc1c]
  • 🎨 babel preset for typescript added [5167443]
  • 🚨 ignore ts linting [50c1e7f]
  • 🔧 jest config changed [e67a7f7]
  • 🎨 add ignore all ts errors in files, no-check [805af99]
  • ♻️ refactor action helpers [cefa0bd]
  • ♻️ rename asyncTypes to apiRequestTypes [aa79129]
  • 🚚 rename api request action helpers [cd38352]
  • 🔧 fix babel config [c9b4a6a]
  • 🔧 add test command to pre-push hook [839a06c]

Fixed

  • 💚 travis npm api key changed [caf3fa2]
  • 🐛 Fix babel config [e73ad42]
  • 🐛 Exclude tests from npm package [ea606f0]
  • 🐛 add missing export [5676aa6]

Miscellaneous

2.4.1 (2020-08-11)

Changed

  • 🚸 Remove index files with re-exports to enable jsdocs [40f1ebb]

Miscellaneous

2.4.0 (2020-07-01)

Added

  • ✨ Extend infiniteListApiReducer - add totalCount property support [34ea064]

Changed

  • 🔧 Update babel config [f26ca99]
  • ⬆️ Upgrade @ackee/browserslist-config [989f2b1]

Miscellaneous

2.3.3 (2020-06-07)

Changed

  • 🔧 Disable debug option [a5a40e9]

Miscellaneous

2.3.2 (2020-06-07)

Changed

  • ⬆️ Upgrade dependencies; add @ackee/browserslist-config [20a25ac]

Miscellaneous

2.3.1 (2020-05-19)

Miscellaneous

2.3.0 (2020-05-19)

Breaking changes

  • 💥 Don't reset lastSuccessAt at REQUEST [0424f19]

Miscellaneous

3.0.0-alpha.0 (2020-04-21)

Added

  • ✨ add detail request option to actions utils [e4f499f]
  • ✅ add apiRequestType tests [e23aa1b]
  • ✅ remove forgotten only for a test [711c124]
  • ✨ add factory for generating actions with common params [20215cd]
  • ✨ add a factory for creating both types and actions [4df7242]
  • ✨ add a factory for creating actions from types [af1102c]
  • ✅ update tests config and fix tests [bab85ed]

Changed

  • ♻️ refactor action helpers [cefa0bd]
  • ♻️ rename asyncTypes to apiRequestTypes [aa79129]
  • 🚚 rename api request action helpers [cd38352]
  • 🔧 fix babel config [c9b4a6a]
  • 🔧 add test command to pre-push hook [839a06c]

Fixed

  • 🐛 add missing export [5676aa6]

Miscellaneous

  • v3.0.0-alpha.0 [2ec17d1]
  • Merge pull request #25 from AckeeCZ/issue-23 [59ceb42]
  • 📝 update actions documentation [b58661b]
  • 📝 update request documentation [0637022]
  • 📝 update docs [682ad5c]
  • 📝 update docs [5658c94]
  • 🗑️ remove apiActionsTypes helper [dbfbeeb]
  • 💡 update docs [974e203]
  • 💡 update documentation [a564a61]
  • 📝 add documentation for request actions [01ce1c3]

2.4.1 (2020-08-11)

Changed

  • 🚸 Remove index files with re-exports to enable jsdocs [40f1ebb]

Miscellaneous

2.4.0 (2020-07-01)

Added

  • ✨ Extend infiniteListApiReducer - add totalCount property support [34ea064]

Changed

  • 🔧 Update babel config [f26ca99]
  • ⬆️ Upgrade @ackee/browserslist-config [989f2b1]

Miscellaneous

2.3.3 (2020-06-07)

Changed

  • 🔧 Disable debug option [a5a40e9]

Miscellaneous

2.3.2 (2020-06-07)

Changed

  • ⬆️ Upgrade dependencies; add @ackee/browserslist-config [20a25ac]

Miscellaneous

2.3.1 (2020-05-19)

Miscellaneous

2.3.0 (2020-05-19)

Breaking changes

  • 💥 Don't reset lastSuccessAt at REQUEST [0424f19]

Miscellaneous

2.2.2 (2020-03-18)

Miscellaneous

  • 2.2.2 [58dc98a]
  • Merge pull request #22 from AckeeCZ/bugfix/api-reducer-initial-values [f981229]
  • Correct actionFilters default values [c617c1a]

2.2.1 (2019-11-20)

Miscellaneous

  • 2.2.1 [076d472]
  • Let custom basicAPiReudcer initial state to progagate to other api reducers [12c9d27]

2.2.0 (2019-11-20)

Miscellaneous

  • 2.2.0 [dc7cbbe]
  • Update changelog [b35d046]
  • Merge pull request #18 from AckeeCZ/feature/infiniteListApiReducer [06b8f89]
  • Add docs for infiniteListApiReducer [628a1d8]
  • Add infiniteListApiReducer [1dd11f6]

2.1.1 (2019-11-15)

Miscellaneous

  • 2.1.1 [b850f13]
  • Update babel config - add @babel/preset-modules [11efc60]

2.1.0 (2019-11-11)

Miscellaneous

  • 2.1.0 [c6dd431]
  • Make basicApiReducer, paginationApiReducer and containerReducer globally configurable [4c49585]

2.0.0 (2019-09-02)

Miscellaneous

  • 2.0.0 [4ece05f]
  • hasMore: use limit instead of amount attribute [448484d]
  • Upgrade readme link title [67a3ccf]

2.0.0-beta.3 (2019-07-09)

Miscellaneous

  • 2.0.0-beta.3 [2c65f96]
  • Merge pull request #10 from AckeeCZ/feature/last-success-timestamp [84bde5b]
  • basicApiReducer, paginationApiReducer: add support for lastSuccessAt flag [70306a5]
  • Update docs [39ca5a9]
  • Update changelog [ff1a12c]

2.0.0-beta.2 (2019-06-27)

Miscellaneous

  • 2.0.0-beta.2 [778dbbb]
  • Merge pull request #9 from AckeeCZ/feature/pagination-api-reducer [2d0cb56]
  • reducers/api/pagination: if SUCCESS action has meta.hasMore, this flag has priority over currentCount >= totalCount [1ca627d]
  • Update README.md [2c7c83b]

2.0.0-beta.1 (2019-06-24)

Miscellaneous

2.0.0-beta.0 (2019-05-28)

Miscellaneous

2.0.0-alpha.2 (2019-05-04)

Miscellaneous

2.0.0-alpha.1 (2019-05-04)

Miscellaneous

  • 2.0.0-alpha.1 [c0b464f]
  • Add aliases to jest config [c7888e0]
  • Change reducer properies: isFetching -> inProgress, didInvalidate -> cancelled [84eb53c]
  • Add @babel/runtime [a0d766c]
  • Add aliases [354f356]

2.0.0-alpha.0 (2019-05-04)

Miscellaneous

  • 2.0.0-alpha.0 [28a1b33]
  • Update package description [a68dca8]
  • Add sideEffects flag [fada4a4]
  • Remove createType in favor of asyncType utility [fa11f13]
  • Remove nested namespace for public exports [2c7bff8]

1.0.0-beta.6 (2019-04-27)

Miscellaneous

1.0.0-beta.5 (2019-04-27)

Miscellaneous

  • 1.0.0-beta.5 [75ea9d9]
  • Merge pull request #6 from AckeeCZ/feature/strictObjectAccess [3457160]
  • Add strictObjectAccess utility [d552cd9]
  • Add jest (for babel) configuration [cd51835]

1.0.0-beta.4 (2019-04-20)

Miscellaneous

1.0.0-beta.3 (2019-03-20)

Miscellaneous

  • 1.0.0-beta.3 [38f7e8a]
  • Update asyncType util. - add RESET action type [51f39de]

1.0.0-beta.2 (2019-03-06)

Miscellaneous

  • 1.0.0-beta.2 [776c46b]
  • Merge pull request #4 from AckeeCZ/bugfix/pagination-reducer-page [6fc4156]
  • Don't increase page on SUCCESS, this must be handled externally [d34dcc2]

1.0.0-beta.1 (2019-02-25)

Miscellaneous

  • 1.0.0-beta.1 [5c8b39d]
  • Fix type in doc [ec87b18]
  • Merge pull request #2 from AckeeCZ/feature/pagination [faee8c8]
  • Update docs for api reducers [dddf53d]
  • api reducers: add UPDATE action type with its action filter to arbitrarily modify reducer's state [f3dd3c1]
  • pagination factory reducer: add setPage action filter with SET_PAGE action type param [428a328]

1.0.0-beta.0 (2019-02-04)

Miscellaneous

  • 1.0.0-beta.0 [13b0fca]
  • Merge pull request #1 from AckeeCZ/feature/pagination [227eb97]
  • Improve error messages for apiSelector [2b0dd9c]
  • Update README, move selectors under 'selectors' namespace [acd0cae]
  • Fix syntax error in readme [e95d850]
  • Add reselect to dev dependencies [d5c6756]
  • Set logger global variable equal to console object [a2e098a]
  • Enable loggin in development mode by default [ed02291]
  • Add apiSelector, apiPaginationSelector [f1f8bb8]
  • Remove unused constants [7a43bab]
  • Add INVALIDATE type as default action type to asyncType utility [81437af]
  • Add docs to reducers [36ec3b9]
  • Add asyncType - another action types creator [d4902c6]
  • Apply prettier onto src dir [d193cc4]

0.0.1-alpha.0 (2019-01-28)

Miscellaneous