Skip to content

fix(changelog): parse Renovate change cells with the Unicode arrow - #937

Merged
c-vigo merged 2 commits into
devfrom
bugfix/936-changelog-unicode-arrow
Jul 8, 2026
Merged

c-vigo merged 2 commits into
devfrom
bugfix/936-changelog-unicode-arrow

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

The autochangelog was silently dropping grouped Renovate PRs. renovate-changelog-pr parsed 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_updates returned [] for every real Renovate PR body; a changelog entry only appeared when the PR title matched the fallback (digest bumps, single update 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

  • RED (6097c9c7): tests with the real Unicode arrow — failed (parser returned []).
  • GREEN (daf2e54e): widen the regex — 14/14 file tests pass, full vig-utils suite 516 passed.
  • End-to-end: the real ci(actions): update github-actions (minor and patch) #866 body now parses all three updates (trivy, setup-uv, docker/login-action).

Root CHANGELOG.md + its verbatim .devcontainer mirror updated in lockstep. Full pre-commit suite green.

Refs: #936
Closes #936

c-vigo added 2 commits July 8, 2026 15:51
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
@c-vigo
c-vigo enabled auto-merge July 8, 2026 14:00
@c-vigo
c-vigo merged commit b87a781 into dev Jul 8, 2026
13 checks passed
@c-vigo
c-vigo deleted the bugfix/936-changelog-unicode-arrow branch July 8, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant