Repository navigation
chore(release): surface dependency updates as a release-notes section - #148
Merged
Merged
Conversation
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.
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
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 becomesdeps: update X to vY(previouslychore(deps):for dev/lockfile updates andfix(deps):for prod deps). Validated withrenovate-config-validator.release-please-config.json: adds{"type": "deps", "section": "Dependencies"}tochangelog-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; thefix(rails)merge produced one in 24 seconds). Making the deps section visible therefore changes releasability in both directions, deliberately:fix→ releasable) stay releasable as patch bumps.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.