redux-clerk2 2.0.17 → 2.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,79 @@
1
+ ## 1.0.0
2
+ ###### _August 10, 2017_
3
+
4
+ - Convert responseData to Immutable data structure before adding to store ([#51](https://github.com/GetAmbassador/redux-clerk/pull/51))
5
+
6
+ ## 1.0.0-rc.4
7
+ ###### _May 2, 2017_
8
+
9
+ - Accept responseData in handleSuccess for the update action ([#48](https://github.com/GetAmbassador/redux-clerk/pull/48))
10
+ - Update docs to reflect optional optimism ([#47](https://github.com/GetAmbassador/redux-clerk/pull/47))
11
+
12
+ ## 1.0.0-rc.3
13
+ ###### _April 10, 2017_
14
+
15
+ - Cast all raw ids to strings ([#44](https://github.com/GetAmbassador/redux-clerk/pull/44))
16
+ - Update selectors to handle optional optimism ([#43](https://github.com/GetAmbassador/redux-clerk/pull/43))
17
+ - Make optimistic updates optional ([#41](https://github.com/GetAmbassador/redux-clerk/pull/41))
18
+
19
+ ## 1.0.0-rc.2
20
+ ###### _March 23, 2017_
21
+
22
+ - Added pre action hooks ([#38](https://github.com/GetAmbassador/redux-clerk/pull/38))
23
+
24
+ ## 1.0.0-rc.1
25
+ ###### _March 22, 2017_
26
+
27
+ - Added post action hooks ([#36](https://github.com/GetAmbassador/redux-clerk/pull/36))
28
+ - Rename delete action to remove to avoid reserved word conflicts ([#35](https://github.com/GetAmbassador/redux-clerk/pull/35))
29
+
30
+ ## 0.3.0
31
+ ###### _March 15, 2017_
32
+
33
+ - Fetch response will now deep merge response data into raw data ([#33](https://github.com/GetAmbassador/redux-clerk/pull/33))
34
+
35
+ ## 0.2.8
36
+ ###### _February 21, 2017_
37
+
38
+ - Cast uid to int in record selector ([#31](https://github.com/GetAmbassador/redux-clerk/pull/31))
39
+
40
+ ## 0.2.7
41
+ ###### _February 16, 2017_
42
+
43
+ - Added the get selector ([#29](https://github.com/GetAmbassador/redux-clerk/pull/29))
44
+
45
+ ## 0.2.6
46
+ ###### _January 11, 2017_
47
+
48
+ - Added the datasetProperty selector ([#27](https://github.com/GetAmbassador/redux-clerk/pull/27))
49
+
50
+ ## 0.2.5
51
+ ###### _January 3, 2017_
52
+
53
+ - Return Map instead of List for empty dataset ([#25](https://github.com/GetAmbassador/redux-clerk/pull/25))
54
+ - Ensure data is properly converted between actions and reducers ([#24](https://github.com/GetAmbassador/redux-clerk/pull/24))
55
+
56
+ ## 0.2.4
57
+ ###### _December 15, 2016_
58
+
59
+ - uidField option has been removed for the reducer (it is not longer needed) ([#22](https://github.com/GetAmbassador/redux-clerk/pull/22))
60
+
61
+ ## 0.2.3
62
+ ###### _December 14, 2016_
63
+
64
+ - Records are now added while updating if not already in state ([#20](https://github.com/GetAmbassador/redux-clerk/pull/20))
65
+
66
+ ## 0.2.2
67
+ ###### _December 13, 2016_
68
+
69
+ - Added the ability to return fetch response as an object or array ([#18](https://github.com/GetAmbassador/redux-clerk/pull/18))
70
+
71
+ ## 0.2.1
72
+ ###### _December 7, 2016_
73
+
74
+ - Added the ability to pass additional data with fetch, create and delete actions ([#16](https://github.com/GetAmbassador/redux-clerk/pull/16))
75
+
76
+ ## 0.2.0
77
+ ###### _December 5, 2016_
78
+
79
+ - Initial Release
@@ -233,7 +233,7 @@ var _initialiseProps = function _initialiseProps() {
233
233
 
234
234
  var entityActionData = {
235
235
  instance: instance || entity, uidField: 'id', options: {
236
- appendResponse: true,
236
+ appendResponse: false,
237
237
  recalcTotal: true
238
238
  }
239
239
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redux-clerk2",
3
- "version": "2.0.17",
3
+ "version": "2.0.18",
4
4
  "description": "Redux Clerk handles the async CRUD in your Redux App.",
5
5
  "main": "lib/index.js",
6
6
  "files": [
package/src/.DS_Store ADDED
Binary file
@@ -135,7 +135,7 @@ class BaseAction {
135
135
 
136
136
  const entityActionData = {
137
137
  instance: instance || entity, uidField: 'id', options: {
138
- appendResponse: true,
138
+ appendResponse: false,
139
139
  recalcTotal: true
140
140
  }
141
141
  };