@adobe/spacecat-shared-data-access 2.17.0 → 2.17.2
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 +14 -0
- package/package.json +3 -3
- package/src/models/base/base.collection.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v2.17.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.17.1...@adobe/spacecat-shared-data-access-v2.17.2) (2025-05-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* collection._saveMany deals with empty `.unprocessed` array in response ([#721](https://github.com/adobe/spacecat-shared/issues/721)) ([2750273](https://github.com/adobe/spacecat-shared/commit/27502735d2759d83a65129cb2c0ccb09f974368d))
|
|
7
|
+
|
|
8
|
+
# [@adobe/spacecat-shared-data-access-v2.17.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.17.0...@adobe/spacecat-shared-data-access-v2.17.1) (2025-05-03)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update external fixes ([#712](https://github.com/adobe/spacecat-shared/issues/712)) ([76cebd2](https://github.com/adobe/spacecat-shared/commit/76cebd2a7a7b9799e4ca265833620eada01f5c8c))
|
|
14
|
+
|
|
1
15
|
# [@adobe/spacecat-shared-data-access-v2.17.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.16.1...@adobe/spacecat-shared-data-access-v2.17.0) (2025-04-28)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spacecat-shared-data-access",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.2",
|
|
4
4
|
"description": "Shared modules of the Spacecat Services - Data Access",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@adobe/spacecat-shared-utils": "1.33.1",
|
|
38
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
39
|
-
"@aws-sdk/lib-dynamodb": "3.
|
|
38
|
+
"@aws-sdk/client-dynamodb": "3.799.0",
|
|
39
|
+
"@aws-sdk/lib-dynamodb": "3.799.0",
|
|
40
40
|
"@types/joi": "17.2.3",
|
|
41
41
|
"aws-xray-sdk": "3.10.3",
|
|
42
42
|
"electrodb": "3.4.1",
|
|
@@ -508,7 +508,7 @@ class BaseCollection {
|
|
|
508
508
|
const updates = items.map((item) => item.record);
|
|
509
509
|
const response = await this.entity.put(updates).go();
|
|
510
510
|
|
|
511
|
-
if (response.unprocessed) {
|
|
511
|
+
if (isNonEmptyArray(response.unprocessed)) {
|
|
512
512
|
this.log.error(`Failed to process all items in batch write for [${this.entityName}]: ${JSON.stringify(response.unprocessed)}`);
|
|
513
513
|
}
|
|
514
514
|
|