@adobe/helix-config 5.9.0 → 5.9.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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [5.9.2](https://github.com/adobe/helix-config/compare/v5.9.1...v5.9.2) (2026-02-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * load default profile for helix4 ([#357](https://github.com/adobe/helix-config/issues/357)) ([25ad079](https://github.com/adobe/helix-config/commit/25ad07978e8a1e328e19dc964fb97b087ea9b910))
7
+
8
+ ## [5.9.1](https://github.com/adobe/helix-config/compare/v5.9.0...v5.9.1) (2026-01-07)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * trust custom review host ([#350](https://github.com/adobe/helix-config/issues/350)) ([6ec7d2d](https://github.com/adobe/helix-config/commit/6ec7d2d5d85f186df3c5adc6980f4e7923378817))
14
+
1
15
  # [5.9.0](https://github.com/adobe/helix-config/compare/v5.8.0...v5.9.0) (2026-01-07)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config",
3
- "version": "5.9.0",
3
+ "version": "5.9.2",
4
4
  "description": "Helix Config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -35,8 +35,8 @@
35
35
  "reporter-options": "configFile=.mocha-multi.json"
36
36
  },
37
37
  "devDependencies": {
38
- "@adobe/eslint-config-helix": "3.0.15",
39
- "@eslint/config-helpers": "0.5.0",
38
+ "@adobe/eslint-config-helix": "3.0.19",
39
+ "@eslint/config-helpers": "0.5.2",
40
40
  "@semantic-release/changelog": "6.0.3",
41
41
  "@semantic-release/git": "10.0.1",
42
42
  "@semantic-release/npm": "13.1.3",
@@ -48,7 +48,7 @@
48
48
  "mocha": "11.7.5",
49
49
  "mocha-multi-reporters": "1.5.1",
50
50
  "mocha-suppress-logs": "0.6.0",
51
- "semantic-release": "25.0.2"
51
+ "semantic-release": "25.0.3"
52
52
  },
53
53
  "lint-staged": {
54
54
  "*.js": "eslint",
@@ -194,6 +194,8 @@ export async function resolveLegacyConfig(ctx, rso, scope) {
194
194
  config.robots = await fetchRobotsTxt(ctx, rso.org, rso.site);
195
195
  if (!config.robots.txt) {
196
196
  delete config.robots;
197
+ } else {
198
+ cfg.updateLastModified(config.robots);
197
199
  }
198
200
  }
199
201
  if ((scope === SCOPE_ADMIN || scope === SCOPE_RAW) && configAllPreview?.config?.data?.metadata) {
@@ -25,6 +25,7 @@ const ROOT_PROPERTIES = {
25
25
  code: { atomic: true },
26
26
  folders: {},
27
27
  headers: { isModifier: true },
28
+ head: {},
28
29
  cdn: {},
29
30
  access: {},
30
31
  sidekick: {},
@@ -304,8 +304,8 @@ async function resolveConfig(ctx, rso, scope) {
304
304
  if (config) {
305
305
  ctx.timer?.update('profile');
306
306
  const profile = await loadProfile(ctx, rso, 'default');
307
- config.data.tokens = profile?.data.tokens || {};
308
- config.data.secrets = profile?.data.secrets || {};
307
+ config.merge(profile);
308
+ config.data.legacy = true;
309
309
  }
310
310
  return config;
311
311
  }
@@ -573,6 +573,10 @@ function computeTrustedHosts(org, site, siteConfig) {
573
573
  trustedHosts.push(siteConfig.cdn.preview.host);
574
574
  }
575
575
 
576
+ if (siteConfig.cdn?.review?.host) {
577
+ trustedHosts.push(siteConfig.cdn.review.host);
578
+ }
579
+
576
580
  if (siteConfig.cdn?.live?.host) {
577
581
  trustedHosts.push(siteConfig.cdn.live.host);
578
582
  }