@adobe/helix-config 4.5.11 → 4.6.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 +14 -0
- package/package.json +3 -3
- package/src/config-view.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [4.6.0](https://github.com/adobe/helix-config/compare/v4.5.12...v4.6.0) (2024-10-31)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* include last modified in config ([#207](https://github.com/adobe/helix-config/issues/207)) ([690add1](https://github.com/adobe/helix-config/commit/690add13fc90e665e020bf39918ed89d42795209))
|
|
7
|
+
|
|
8
|
+
## [4.5.12](https://github.com/adobe/helix-config/compare/v4.5.11...v4.5.12) (2024-10-29)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update dependency @adobe/helix-shared-config to v11.0.7 ([0499756](https://github.com/adobe/helix-config/commit/049975651ff492e5d9e1bb4c627cbfabb8dff39a))
|
|
14
|
+
|
|
1
15
|
## [4.5.11](https://github.com/adobe/helix-config/compare/v4.5.10...v4.5.11) (2024-10-19)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-config",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "Helix Config",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"mocha-multi-reporters": "1.5.1",
|
|
49
49
|
"mocha-suppress-logs": "0.5.1",
|
|
50
50
|
"nock": "13.5.5",
|
|
51
|
-
"semantic-release": "24.
|
|
51
|
+
"semantic-release": "24.2.0"
|
|
52
52
|
},
|
|
53
53
|
"lint-staged": {
|
|
54
54
|
"*.js": "eslint",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@adobe/fetch": "4.1.9",
|
|
59
|
-
"@adobe/helix-shared-config": "11.0.
|
|
59
|
+
"@adobe/helix-shared-config": "11.0.7",
|
|
60
60
|
"@adobe/helix-shared-utils": "3.0.2"
|
|
61
61
|
}
|
|
62
62
|
}
|
package/src/config-view.js
CHANGED
|
@@ -451,7 +451,6 @@ export async function getConfigResponse(ctx, opts) {
|
|
|
451
451
|
|
|
452
452
|
if (siteConfig.lastModified) {
|
|
453
453
|
headers['last-modified'] = siteConfig.lastModified;
|
|
454
|
-
delete siteConfig.lastModified;
|
|
455
454
|
delete siteConfig.lastModifiedTime;
|
|
456
455
|
}
|
|
457
456
|
|
|
@@ -529,6 +528,7 @@ export async function getConfigResponse(ctx, opts) {
|
|
|
529
528
|
robots: config.robots,
|
|
530
529
|
access: config.access,
|
|
531
530
|
legacy: config.legacy,
|
|
531
|
+
lastModified: siteConfig.lastModified,
|
|
532
532
|
};
|
|
533
533
|
return new PipelineResponse(JSON.stringify(pipelineConfig, null, 2), {
|
|
534
534
|
headers: {
|