From 9d712d3e808bc68acbfb2bf83518e6b0f61f9c41 Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Mon, 26 Jan 2026 10:26:47 +0000 Subject: [PATCH] Remove old format support Signed-off-by: Charles de Dreuille --- docs-ui/scripts/sync-changelog.mjs | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/docs-ui/scripts/sync-changelog.mjs b/docs-ui/scripts/sync-changelog.mjs index 5d89b87242..6b56edd84b 100644 --- a/docs-ui/scripts/sync-changelog.mjs +++ b/docs-ui/scripts/sync-changelog.mjs @@ -329,27 +329,6 @@ async function parseListItem( description = description .replace(/\n*\*\*Affected components:\*\*[ \t]*[^\n]+/g, '') .trim(); - } else { - // Fallback: try old format without bold markers for backwards compatibility - // Some older changelog entries may not have been migrated to the new format - const oldFormatMatch = description.match( - /Affected components?:\s*([^\n]+)/i, - ); - if (oldFormatMatch) { - const componentNames = oldFormatMatch[1] - .split(',') - .map(name => name.trim()) - .filter(Boolean); - - components = componentNames - .map(name => mapComponentName(name, validComponents)) - .filter(Boolean); - - // Strip old format line from description - description = description - .replace(/\n*Affected components?:[ \t]*[^\n]+/i, '') - .trim(); - } } // Extract migration notes using bold marker (standard format)