@adobe/spacecat-shared-data-access 3.8.0 → 3.9.0

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 CHANGED
@@ -1,3 +1,9 @@
1
+ ## [@adobe/spacecat-shared-data-access-v3.9.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.8.0...@adobe/spacecat-shared-data-access-v3.9.0) (2026-03-05)
2
+
3
+ ### Features
4
+
5
+ * add optional aws region to cdn bucket config ([#1404](https://github.com/adobe/spacecat-shared/issues/1404)) ([76a7051](https://github.com/adobe/spacecat-shared/commit/76a7051f465d0d43cb03875fcc77b3ff174c4317))
6
+
1
7
  ## [@adobe/spacecat-shared-data-access-v3.8.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.7.0...@adobe/spacecat-shared-data-access-v3.8.0) (2026-03-05)
2
8
 
3
9
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "3.8.0",
3
+ "version": "3.9.0",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -46,6 +46,7 @@ export const IMPORT_SOURCES = {
46
46
  };
47
47
 
48
48
  const LLMO_TAG_PATTERN = /^(market|product|topic):\s?.+/;
49
+ const AWS_REGION_PATTERN = /^[a-z]{2}(?:-[a-z]+)+-\d+$/i;
49
50
  const LLMO_TAG = Joi.alternatives()
50
51
  .try(
51
52
  // Tag market, product, topic like this: "market: ch", "product: firefly", "topic: copyright"
@@ -324,6 +325,7 @@ export const configSchema = Joi.object({
324
325
  bucketName: Joi.string().optional(),
325
326
  orgId: Joi.string().optional(),
326
327
  cdnProvider: Joi.string().optional(),
328
+ region: Joi.string().pattern(AWS_REGION_PATTERN).optional(),
327
329
  }).optional(),
328
330
  }).optional(),
329
331
  cdnLogsConfig: Joi.object({