@aws-amplify/datastore 3.4.8 → 3.4.9-in-app-messaging.48
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 +104 -445
- package/dist/aws-amplify-datastore.js +28167 -13268
- package/dist/aws-amplify-datastore.js.map +1 -1
- package/dist/aws-amplify-datastore.min.js +8 -8
- package/dist/aws-amplify-datastore.min.js.map +1 -1
- package/lib/.tsbuildinfo +1 -1
- package/lib/datastore/datastore.d.ts +4 -1
- package/lib/datastore/datastore.js +129 -4
- package/lib/datastore/datastore.js.map +1 -1
- package/lib/sync/index.d.ts +3 -1
- package/lib/sync/index.js +10 -1
- package/lib/sync/index.js.map +1 -1
- package/lib/sync/processors/subscription.js +2 -2
- package/lib/sync/processors/subscription.js.map +1 -1
- package/lib/sync/processors/sync.d.ts +1 -3
- package/lib/sync/processors/sync.js +8 -19
- package/lib/sync/processors/sync.js.map +1 -1
- package/lib/types.d.ts +14 -0
- package/lib/types.js +5 -0
- package/lib/types.js.map +1 -1
- package/lib/util.d.ts +23 -1
- package/lib/util.js +77 -0
- package/lib/util.js.map +1 -1
- package/lib-esm/.tsbuildinfo +1 -1
- package/lib-esm/datastore/datastore.d.ts +4 -1
- package/lib-esm/datastore/datastore.js +130 -5
- package/lib-esm/datastore/datastore.js.map +1 -1
- package/lib-esm/sync/index.d.ts +3 -1
- package/lib-esm/sync/index.js +11 -2
- package/lib-esm/sync/index.js.map +1 -1
- package/lib-esm/sync/processors/subscription.js +2 -2
- package/lib-esm/sync/processors/subscription.js.map +1 -1
- package/lib-esm/sync/processors/sync.d.ts +1 -3
- package/lib-esm/sync/processors/sync.js +8 -19
- package/lib-esm/sync/processors/sync.js.map +1 -1
- package/lib-esm/types.d.ts +14 -0
- package/lib-esm/types.js +5 -0
- package/lib-esm/types.js.map +1 -1
- package/lib-esm/util.d.ts +23 -1
- package/lib-esm/util.js +78 -1
- package/lib-esm/util.js.map +1 -1
- package/package.json +7 -7
- package/src/datastore/datastore.ts +267 -121
- package/src/sync/index.ts +19 -3
- package/src/sync/processors/subscription.ts +1 -1
- package/src/sync/processors/sync.ts +1 -17
- package/src/types.ts +31 -12
- package/src/util.ts +80 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,848 +3,507 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [3.6.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.5.2...@aws-amplify/datastore@3.6.0) (2021-11-12)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
### Features
|
|
9
9
|
|
|
10
|
+
- **@aws-amplify/datastore:** ObserveQuery performance and type enhancements ([#9141](https://github.com/aws-amplify/amplify-js/issues/9141)) ([755ce09](https://github.com/aws-amplify/amplify-js/commit/755ce09f5152c54d215f023089f30b2c98ace33a))
|
|
10
11
|
|
|
12
|
+
## [3.5.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.5.1...@aws-amplify/datastore@3.5.2) (2021-11-09)
|
|
11
13
|
|
|
14
|
+
### Bug Fixes
|
|
12
15
|
|
|
16
|
+
- **@aws-amplify/datastore:** use forEach instead of map to iterate over unsubscribe callbacks ([#9146](https://github.com/aws-amplify/amplify-js/issues/9146)) ([ec6ee1c](https://github.com/aws-amplify/amplify-js/commit/ec6ee1c066a283e4e34a287db5712f2bb944e6ba))
|
|
13
17
|
|
|
14
|
-
|
|
18
|
+
### Reverts
|
|
15
19
|
|
|
16
|
-
|
|
20
|
+
- uuid dependency upgrade ([#9159](https://github.com/aws-amplify/amplify-js/issues/9159)) ([4ef8aa9](https://github.com/aws-amplify/amplify-js/commit/4ef8aa9c7c25dbe921fd02b6205b8defb93fbaec))
|
|
17
21
|
|
|
22
|
+
## [3.5.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.5.0...@aws-amplify/datastore@3.5.1) (2021-10-28)
|
|
18
23
|
|
|
24
|
+
**Note:** Version bump only for package @aws-amplify/datastore
|
|
19
25
|
|
|
26
|
+
# [3.5.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.8...@aws-amplify/datastore@3.5.0) (2021-10-21)
|
|
20
27
|
|
|
28
|
+
### Features
|
|
21
29
|
|
|
22
|
-
|
|
30
|
+
- **@aws-amplify/datastore:** observeQuery API ([#8864](https://github.com/aws-amplify/amplify-js/issues/8864)) ([25f06e3](https://github.com/aws-amplify/amplify-js/commit/25f06e3ad8bbcd5fc297c3da0936481b49aaa3a9))
|
|
31
|
+
|
|
32
|
+
## [3.4.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.7...@aws-amplify/datastore@3.4.8) (2021-10-07)
|
|
23
33
|
|
|
24
34
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
25
35
|
|
|
36
|
+
## [3.4.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.6...@aws-amplify/datastore@3.4.7) (2021-09-30)
|
|
26
37
|
|
|
38
|
+
**Note:** Version bump only for package @aws-amplify/datastore
|
|
27
39
|
|
|
40
|
+
## [3.4.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.5...@aws-amplify/datastore@3.4.6) (2021-09-24)
|
|
28
41
|
|
|
42
|
+
**Note:** Version bump only for package @aws-amplify/datastore
|
|
29
43
|
|
|
30
44
|
## [3.4.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.4...@aws-amplify/datastore@3.4.5) (2021-09-22)
|
|
31
45
|
|
|
32
46
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
33
47
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
48
|
## [3.4.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.3...@aws-amplify/datastore@3.4.4) (2021-09-17)
|
|
39
49
|
|
|
40
50
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
41
51
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
52
|
## [3.4.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.2...@aws-amplify/datastore@3.4.3) (2021-09-09)
|
|
47
53
|
|
|
48
54
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
49
55
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
56
|
## [3.4.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.1...@aws-amplify/datastore@3.4.2) (2021-09-07)
|
|
55
57
|
|
|
56
58
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
57
59
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
60
|
## [3.4.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.4.0...@aws-amplify/datastore@3.4.1) (2021-09-04)
|
|
63
61
|
|
|
64
|
-
|
|
65
62
|
### Bug Fixes
|
|
66
63
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
64
|
+
- **@aws-amplify/datastore:** only stringify nested AWSJSON in mutation event ([#8844](https://github.com/aws-amplify/amplify-js/issues/8844)) ([0febaac](https://github.com/aws-amplify/amplify-js/commit/0febaac79af1b9fd0621dce1e63a139bebdb46f5))
|
|
72
65
|
|
|
73
66
|
# [3.4.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.3.3...@aws-amplify/datastore@3.4.0) (2021-09-02)
|
|
74
67
|
|
|
75
|
-
|
|
76
68
|
### Bug Fixes
|
|
77
69
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
70
|
+
- **@aws-amplify/datastore:** patch immer vuln ([#8841](https://github.com/aws-amplify/amplify-js/issues/8841)) ([6521a57](https://github.com/aws-amplify/amplify-js/commit/6521a576572f21a91738e2bdc37ffb21350392d0))
|
|
71
|
+
- **@aws-amplify/datastore:** remove conditional require ([#8828](https://github.com/aws-amplify/amplify-js/issues/8828)) ([48b76e1](https://github.com/aws-amplify/amplify-js/commit/48b76e10602b0b5cc9bc43b9b3abd653e27e1817))
|
|
81
72
|
|
|
82
73
|
### Features
|
|
83
74
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
75
|
+
- **@aws-amplify/datastore:** add SQLite storage adapter option for RN apps ([#8809](https://github.com/aws-amplify/amplify-js/issues/8809)) ([46ee5dd](https://github.com/aws-amplify/amplify-js/commit/46ee5dd91c61f49bad4da8286b2f97c737d96631))
|
|
89
76
|
|
|
90
77
|
## [3.3.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.3.2...@aws-amplify/datastore@3.3.3) (2021-08-26)
|
|
91
78
|
|
|
92
|
-
|
|
93
79
|
### Bug Fixes
|
|
94
80
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
81
|
+
- **@aws-amplify/datastore:** check read-only at instance level ([#8794](https://github.com/aws-amplify/amplify-js/issues/8794)) ([b278875](https://github.com/aws-amplify/amplify-js/commit/b278875491bf6959591d5aea6fbdddfc78f3fe9b))
|
|
100
82
|
|
|
101
83
|
## [3.3.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.3.1...@aws-amplify/datastore@3.3.2) (2021-08-19)
|
|
102
84
|
|
|
103
85
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
104
86
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
87
|
## [3.3.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.3.0...@aws-amplify/datastore@3.3.1) (2021-08-12)
|
|
110
88
|
|
|
111
89
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
112
90
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
91
|
# [3.3.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.2.2...@aws-amplify/datastore@3.3.0) (2021-07-28)
|
|
118
92
|
|
|
119
|
-
|
|
120
93
|
### Features
|
|
121
94
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
95
|
+
- **@aws-amplify/datastore:** support lambda authorizers ([52d43cc](https://github.com/aws-amplify/amplify-js/commit/52d43cc73b459148f1ae81ab81d3a5365a4457e3))
|
|
127
96
|
|
|
128
97
|
## [3.2.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.2.1...@aws-amplify/datastore@3.2.2) (2021-07-22)
|
|
129
98
|
|
|
130
|
-
|
|
131
99
|
### Bug Fixes
|
|
132
100
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
101
|
+
- **@aws-amplify/datastore:** remove null properties from connected model instances ([#8623](https://github.com/aws-amplify/amplify-js/issues/8623)) ([569214c](https://github.com/aws-amplify/amplify-js/commit/569214c762bb3aace1ff96fcbe468780dcaabe35))
|
|
138
102
|
|
|
139
103
|
## [3.2.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.2.0...@aws-amplify/datastore@3.2.1) (2021-07-16)
|
|
140
104
|
|
|
141
105
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
142
106
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
107
|
# [3.2.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.1.2...@aws-amplify/datastore@3.2.0) (2021-07-08)
|
|
148
108
|
|
|
149
|
-
|
|
150
109
|
### Features
|
|
151
110
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
111
|
+
- **@aws-amplify/datastore:** expose timestamp fields and prevent writing to read-only fields ([#8509](https://github.com/aws-amplify/amplify-js/issues/8509)) ([10857d5](https://github.com/aws-amplify/amplify-js/commit/10857d5bbd6f7cb59a58641e0e8a3cb5dc0080e9))
|
|
157
112
|
|
|
158
113
|
## [3.1.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.1.1...@aws-amplify/datastore@3.1.2) (2021-06-24)
|
|
159
114
|
|
|
160
115
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
161
116
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
117
|
## [3.1.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.1.0...@aws-amplify/datastore@3.1.1) (2021-06-18)
|
|
167
118
|
|
|
168
119
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
169
120
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
121
|
# [3.1.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.0.3...@aws-amplify/datastore@3.1.0) (2021-06-10)
|
|
175
122
|
|
|
176
|
-
|
|
177
123
|
### Features
|
|
178
124
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
125
|
+
- **@aws-amplify/datastore:** include custom pk in update/delete mutations ([#8296](https://github.com/aws-amplify/amplify-js/issues/8296)) ([4a8475b](https://github.com/aws-amplify/amplify-js/commit/4a8475b5ba4da312c946c66a4fb1b5591dfe9adf))
|
|
184
126
|
|
|
185
127
|
## [3.0.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.0.1...@aws-amplify/datastore@3.0.3) (2021-05-26)
|
|
186
128
|
|
|
187
|
-
|
|
188
129
|
### Bug Fixes
|
|
189
130
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
131
|
+
- **@aws-amplify/datastore:** correct reachability unsubscribe behavior ([#8344](https://github.com/aws-amplify/amplify-js/issues/8344)) ([edf2b71](https://github.com/aws-amplify/amplify-js/commit/edf2b71a4ca3058883d27067fb6c87a9f3b339cb))
|
|
132
|
+
- **@aws-amplify/datastore:** coerce undefined field values to null ([#8301](https://github.com/aws-amplify/amplify-js/issues/8301)) ([396920b](https://github.com/aws-amplify/amplify-js/commit/396920bf53f139835473c0c08f4e5ab6f511867d))
|
|
133
|
+
- **@aws-amplify/datastore:** fix default error/conflict handler ([#8335](https://github.com/aws-amplify/amplify-js/issues/8335)) ([8d62d9d](https://github.com/aws-amplify/amplify-js/commit/8d62d9d9dd1d5934f40c0b800ab2440d805d4239))
|
|
134
|
+
- **@aws-amplify/datastore:** fixed return type for DS.delete() by ID ([#8311](https://github.com/aws-amplify/amplify-js/issues/8311)) ([e1624c1](https://github.com/aws-amplify/amplify-js/commit/e1624c17fae2edc6aa35904993171336fe9f597c))
|
|
135
|
+
- **@aws-amplify/datastore:** handle nullish values when using string predicate operators ([#8260](https://github.com/aws-amplify/amplify-js/issues/8260)) ([eb2942d](https://github.com/aws-amplify/amplify-js/commit/eb2942d436d48182f3e51cc163d2112b17656fa3))
|
|
136
|
+
- **@aws-amplify/datastore:** updates with composite keys ([#8253](https://github.com/aws-amplify/amplify-js/issues/8253)) ([3abfb8f](https://github.com/aws-amplify/amplify-js/commit/3abfb8fc68d916a5f22447652fe81bf81c6977dd))
|
|
200
137
|
|
|
201
138
|
## [3.0.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.0.0...@aws-amplify/datastore@3.0.1) (2021-05-14)
|
|
202
139
|
|
|
203
140
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
204
141
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
142
|
# [3.0.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.10.0...@aws-amplify/datastore@3.0.0) (2021-05-11)
|
|
210
143
|
|
|
211
|
-
|
|
212
|
-
* chore!: Upgrade to @react-native-async-storage/async-storage (#8250) ([1de4853](https://github.com/aws-amplify/amplify-js/commit/1de48531b68e3c53c3b7dbf4487da4578cb79888)), closes [#8250](https://github.com/aws-amplify/amplify-js/issues/8250)
|
|
213
|
-
|
|
144
|
+
- chore!: Upgrade to @react-native-async-storage/async-storage (#8250) ([1de4853](https://github.com/aws-amplify/amplify-js/commit/1de48531b68e3c53c3b7dbf4487da4578cb79888)), closes [#8250](https://github.com/aws-amplify/amplify-js/issues/8250)
|
|
214
145
|
|
|
215
146
|
### BREAKING CHANGES
|
|
216
147
|
|
|
217
|
-
|
|
148
|
+
- Upgrade from React Native AsyncStorage to @react-native-async-storage/async-storage
|
|
218
149
|
|
|
219
150
|
Co-authored-by: Ashish Nanda <ashish.nanda.5591@gmail.com>
|
|
220
151
|
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>
|
|
221
152
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
153
|
# [2.10.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.16...@aws-amplify/datastore@2.10.0) (2021-05-06)
|
|
227
154
|
|
|
228
|
-
|
|
229
155
|
### Bug Fixes
|
|
230
156
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
157
|
+
- **@aws-amplify/datastore:** correctly processing Delta Sync query response in RN ([#8196](https://github.com/aws-amplify/amplify-js/issues/8196)) ([9883974](https://github.com/aws-amplify/amplify-js/commit/98839741055ef9934565d49599e74c78e3812bba))
|
|
158
|
+
- **@aws-amplify/datastore:** fix hasOne delete ([#8191](https://github.com/aws-amplify/amplify-js/issues/8191)) ([d16a8fb](https://github.com/aws-amplify/amplify-js/commit/d16a8fbc5862281121812b1f8fc7af8bb001190d))
|
|
159
|
+
- **@aws-amplify/datastore:** log subscription error instead of throwing ([#8229](https://github.com/aws-amplify/amplify-js/issues/8229)) ([403de44](https://github.com/aws-amplify/amplify-js/commit/403de44496d17614a542fbcb98bab8b99898bab6))
|
|
160
|
+
- **@aws-amplify/datastore:** Update CCI config & logger warning format ([#8231](https://github.com/aws-amplify/amplify-js/issues/8231)) ([d3462aa](https://github.com/aws-amplify/amplify-js/commit/d3462aab1dd4916dd757bc1c80f9a944e0bb82dd))
|
|
236
161
|
|
|
237
162
|
### Features
|
|
238
163
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
164
|
+
- **@aws-amplify/datastore:** DataStore - Multi-Auth ([#8008](https://github.com/aws-amplify/amplify-js/issues/8008)) ([dedd564](https://github.com/aws-amplify/amplify-js/commit/dedd5641dfcfce209433088fe9570874cd810997))
|
|
244
165
|
|
|
245
166
|
## [2.9.16](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.15...@aws-amplify/datastore@2.9.16) (2021-04-15)
|
|
246
167
|
|
|
247
|
-
|
|
248
168
|
### Bug Fixes
|
|
249
169
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
170
|
+
- **@aws-amplify/datastore:** add additional type check to util.objectsEqual ([#8027](https://github.com/aws-amplify/amplify-js/issues/8027)) ([dee1971](https://github.com/aws-amplify/amplify-js/commit/dee1971285682170dc1828204273d34a69145aa3))
|
|
171
|
+
- **@aws-amplify/datastore:** consecutive saves ([#8000](https://github.com/aws-amplify/amplify-js/issues/8000)) ([7b478a5](https://github.com/aws-amplify/amplify-js/commit/7b478a58b73d8f321523d3a80a9b85e88afcc5d0))
|
|
172
|
+
- **@aws-amplify/datastore:** consecutive saves 2 ([#8038](https://github.com/aws-amplify/amplify-js/issues/8038)) ([a15b8f0](https://github.com/aws-amplify/amplify-js/commit/a15b8f044597da68442e4c51e67c35772aed1d7c))
|
|
173
|
+
- **@aws-amplify/datastore:** handle merging queued create with incoming update ([#8102](https://github.com/aws-amplify/amplify-js/issues/8102)) ([d84cf34](https://github.com/aws-amplify/amplify-js/commit/d84cf34d32e077554951e2fd7a383c6cfe3f536c))
|
|
174
|
+
- **@aws-amplify/datastore:** Retry mutation after GraphQL request timeout due to bad network condition. ([#6542](https://github.com/aws-amplify/amplify-js/issues/6542)) ([9fe6b7f](https://github.com/aws-amplify/amplify-js/commit/9fe6b7fa58aadb061a742b32c6a9cc1fd76dae6d))
|
|
259
175
|
|
|
260
176
|
## [2.9.15](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.14...@aws-amplify/datastore@2.9.15) (2021-03-25)
|
|
261
177
|
|
|
262
|
-
|
|
263
178
|
### Bug Fixes
|
|
264
179
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
180
|
+
- **@aws-amplify/datastore:** fix consecutive updates ([#7354](https://github.com/aws-amplify/amplify-js/issues/7354)) ([efd2e41](https://github.com/aws-amplify/amplify-js/commit/efd2e41d13fa6417ecddf153d7d0461060e45621))
|
|
181
|
+
- **@aws-amplify/datastore:** keep syncing when subs disabled ([#7987](https://github.com/aws-amplify/amplify-js/issues/7987)) ([0e8968f](https://github.com/aws-amplify/amplify-js/commit/0e8968f9125b1b5f76389abe3d77986c1f65e32f))
|
|
182
|
+
- **@aws-amplify/datastore:** update mutation input - use diff with DB instead of patches ([#7935](https://github.com/aws-amplify/amplify-js/issues/7935)) ([638c94d](https://github.com/aws-amplify/amplify-js/commit/638c94de30df179ef5f0d03ac8c97cecb683bb53))
|
|
272
183
|
|
|
273
184
|
## [2.9.14](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.13...@aws-amplify/datastore@2.9.14) (2021-03-18)
|
|
274
185
|
|
|
275
186
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
276
187
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
188
|
## [2.9.13](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.12...@aws-amplify/datastore@2.9.13) (2021-03-12)
|
|
282
189
|
|
|
283
|
-
|
|
284
190
|
### Bug Fixes
|
|
285
191
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
192
|
+
- **@aws-amplify/datastore:** handle sync query unauthorized ([#7926](https://github.com/aws-amplify/amplify-js/issues/7926)) ([4b37112](https://github.com/aws-amplify/amplify-js/commit/4b371125fa60362b2e4a648e0cb18b8f8a853956))
|
|
291
193
|
|
|
292
194
|
## [2.9.12](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.11...@aws-amplify/datastore@2.9.12) (2021-03-08)
|
|
293
195
|
|
|
294
196
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
295
197
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
198
|
## [2.9.11](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.10...@aws-amplify/datastore@2.9.11) (2021-03-03)
|
|
301
199
|
|
|
302
|
-
|
|
303
200
|
### Bug Fixes
|
|
304
201
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
202
|
+
- **@aws-amplify/datastore:** return partial data when available ([#7775](https://github.com/aws-amplify/amplify-js/issues/7775)) ([715aa7e](https://github.com/aws-amplify/amplify-js/commit/715aa7e1d8ea1797784d37ab706c12b133fca4f0))
|
|
310
203
|
|
|
311
204
|
## [2.9.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.9...@aws-amplify/datastore@2.9.10) (2021-02-25)
|
|
312
205
|
|
|
313
|
-
|
|
314
206
|
### Bug Fixes
|
|
315
207
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
208
|
+
- **@aws-amplify/datastore:** improve IDB query performance ([#7746](https://github.com/aws-amplify/amplify-js/issues/7746)) ([5b87ad4](https://github.com/aws-amplify/amplify-js/commit/5b87ad485be5521a3ca91aa7bb00bba178e6c8b9))
|
|
321
209
|
|
|
322
210
|
## [2.9.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.8...@aws-amplify/datastore@2.9.9) (2021-02-18)
|
|
323
211
|
|
|
324
212
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
325
213
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
214
|
## [2.9.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.7...@aws-amplify/datastore@2.9.8) (2021-02-15)
|
|
331
215
|
|
|
332
216
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
333
217
|
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
218
|
## [2.9.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.6...@aws-amplify/datastore@2.9.7) (2021-02-09)
|
|
339
219
|
|
|
340
|
-
|
|
341
220
|
### Bug Fixes
|
|
342
221
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
222
|
+
- **@aws-amplify/datastore:** align AWSTime validation with AppSync ([#7717](https://github.com/aws-amplify/amplify-js/issues/7717)) ([feae503](https://github.com/aws-amplify/amplify-js/commit/feae503ba2ad22738e4a16639441f4dec6077f7a))
|
|
348
223
|
|
|
349
224
|
## [2.9.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.5...@aws-amplify/datastore@2.9.6) (2021-02-03)
|
|
350
225
|
|
|
351
226
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
352
227
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
228
|
## [2.9.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.4...@aws-amplify/datastore@2.9.5) (2021-02-01)
|
|
358
229
|
|
|
359
230
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
360
231
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
232
|
## [2.9.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.3...@aws-amplify/datastore@2.9.4) (2021-01-29)
|
|
366
233
|
|
|
367
|
-
|
|
368
234
|
### Bug Fixes
|
|
369
235
|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
236
|
+
- **@aws-amplify/datastore:** only include changed fields in update mutation input ([#7466](https://github.com/aws-amplify/amplify-js/issues/7466)) ([7b5b23f](https://github.com/aws-amplify/amplify-js/commit/7b5b23f9fa6f1c4934c631ab6bfc363b8d3eeac2))
|
|
375
237
|
|
|
376
238
|
## [2.9.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.2...@aws-amplify/datastore@2.9.3) (2021-01-07)
|
|
377
239
|
|
|
378
240
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
379
241
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
242
|
## [2.9.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.1...@aws-amplify/datastore@2.9.2) (2020-12-17)
|
|
385
243
|
|
|
386
244
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
387
245
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
246
|
## [2.9.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.9.0...@aws-amplify/datastore@2.9.1) (2020-12-10)
|
|
393
247
|
|
|
394
|
-
|
|
395
248
|
### Bug Fixes
|
|
396
249
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
250
|
+
- **@aws-amplify/datastore:** check auth config before getting token ([#7325](https://github.com/aws-amplify/amplify-js/issues/7325)) ([d9aa328](https://github.com/aws-amplify/amplify-js/commit/d9aa32837f15f408daba0a0104bb27042b9331da))
|
|
251
|
+
- **@aws-amplify/datastore:** Fix ctlSubsSubscription not getting unsubscribed when device goes offline ([#7250](https://github.com/aws-amplify/amplify-js/issues/7250)) ([4d0a2e3](https://github.com/aws-amplify/amplify-js/commit/4d0a2e34a21eb96b9085efcdd8f7846734bf33f7))
|
|
252
|
+
- **@aws-amplify/datastore:** fix custom ownerField selection set ([#7317](https://github.com/aws-amplify/amplify-js/issues/7317)) ([0b82781](https://github.com/aws-amplify/amplify-js/commit/0b82781e946e6bef15f7b162d0ea538fc8ac5100))
|
|
253
|
+
- **@aws-amplify/datastore:** remove netinfo from peer deps to prevent npm7 error ([#7349](https://github.com/aws-amplify/amplify-js/issues/7349)) ([88e2413](https://github.com/aws-amplify/amplify-js/commit/88e2413701cae673043c2fe42b490d279e7e51c9))
|
|
405
254
|
|
|
406
255
|
# [2.9.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.8.1...@aws-amplify/datastore@2.9.0) (2020-11-30)
|
|
407
256
|
|
|
408
|
-
|
|
409
257
|
### Bug Fixes
|
|
410
258
|
|
|
411
|
-
|
|
412
|
-
|
|
259
|
+
- **@aws-amplify/datastore:** handle groupClaim as plain string ([#7261](https://github.com/aws-amplify/amplify-js/issues/7261)) ([63e5baa](https://github.com/aws-amplify/amplify-js/commit/63e5baa4293bf6688962007137377d19c5ef8904))
|
|
413
260
|
|
|
414
261
|
### Features
|
|
415
262
|
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
263
|
+
- **@aws-amplify/datastore:** handle sessionId ([#7304](https://github.com/aws-amplify/amplify-js/issues/7304)) ([6e28eaf](https://github.com/aws-amplify/amplify-js/commit/6e28eaf37525ce231d7793bf82a960046fc7f8f4))
|
|
421
264
|
|
|
422
265
|
## [2.8.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.8.0...@aws-amplify/datastore@2.8.1) (2020-11-23)
|
|
423
266
|
|
|
424
|
-
|
|
425
267
|
### Bug Fixes
|
|
426
268
|
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
269
|
+
- **@aws-amplify/datastore:** use default auth for subscriptions ([#7172](https://github.com/aws-amplify/amplify-js/issues/7172)) ([7428c74](https://github.com/aws-amplify/amplify-js/commit/7428c74bb7402fe230def58e501d6e58ec351f3e))
|
|
432
270
|
|
|
433
271
|
# [2.8.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.7.3...@aws-amplify/datastore@2.8.0) (2020-11-20)
|
|
434
272
|
|
|
435
|
-
|
|
436
273
|
### Bug Fixes
|
|
437
274
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
275
|
+
- **@aws-amplify/datastore:** extend Lookup type to allow Predicates.ALL ([#7218](https://github.com/aws-amplify/amplify-js/issues/7218)) ([be1a746](https://github.com/aws-amplify/amplify-js/commit/be1a746fe7c0e8a41e4c773c03689a6d6d76b380))
|
|
276
|
+
- **@aws-amplify/datastore:** fix sel. sync delta ([#7200](https://github.com/aws-amplify/amplify-js/issues/7200)) ([dbd4629](https://github.com/aws-amplify/amplify-js/commit/dbd46299af9c558251b8c652c3e50208982655c8))
|
|
277
|
+
- **@aws-amplify/datastore:** fix validation for array with optional element ([#7216](https://github.com/aws-amplify/amplify-js/issues/7216)) ([31c7199](https://github.com/aws-amplify/amplify-js/commit/31c7199c1c0abe77f59ac24739667503f266b4d1))
|
|
278
|
+
- **@aws-amplify/datastore:** handle groupClaim as string ([#7208](https://github.com/aws-amplify/amplify-js/issues/7208)) ([17b62dd](https://github.com/aws-amplify/amplify-js/commit/17b62dd216f7fdf5b21ae9ba2a2c170fb86a4d73))
|
|
443
279
|
|
|
444
280
|
### Features
|
|
445
281
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
282
|
+
- **@aws-amplify/datastore:** add local validations for AppSync scalars ([#7212](https://github.com/aws-amplify/amplify-js/issues/7212)) ([f277a7e](https://github.com/aws-amplify/amplify-js/commit/f277a7e4bb9d4cf67e2b4353c09b1e3f92bcd5c2))
|
|
283
|
+
- **@aws-amplify/datastore:** add local validations for AppSync scalars (update) ([#7234](https://github.com/aws-amplify/amplify-js/issues/7234)) ([7477d27](https://github.com/aws-amplify/amplify-js/commit/7477d272587212c2a3cf0e86806f8ff4a03881e0))
|
|
452
284
|
|
|
453
285
|
## [2.7.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.7.2...@aws-amplify/datastore@2.7.3) (2020-11-13)
|
|
454
286
|
|
|
455
|
-
|
|
456
287
|
### Bug Fixes
|
|
457
288
|
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
289
|
+
- **@aws-amplify/datastore:** add implicit owner to selection set ([#7159](https://github.com/aws-amplify/amplify-js/issues/7159)) ([256ffa8](https://github.com/aws-amplify/amplify-js/commit/256ffa8b20d41a9e97a7dc2db38a3453d885c0cd))
|
|
463
290
|
|
|
464
291
|
## [2.7.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.7.1...@aws-amplify/datastore@2.7.2) (2020-11-03)
|
|
465
292
|
|
|
466
|
-
|
|
467
293
|
### Bug Fixes
|
|
468
294
|
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
295
|
+
- **@aws-amplify/datastore:** fix syncExpression types ([#7097](https://github.com/aws-amplify/amplify-js/issues/7097)) ([947197d](https://github.com/aws-amplify/amplify-js/commit/947197d39e4136af1d114ef716fe77725712f51f))
|
|
474
296
|
|
|
475
297
|
## [2.7.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.7.0...@aws-amplify/datastore@2.7.1) (2020-10-31)
|
|
476
298
|
|
|
477
|
-
|
|
478
299
|
### Bug Fixes
|
|
479
300
|
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
301
|
+
- **amazon-cognito-identity-js:** update random implementation ([#7090](https://github.com/aws-amplify/amplify-js/issues/7090)) ([7048453](https://github.com/aws-amplify/amplify-js/commit/70484532da8a9953384b00b223b2b3ba0c0e845e))
|
|
485
302
|
|
|
486
303
|
# [2.7.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.6.1...@aws-amplify/datastore@2.7.0) (2020-10-29)
|
|
487
304
|
|
|
488
|
-
|
|
489
305
|
### Bug Fixes
|
|
490
306
|
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
307
|
+
- **@aws-amplify/datastore:** fix OIDC group auth rules ([#7011](https://github.com/aws-amplify/amplify-js/issues/7011)) ([34de0f2](https://github.com/aws-amplify/amplify-js/commit/34de0f252ddea559a6bc959610522cc19fe340f6))
|
|
308
|
+
- **@aws-amplify/datastore:** initialize syncPredicates to empty WeakMap ([#7078](https://github.com/aws-amplify/amplify-js/issues/7078)) ([45d52da](https://github.com/aws-amplify/amplify-js/commit/45d52da6cec9b5e546c26e299d47e4d0b2879a7f))
|
|
309
|
+
- **@aws-amplify/datastore:** return empty WeakMap ([#7079](https://github.com/aws-amplify/amplify-js/issues/7079)) ([cf511b8](https://github.com/aws-amplify/amplify-js/commit/cf511b8d3deaa58edcce8d1ec015548a801c212b))
|
|
310
|
+
- **@aws-amplify/datastore:** validate model fields to allow undefined ([#7044](https://github.com/aws-amplify/amplify-js/issues/7044)) ([958f61e](https://github.com/aws-amplify/amplify-js/commit/958f61ef2918728cc46b9b210d60e868edd87f39))
|
|
496
311
|
|
|
497
312
|
### Features
|
|
498
313
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
314
|
+
- **@aws-amplify/datastore:** add Selective Sync ([#7001](https://github.com/aws-amplify/amplify-js/issues/7001)) ([8fa348b](https://github.com/aws-amplify/amplify-js/commit/8fa348b8ba708434992d97557b0fceebbf7abe9a))
|
|
315
|
+
- **@aws-amplify/datastore:** selective sync enhancements ([#7083](https://github.com/aws-amplify/amplify-js/issues/7083)) ([2a4d3fd](https://github.com/aws-amplify/amplify-js/commit/2a4d3fde1b23e5be84f66721d3ef5854663081d1))
|
|
505
316
|
|
|
506
317
|
## [2.6.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.6.0...@aws-amplify/datastore@2.6.1) (2020-10-15)
|
|
507
318
|
|
|
508
|
-
|
|
509
319
|
### Bug Fixes
|
|
510
320
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
321
|
+
- **@aws-amplify/datastore:** fix DS subscriptions involving read operation ([#6954](https://github.com/aws-amplify/amplify-js/issues/6954)) ([2f74c6b](https://github.com/aws-amplify/amplify-js/commit/2f74c6b74d38af570017139f2ba8269dc1009135))
|
|
516
322
|
|
|
517
323
|
# [2.6.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.5.2...@aws-amplify/datastore@2.6.0) (2020-10-01)
|
|
518
324
|
|
|
519
|
-
|
|
520
325
|
### Bug Fixes
|
|
521
326
|
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
327
|
+
- **@aws-amplify/datastore:** add token to currentAuthenticatedUser for OIDC ([#6858](https://github.com/aws-amplify/amplify-js/issues/6858)) ([61f7478](https://github.com/aws-amplify/amplify-js/commit/61f7478609fce7dd2f25c562aeb887d3f3db4a67))
|
|
328
|
+
- **@aws-amplify/datastore:** check for token before getting payload ([#6893](https://github.com/aws-amplify/amplify-js/issues/6893)) ([880e1da](https://github.com/aws-amplify/amplify-js/commit/880e1da9d85b1caa3992bc7b4b6ace1a32eee525))
|
|
329
|
+
- **@aws-amplify/datastore:** correct validation for array values in models ([#6784](https://github.com/aws-amplify/amplify-js/issues/6784)) ([95f73e2](https://github.com/aws-amplify/amplify-js/commit/95f73e2d1b8eab2d9b8fc474ca2986f84d2a68e3))
|
|
330
|
+
- **@aws-amplify/datastore:** fix import isNullOrUndefined ([#6883](https://github.com/aws-amplify/amplify-js/issues/6883)) ([a55168b](https://github.com/aws-amplify/amplify-js/commit/a55168b0c6b794b337a5b2258fc22b5721a82e85))
|
|
527
331
|
|
|
528
332
|
### Features
|
|
529
333
|
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
334
|
+
- **@aws-amplify/datastore:** support indexeddb adapter on web worker ([#6874](https://github.com/aws-amplify/amplify-js/issues/6874)) ([e43e181](https://github.com/aws-amplify/amplify-js/commit/e43e18195ca201fa61bd0dfb1b18c06c3262f825))
|
|
535
335
|
|
|
536
336
|
## [2.5.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.5.1...@aws-amplify/datastore@2.5.2) (2020-09-25)
|
|
537
337
|
|
|
538
|
-
|
|
539
338
|
### Bug Fixes
|
|
540
339
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
340
|
+
- Add files with Amplify.register to sideEffects array ([#6867](https://github.com/aws-amplify/amplify-js/issues/6867)) ([58ddbf8](https://github.com/aws-amplify/amplify-js/commit/58ddbf8811e44695d97b6ab8be8f7cd2a2242921))
|
|
341
|
+
- **@aws-amplify/datastore:** use runExclusive when enqueuing ([#6828](https://github.com/aws-amplify/amplify-js/issues/6828)) ([26ce5df](https://github.com/aws-amplify/amplify-js/commit/26ce5dfb0270009fc10f003f5627046ddaf5ae4e))
|
|
547
342
|
|
|
548
343
|
## [2.5.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.5.0...@aws-amplify/datastore@2.5.1) (2020-09-16)
|
|
549
344
|
|
|
550
345
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
551
346
|
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
347
|
# [2.5.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.4.0...@aws-amplify/datastore@2.5.0) (2020-09-15)
|
|
557
348
|
|
|
558
|
-
|
|
559
349
|
### Bug Fixes
|
|
560
350
|
|
|
561
|
-
|
|
562
|
-
|
|
351
|
+
- **@aws-amplify/datastore:** Allow subscribing and querying with partial auth ([#6458](https://github.com/aws-amplify/amplify-js/issues/6458)) ([6abbf50](https://github.com/aws-amplify/amplify-js/commit/6abbf5053978420ef008fc45968a54d0762943de))
|
|
563
352
|
|
|
564
353
|
### Features
|
|
565
354
|
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
355
|
+
- **@aws-amplify/datastore:** add query sorting ([#6785](https://github.com/aws-amplify/amplify-js/issues/6785)) ([d9c2f5e](https://github.com/aws-amplify/amplify-js/commit/d9c2f5efbd5ad5dd97e441d7f453f8358f615199))
|
|
571
356
|
|
|
572
357
|
# [2.4.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.3.1...@aws-amplify/datastore@2.4.0) (2020-09-10)
|
|
573
358
|
|
|
574
|
-
|
|
575
359
|
### Features
|
|
576
360
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
361
|
+
- **@aws-amplify/datastore:** Add SSR support for DataStore ([#6726](https://github.com/aws-amplify/amplify-js/issues/6726)) ([e56aba6](https://github.com/aws-amplify/amplify-js/commit/e56aba642acc7eb3482f0e69454a530409d1b3ac))
|
|
582
362
|
|
|
583
363
|
## [2.3.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.3.0...@aws-amplify/datastore@2.3.1) (2020-09-03)
|
|
584
364
|
|
|
585
365
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
586
366
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
367
|
# [2.3.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.2.11...@aws-amplify/datastore@2.3.0) (2020-09-03)
|
|
592
368
|
|
|
593
|
-
|
|
594
369
|
### Bug Fixes
|
|
595
370
|
|
|
596
|
-
|
|
597
|
-
|
|
371
|
+
- **@aws-amplify/datastore:** DataStore regression with AsyncStorage ([#6712](https://github.com/aws-amplify/amplify-js/issues/6712)) ([7059556](https://github.com/aws-amplify/amplify-js/commit/7059556f693b4a52143ecaa9934a14f7195caee8))
|
|
598
372
|
|
|
599
373
|
### Features
|
|
600
374
|
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
375
|
+
- **SSR:** withSSRContext ([#6146](https://github.com/aws-amplify/amplify-js/issues/6146)) ([1cb1afd](https://github.com/aws-amplify/amplify-js/commit/1cb1afd1e56135908dceb2ef6403f0b3e78067fe))
|
|
606
376
|
|
|
607
377
|
## [2.2.11](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.2.10...@aws-amplify/datastore@2.2.11) (2020-09-01)
|
|
608
378
|
|
|
609
379
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
610
380
|
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
381
|
## [2.2.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.2.9...@aws-amplify/datastore@2.2.10) (2020-08-19)
|
|
616
382
|
|
|
617
383
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
618
384
|
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
385
|
## [2.2.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.2.8...@aws-amplify/datastore@2.2.9) (2020-08-06)
|
|
624
386
|
|
|
625
387
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
626
388
|
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
389
|
## [2.2.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.2.7...@aws-amplify/datastore@2.2.8) (2020-07-27)
|
|
632
390
|
|
|
633
391
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
634
392
|
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
393
|
## [2.2.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.2.6...@aws-amplify/datastore@2.2.7) (2020-07-22)
|
|
640
394
|
|
|
641
|
-
|
|
642
395
|
### Bug Fixes
|
|
643
396
|
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
397
|
+
- **@aws-amplify/datastore:** call disconnectionHandler on subscription error ([#6366](https://github.com/aws-amplify/amplify-js/issues/6366)) ([a7feace](https://github.com/aws-amplify/amplify-js/commit/a7feacea4ed506340d250249d0b15286fe3ef5fa))
|
|
649
398
|
|
|
650
399
|
## [2.2.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.2.5...@aws-amplify/datastore@2.2.6) (2020-07-09)
|
|
651
400
|
|
|
652
401
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
653
402
|
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
403
|
## [2.2.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.2.4...@aws-amplify/datastore@2.2.5) (2020-07-07)
|
|
659
404
|
|
|
660
|
-
|
|
661
405
|
### Bug Fixes
|
|
662
406
|
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
407
|
+
- **@aws-amplify/datastore:** give precedence to config.conflictHandler ([#6237](https://github.com/aws-amplify/amplify-js/issues/6237)) ([d616b76](https://github.com/aws-amplify/amplify-js/commit/d616b76aa054930bc816ad13be281bd9bd07f64c))
|
|
668
408
|
|
|
669
409
|
## [2.2.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.2.3...@aws-amplify/datastore@2.2.4) (2020-06-18)
|
|
670
410
|
|
|
671
411
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
672
412
|
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
413
|
## [2.2.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.2.2...@aws-amplify/datastore@2.2.3) (2020-06-09)
|
|
678
414
|
|
|
679
|
-
|
|
680
415
|
### Bug Fixes
|
|
681
416
|
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
417
|
+
- **@aws-amplify/datastore:** AsyncStorage - Save connections when doing batchSave ([#6027](https://github.com/aws-amplify/amplify-js/issues/6027)) ([d9a5b3e](https://github.com/aws-amplify/amplify-js/commit/d9a5b3ee2309f1703a349a8d39b2a65dcaac5f61))
|
|
418
|
+
- **@aws-amplify/datastore:** IndexedDB - Save connections when doing batchSave ([#6029](https://github.com/aws-amplify/amplify-js/issues/6029)) ([1a6e0ec](https://github.com/aws-amplify/amplify-js/commit/1a6e0ecff70556559d8fef6028ec4011775f5b95)), closes [#6027](https://github.com/aws-amplify/amplify-js/issues/6027)
|
|
419
|
+
- **@aws-amplify/datastore:** RN - fix queries don't do anything on the first load of the application ([#6010](https://github.com/aws-amplify/amplify-js/issues/6010)) ([b5347ab](https://github.com/aws-amplify/amplify-js/commit/b5347ab620763551060741a1b78e47c1abf7ee6a)), closes [#5991](https://github.com/aws-amplify/amplify-js/issues/5991)
|
|
420
|
+
- **@aws-amplify/datastore:** Save parent model with flattened ids for relations when batch saving results from GraphQL ([#6035](https://github.com/aws-amplify/amplify-js/issues/6035)) ([084b265](https://github.com/aws-amplify/amplify-js/commit/084b2653219d5b8cc0f952ebb74039b2a97e6261))
|
|
690
421
|
|
|
691
422
|
## [2.2.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.2.1...@aws-amplify/datastore@2.2.2) (2020-06-04)
|
|
692
423
|
|
|
693
|
-
|
|
694
424
|
### Bug Fixes
|
|
695
425
|
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
426
|
+
- **@aws-amplify/datastore:** Fix count when there is a mutation in the outbox ([#6001](https://github.com/aws-amplify/amplify-js/issues/6001)) ([d2fc76e](https://github.com/aws-amplify/amplify-js/commit/d2fc76e789ee1bcaf6c112e7b661089d746ac355))
|
|
701
427
|
|
|
702
428
|
## [2.2.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.2.0...@aws-amplify/datastore@2.2.1) (2020-06-03)
|
|
703
429
|
|
|
704
|
-
|
|
705
430
|
### Bug Fixes
|
|
706
431
|
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
432
|
+
- **@aws-amplify/datastore:** Fix performance undefined variable in RN ([#5984](https://github.com/aws-amplify/amplify-js/issues/5984)) ([da2726d](https://github.com/aws-amplify/amplify-js/commit/da2726d029c63d7472a32deffd1431322ec628ad))
|
|
433
|
+
- **@aws-amplify/datastore:** Fix potential NPE ([#5993](https://github.com/aws-amplify/amplify-js/issues/5993)) ([ccb6906](https://github.com/aws-amplify/amplify-js/commit/ccb69065a3d92ec4ec79184b0d55f069bb652980))
|
|
713
434
|
|
|
714
435
|
# [2.2.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.1.2...@aws-amplify/datastore@2.2.0) (2020-06-02)
|
|
715
436
|
|
|
716
|
-
|
|
717
437
|
### Bug Fixes
|
|
718
438
|
|
|
719
|
-
|
|
720
|
-
|
|
439
|
+
- **@aws-amplify/datastore:** Allow partial subscriptions. ([#5968](https://github.com/aws-amplify/amplify-js/issues/5968)) ([3331e9a](https://github.com/aws-amplify/amplify-js/commit/3331e9a713b38bb672aca5dc667ecef30b8820ce))
|
|
721
440
|
|
|
722
441
|
### Features
|
|
723
442
|
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
443
|
+
- **@aws-amplify/datastore:** Sync Status Notification. Performance Improvements. ([#5942](https://github.com/aws-amplify/amplify-js/issues/5942)) ([67fac50](https://github.com/aws-amplify/amplify-js/commit/67fac50cd734338ac76797d06111fc5ca911bd48))
|
|
729
444
|
|
|
730
445
|
## [2.1.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.1.1...@aws-amplify/datastore@2.1.2) (2020-05-26)
|
|
731
446
|
|
|
732
447
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
733
448
|
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
449
|
## [2.1.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.1.0...@aws-amplify/datastore@2.1.1) (2020-05-22)
|
|
739
450
|
|
|
740
|
-
|
|
741
451
|
### Bug Fixes
|
|
742
452
|
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
453
|
+
- **@aws-amplify/datastore:** Fix subscription creation with model subscription level is public ([#5390](https://github.com/aws-amplify/amplify-js/issues/5390)) ([fff7daa](https://github.com/aws-amplify/amplify-js/commit/fff7daa25cab50933a149e88a7b67a4d83be0089))
|
|
748
454
|
|
|
749
455
|
# [2.1.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.0.10...@aws-amplify/datastore@2.1.0) (2020-05-14)
|
|
750
456
|
|
|
751
|
-
|
|
752
457
|
### Bug Fixes
|
|
753
458
|
|
|
754
|
-
|
|
755
|
-
|
|
459
|
+
- require cycles in various packages ([#5372](https://github.com/aws-amplify/amplify-js/issues/5372)) ([b48c26d](https://github.com/aws-amplify/amplify-js/commit/b48c26d198cc25dd92f1515ddf2a97deec5c9783))
|
|
756
460
|
|
|
757
461
|
### Features
|
|
758
462
|
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
463
|
+
- **@aws-amplify/datastore:** enable keyName relations ([#5778](https://github.com/aws-amplify/amplify-js/issues/5778)) ([9019acf](https://github.com/aws-amplify/amplify-js/commit/9019acfd180d3e569e64c999fd216b16a9d6b799))
|
|
764
464
|
|
|
765
465
|
## [2.0.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.0.9...@aws-amplify/datastore@2.0.10) (2020-04-30)
|
|
766
466
|
|
|
767
467
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
768
468
|
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
469
|
## [2.0.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.0.8...@aws-amplify/datastore@2.0.9) (2020-04-24)
|
|
774
470
|
|
|
775
|
-
|
|
776
471
|
### Bug Fixes
|
|
777
472
|
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
473
|
+
- **@aws-amplify/datastore:** Improve query and observe typings ([#5468](https://github.com/aws-amplify/amplify-js/issues/5468)) ([84286be](https://github.com/aws-amplify/amplify-js/commit/84286be109d7f50eac83a9694e75b61500cc8a83))
|
|
783
474
|
|
|
784
475
|
## [2.0.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.0.7...@aws-amplify/datastore@2.0.8) (2020-04-14)
|
|
785
476
|
|
|
786
477
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
787
478
|
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
479
|
## [2.0.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.0.6...@aws-amplify/datastore@2.0.7) (2020-04-08)
|
|
793
480
|
|
|
794
481
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
795
482
|
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
483
|
## [2.0.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.0.5...@aws-amplify/datastore@2.0.6) (2020-04-07)
|
|
801
484
|
|
|
802
485
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
803
486
|
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
487
|
## [2.0.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.0.4...@aws-amplify/datastore@2.0.5) (2020-04-03)
|
|
809
488
|
|
|
810
489
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
811
490
|
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
491
|
## [2.0.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.0.3...@aws-amplify/datastore@2.0.4) (2020-04-02)
|
|
817
492
|
|
|
818
493
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
819
494
|
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
495
|
## [2.0.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.0.2...@aws-amplify/datastore@2.0.3) (2020-04-01)
|
|
825
496
|
|
|
826
497
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
827
498
|
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
499
|
## [2.0.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@2.0.1...@aws-amplify/datastore@2.0.2) (2020-04-01)
|
|
833
500
|
|
|
834
501
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
835
502
|
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
503
|
## [2.0.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@1.2.0...@aws-amplify/datastore@2.0.1) (2020-03-31)
|
|
841
504
|
|
|
842
505
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
843
506
|
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
507
|
# [1.2.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@1.1.0...@aws-amplify/datastore@1.2.0) (2020-03-30)
|
|
849
508
|
|
|
850
509
|
### Bug Fixes
|