Keep published dependency updates in the generated changelog

Merged
UN
7d ago
+83-4

Problem

Regenerating the changelog without --dependency-updates keeps Dependabot notes only for itemless release windows. Published dependency pull requests that landed in windows with tracked items are dropped on the next generation, check, or release-notes render.

Design

Pass --dependency-updates from every direct package changelog invocation: changelog, changelog:full, changelog:check, and release:notes. changelog:automation delegates to changelog:full, so it inherits the flag. No dependency pin is changed.

Before / after

With fetched tags, the unflagged generator keeps the two published itemless dependency bullets and omits 27 others. The flag restores all 27 (published dependency PRs 2, 3, 4, 6, 9, 10, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 36, 37, 39, 41, 42, 43, 54). The ledger now has 29 dependency bullets.

Revert proof

Removing only --dependency-updates from the package scripts fails package changelog entry points retain dependency updates at the changelog entry point. Restoring the flag makes that test pass (1/1).

Gates

Typecheck, lint, and the identity gate passed (0 violations). Focused tests that read the package scripts and changelog automation passed 10/10. changelog:check and release:notes passed after the last tracker write. The full release gate is left to CI.

Tracker

https://github.com/unbraind/pm-http/blob/main/.agents/pm/chores/pm-http-9l2n.toon


Summary by cubic

Keeps published dependency updates in generated changelogs by passing --dependency-updates from every package changelog entry point (changelog, changelog:full, changelog:check, release:notes). changelog:automation delegates to changelog:full and inherits the flag.

Previously, regeneration dropped Dependabot bullets from release windows that already had tracked items, keeping only dependency notes from itemless windows. Now all published dependency PRs appear across generation, checks, and release notes.

Bug Fixes

  • Restores 27 previously omitted dependency bullets in CHANGELOG.md for windows with tracked items.
  • Adds a regression test that fails unless every changelog entry point retains --dependency-updates.

Summary by Sourcery

Keep published dependency updates in generated changelogs across all release workflows.

Bug Fixes:

  • Preserve published dependency updates when generating, validating, and rendering release changelogs.

Enhancements:

  • Enable dependency-update inclusion across all package changelog entry points, including delegated automation workflows.

Tests:

  • Add regression coverage verifying every changelog entry point opts in to dependency updates.