feat(ui-scripts): annotate changelog entries with component versions - #2678
Open
git-nandor wants to merge 1 commit into
Open
Conversation
Prefix each changelog entry with the published component version(s) the change touched (e.g. "[v11.6, v11.7] ui-form-field: ..."), so consumers see which version(s) received a fix. A conventional-changelog preset (scripts/component-versions/), wired into `lerna version` via --changelog-preset, computes the versions from each commit's changed files by tracing them through the lettered export files to the ./vX_Y package.json export keys. Files outside a versioned component folder get no prefix. The /commit flow also records the versions as a Component-Versions git trailer (via staged-versions.cjs) for git-log visibility; the changelog does not depend on it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
|
Contributor
Visual regression report
Diff images (33)alert.png — baseline no longer producedavatar.png — baseline no longer producedbadge.png — baseline no longer producedbillboard.png — baseline no longer producedbreadcrumb.png — baseline no longer producedbutton-and-derivatives.png — baseline no longer producedbyline.png — baseline no longer producedcalendar.png — baseline no longer producedcheckbox.png — baseline no longer producedcheckboxgroup.png — baseline no longer producedcolorpicker.png — baseline no longer producedcontextview.png — baseline no longer producedcustom-and-lucide-icons.png — baseline no longer produceddateinput-dateinput2.png — baseline no longer produceddatetimeinput.png — baseline no longer produceddiff-demo.png — 6324 pixels differdrilldown.png — baseline no longer producedfiledrop.png — baseline no longer producedform-errors.png — baseline no longer producedheading.png — baseline no longer producedimg.png — baseline no longer producedlink.png — baseline no longer producedmenu.png — baseline no longer producedmetric-pill-tag-timeselect-text.png — baseline no longer producedoptions.png — baseline no longer producedpagination.png — baseline no longer producedprogressbar.png — baseline no longer producedselect-simpleselect.png — baseline no longer producedtable.png — baseline no longer producedtabs.png — baseline no longer producedtooltip.png — baseline no longer producedtreebrowser.png — baseline no longer producedview.png — baseline no longer producedBaselines come from the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
[v11.6, v11.7] …), computed at release time from each commit's changed files by a conventional-changelog preset wired intolerna version./commitalso records the versions as aComponent-Versions:git trailer (viascripts/component-versions/staged-versions.cjs) forgit logvisibility; the changelog does not depend on it../vX_Ypackage.jsonkeys), so it handles shared/mixed folders and any futurevNwith no code change.Test Plan
lerna versiondry-run (or the release flow on a scratch branch) and confirm entries are prefixed with[v11.x], and commits touching only non-versioned files get no prefix.<Component>/v1/and a<Component>/v2/folder and confirmnode scripts/component-versions/staged-versions.cjsprintsComponent-Versions: v11.6, v11.7.Fixes INSTUI-5132
🤖 Generated with Claude Code