@twreporter/redux
Advanced tools
Comparing version 6.0.0-rc.3 to 6.0.0
@@ -6,68 +6,39 @@ # Change Log | ||
# [6.0.0-rc.3](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/redux@6.0.0-rc.2...@twreporter/redux@6.0.0-rc.3) (2020-01-14) | ||
# [6.0.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/redux@5.0.8...@twreporter/redux@6.0.0) (2020-01-14) | ||
### Bug Fixes | ||
- **redux:** author-articles: handle dataAlreadyExists case ([576677d](https://github.com/twreporter/twreporter-npm-packages/commit/576677dbe3040d4c56f90d8a1b29f0e81f611449)) | ||
- **redux:** entities reducer: wrong properties access path ([395a32c](https://github.com/twreporter/twreporter-npm-packages/commit/395a32ce18711c3d4fef53fb79a432ac9bdd2685)) | ||
- **redux:** enhance store.actions dispatch function by redux-thunk ([cc3bb33](https://github.com/twreporter/twreporter-npm-packages/commit/cc3bb33d1506a26cf8cd28766acbd8fa75c58f0c)), closes [/github.com/reduxjs/redux/blob/master/src/compose.ts#L56](https://github.com//github.com/reduxjs/redux/blob/master/src/compose.ts/issues/L56) | ||
### Features | ||
- **redux:** provide payload for actions without it ([1d951e7](https://github.com/twreporter/twreporter-npm-packages/commit/1d951e774342e2884c2ae41728f60f15d9ad9d64)) | ||
- **redux:** update actions and reducers ([1e71014](https://github.com/twreporter/twreporter-npm-packages/commit/1e71014466275bf02bced9fead798e057344c931)) | ||
# [6.0.0-rc.2](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/redux@6.0.0-rc.1...@twreporter/redux@6.0.0-rc.2) (2020-01-13) | ||
### Bug Fixes | ||
- **redux:** enhance store.actions dispatch function by redux-thunk ([1d385a8](https://github.com/twreporter/twreporter-npm-packages/commit/1d385a8bbcb59b52119f11ef049b53e40f23fecc)), closes [/github.com/reduxjs/redux/blob/master/src/compose.ts#L56](https://github.com//github.com/reduxjs/redux/blob/master/src/compose.ts/issues/L56) | ||
# [6.0.0-rc.1](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/redux@6.0.0-rc.0...@twreporter/redux@6.0.0-rc.1) (2020-01-13) | ||
### Code Refactoring | ||
- **redux:** consolidate first layer properties of actions ([d350196](https://github.com/twreporter/twreporter-npm-packages/commit/d3501963721347accd93caf45b3252eb3b7cddb3)) | ||
- **redux:** refactor src/actions/error-action-creators.js ([0521b7e](https://github.com/twreporter/twreporter-npm-packages/commit/0521b7e102972f406ab1303885e521622f3799a1)) | ||
- **redux:** reject action if error occurs ([11d7d48](https://github.com/twreporter/twreporter-npm-packages/commit/11d7d4860d44e5f5cf5c083a825f881a77f534fa)) | ||
- **redux:** resolves with success action rather than undefined ([cc4aa6d](https://github.com/twreporter/twreporter-npm-packages/commit/cc4aa6df85c92a4dda5dd4ede5fa0addc16a8e26)) | ||
### BREAKING CHANGES | ||
- **redux:** action object structure should be | ||
{ | ||
type: actionType, | ||
payload: { | ||
// stuff should be handled by reducers | ||
// is put here. | ||
} | ||
} | ||
* dispatch dataAlreadyExists, noMoreDataToFetch, | ||
lastActionIsStillProcessing actions | ||
* update unit tests | ||
- **redux:** - if data already exists, resolves with { type: types.dataAlreadyExists } | ||
* if no more data, resolves with { type: types.noMoreItemsToFetch } | ||
* if last request is processing, resolves with { type: | ||
types.lastActionIsStillProcessing } | ||
- **redux:** action will resolve with success action | ||
and reject with fail action. | ||
- **redux:** action will resolve with success action and | ||
reject with fail action. | ||
Application code should catch action error, | ||
otherwise, it occurs Promise rejection not handled error. | ||
- **redux:** change plain error object to Error instance | ||
# [6.0.0-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/redux@5.0.8...@twreporter/redux@6.0.0-rc.0) (2020-01-08) | ||
* consolidate first layer properties of actions | ||
### Code Refactoring | ||
- action object structure should be | ||
{ | ||
type: actionType, | ||
payload: { | ||
// stuff should be handled by reducers | ||
// is put here. | ||
} | ||
} | ||
- **redux:** change action object structure ([ba21e0c](https://github.com/twreporter/twreporter-npm-packages/commit/ba21e0c9b426f3d164b70ac6895575577d065c5b)) | ||
* dispatch dataAlreadyExists, noMoreDataToFetch, | ||
lastActionIsStillProcessing actions | ||
### BREAKING CHANGES | ||
* isomorphic-fetch -> axios | ||
- **redux:** handle axios error by error-action-creators | ||
* error-action-creators: change plain error object to Error instance | ||
* isomorphic-fetch -> axios | ||
* only contain informative properties of axios config | ||
- the following properties would be removed: | ||
@@ -86,5 +57,7 @@ - httpsAgent | ||
- paramsSerializer | ||
* update unit tests | ||
* getAccessToken action.payload.config is removed | ||
* remove exported functions | ||
* getAccessToken: action.payload.config is removed | ||
* remove exported functions: | ||
- failToReceiveAuthorCollection | ||
@@ -94,2 +67,4 @@ - failToFetchAuthorDetails | ||
* enhance and refactor unit tests | ||
## [5.0.8](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/redux@5.0.8-rc.1...@twreporter/redux@5.0.8) (2020-01-03) | ||
@@ -96,0 +71,0 @@ |
{ | ||
"name": "@twreporter/redux", | ||
"version": "6.0.0-rc.3", | ||
"version": "6.0.0", | ||
"description": "redux actions and reducers for twreporter website", | ||
@@ -44,3 +44,3 @@ "repository": "https://github.com/twreporter/twreporter-npm-packages.git", | ||
], | ||
"gitHead": "293cf49e5a9d91d36c52c8ed4e3e66b9e7136ed5" | ||
"gitHead": "51e940d9892426a6b4533ccfb37a4e0794c23cd8" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
179502