Skip to content

chore(release): surface dependency updates as a release-notes section - #148

Merged
mbryantms merged 1 commit into
mainfrom
chore/release-notes-deps-section
Jun 12, 2026
Merged

mbryantms merged 1 commit into
mainfrom
chore/release-notes-deps-section

Conversation

@mbryantms

Copy link
Copy Markdown
Owner

Summary

Dependency bumps now get their own Dependencies section in release notes instead of being split between hidden chores and the Fixed section.

Two coordinated config changes:

  • renovate.json: extends :semanticCommitTypeAll(deps) + :semanticCommitScopeDisabled, so every Renovate commit/PR title becomes deps: update X to vY (previously chore(deps): for dev/lockfile updates and fix(deps): for prod deps). Validated with renovate-config-validator.
  • release-please-config.json: adds {"type": "deps", "section": "Dependencies"} to changelog-sections.

Behavior notes

release-please proposes a release only when the generated notes are non-empty (verified empirically on this repo: the scalar chore(deps) merge sat 81 minutes without a release PR; the fix(rails) merge produced one in 24 seconds). Making the deps section visible therefore changes releasability in both directions, deliberately:

  • Prod-dep bumps (previously fix → releasable) stay releasable as patch bumps.
  • Dev-dep/lockfile bumps (previously hidden chore → no release PR) now also propose a patch release PR. Shipping still requires a human to merge the release PR, so this just makes the pending-release state visible rather than forcing releases.

Commits merged before this change keep their old types — the Dependencies section starts collecting from the next Renovate merge. Renovate will retitle its open PRs (#143 scalar, #146 lock-file maintenance) on its next run.

Renovate commits move from chore(deps)/fix(deps) to a bare `deps:` type
(:semanticCommitTypeAll + :semanticCommitScopeDisabled), and
release-please maps that type to a visible "Dependencies" changelog
section.

Because release-please proposes a release only when the generated notes
are non-empty, the visible section also changes releasability in both
directions deliberately: prod-dep bumps (previously fix → releasable)
stay releasable, and dev-dep/lockfile bumps (previously hidden chore →
no release PR) now propose a patch release too. Cutting the release
remains a human decision at the release-PR merge.

Already-merged commits keep their old types; the section starts
collecting from the next Renovate merge. Renovate retitles its open PRs
(#143, #146) on its next run.
@mbryantms
mbryantms merged commit 26d0f12 into main Jun 12, 2026
9 checks passed
@mbryantms
mbryantms deleted the chore/release-notes-deps-section branch June 12, 2026 00:08
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