@aws-amplify/datastore 3.6.2-unstable.2 → 3.7.1-unstable.3
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 +11 -0
- package/dist/aws-amplify-datastore.js +4 -2
- package/dist/aws-amplify-datastore.js.map +1 -1
- package/dist/aws-amplify-datastore.min.js +2 -2
- package/dist/aws-amplify-datastore.min.js.map +1 -1
- package/lib/storage/storage.js +2 -1
- package/lib/storage/storage.js.map +1 -1
- package/lib-esm/storage/storage.js +2 -1
- package/lib-esm/storage/storage.js.map +1 -1
- package/package.json +9 -9
- package/src/storage/storage.ts +12 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
# [3.7.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.6.1...@aws-amplify/datastore@3.7.0) (2021-11-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **@aws-amplify/datastore:** hasOne CRUD improvements ([#9239](https://github.com/aws-amplify/amplify-js/issues/9239)) ([d521d17](https://github.com/aws-amplify/amplify-js/commit/d521d17c45a246c63c02a29e103e8a3db374c11e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [3.6.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.6.0...@aws-amplify/datastore@3.6.1) (2021-11-16)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-amplify/datastore
|
|
@@ -70458,7 +70458,7 @@ var getAmplifyUserAgent = function getAmplifyUserAgent() {
|
|
|
70458
70458
|
__webpack_require__.r(__webpack_exports__);
|
|
70459
70459
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return version; });
|
|
70460
70460
|
// generated by genversion
|
|
70461
|
-
var version = '4.3.
|
|
70461
|
+
var version = '4.3.8';
|
|
70462
70462
|
|
|
70463
70463
|
/***/ }),
|
|
70464
70464
|
|
|
@@ -88894,7 +88894,9 @@ function () {
|
|
|
88894
88894
|
updatedFields.forEach(function (field) {
|
|
88895
88895
|
var e_2, _a, e_3, _b;
|
|
88896
88896
|
|
|
88897
|
-
var
|
|
88897
|
+
var _c;
|
|
88898
|
+
|
|
88899
|
+
var targetName = Object(_types__WEBPACK_IMPORTED_MODULE_3__["isTargetNameAssociation"])((_c = fields[field]) === null || _c === void 0 ? void 0 : _c.association); // if field refers to a belongsTo relation, use the target field instead
|
|
88898
88900
|
|
|
88899
88901
|
var key = targetName || field; // check field values by value. Ignore unchanged fields
|
|
88900
88902
|
|