@adobe/helix-html-pipeline 6.28.0 → 6.28.1
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,10 @@
|
|
|
1
|
+
## [6.28.1](https://github.com/adobe/helix-html-pipeline/compare/v6.28.0...v6.28.1) (2026-04-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* delay section metadata rollout to may 1 ([#1064](https://github.com/adobe/helix-html-pipeline/issues/1064)) ([5d69951](https://github.com/adobe/helix-html-pipeline/commit/5d69951459ff168595a1213c0e10627ee3970a00))
|
|
7
|
+
|
|
1
8
|
# [6.28.0](https://github.com/adobe/helix-html-pipeline/compare/v6.27.30...v6.28.0) (2026-03-31)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-html-pipeline",
|
|
3
|
-
"version": "6.28.
|
|
3
|
+
"version": "6.28.1",
|
|
4
4
|
"description": "Helix HTML Pipeline",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"unist-util-visit-parents": "6.0.2"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@adobe/eslint-config-helix": "3.0.
|
|
73
|
+
"@adobe/eslint-config-helix": "3.0.24",
|
|
74
74
|
"@eslint/config-helpers": "0.5.3",
|
|
75
75
|
"@markedjs/html-differ": "5.0.4",
|
|
76
76
|
"@semantic-release/changelog": "6.0.3",
|
|
@@ -17,7 +17,7 @@ import { toBlockCSSClassNames } from './utils.js';
|
|
|
17
17
|
/**
|
|
18
18
|
* Checks whether section metadata processing is enabled for the current site.
|
|
19
19
|
* It is enabled if the rendering version is >= 2, or if no version is set
|
|
20
|
-
* and the site was created on or after
|
|
20
|
+
* and the site was created on or after May 1, 2026.
|
|
21
21
|
* @param {PipelineSiteConfig} config
|
|
22
22
|
* @returns {boolean}
|
|
23
23
|
*/
|
|
@@ -26,7 +26,7 @@ function isSectionMetadataEnabled(config) {
|
|
|
26
26
|
if (version !== undefined) {
|
|
27
27
|
return version >= 2;
|
|
28
28
|
}
|
|
29
|
-
return new Date(config.created) >= new Date('2026-
|
|
29
|
+
return new Date(config.created) >= new Date('2026-05-01');
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
@@ -91,7 +91,9 @@ function sectiontype(section) {
|
|
|
91
91
|
let prefix = 'has';
|
|
92
92
|
if (p.type === 'text') {
|
|
93
93
|
// do not count "empty" paragraphs
|
|
94
|
-
if (p.value === '\n' || p.value === '')
|
|
94
|
+
if (p.value === '\n' || p.value === '') {
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
95
97
|
|
|
96
98
|
// paragraph with type text "is" a text
|
|
97
99
|
prefix = 'is';
|