Repository navigation
fix(changelog): parse Renovate change cells with the Unicode arrow - #937
Merged
Merged
Conversation
Renovate renders change cells with U+2192 (→), not ASCII ->, so the table parser silently drops every real Renovate PR. Add failing tests for quoted and unquoted (digest) cells. Refs: #936
Renovate renders the update-table change cell with U+2192 (→); the parser matched only ASCII ->, so grouped dependency PRs produced no changelog entry. Accept both arrows. Refs: #936
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
The autochangelog was silently dropping grouped Renovate PRs.
renovate-changelog-prparsed the update table only when the change cell used an ASCII->, but Renovate renders it with the Unicode arrow→(U+2192), e.g.`v4.2.0` → `v4.4.0`. So_parse_table_updatesreturned[]for every real Renovate PR body; a changelog entry only appeared when the PR title matched the fallback (digest bumps, singleupdate X to Y). Grouped PRs (#866) and pins got nothing.Discovered while verifying autochangelog behaviour on the recreated #862/#866.
Change
_parse_change_cell: accept both→and->(quoted and unquoted/digest cells).TDD
6097c9c7): tests with the real Unicode arrow — failed (parser returned[]).daf2e54e): widen the regex — 14/14 file tests pass, full vig-utils suite 516 passed.trivy,setup-uv,docker/login-action).Root
CHANGELOG.md+ its verbatim.devcontainermirror updated in lockstep. Full pre-commit suite green.Refs: #936
Closes #936