feat: bump dependency ranges in Renovate pull requests - #10323
Merged
Merged
Conversation
cryptodev-2s
marked this pull request as ready for review
September 21, 2026 15:48
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f2a33f8. Configure here.
mcmire
approved these changes
Sep 21, 2026
| }, | ||
| "packageRules": [ | ||
| { | ||
| "description": "Restores the default for peer ranges, which `rangeStrategy` above would otherwise override. Peer ranges are deliberately wide, so they get broadened rather than raised.", |
Collaborator
There was a problem hiding this comment.
Didn't realize that this was the default for peer dependencies (source here). I would think that Renovate would leave peer deps alone, but I guess that strategy may limit the degree could upgrade production deps. I guess we can see how well this strategy works out in practice. We don't have many peer deps anyway so maybe it doesn't matter.
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.

Explanation
By default Renovate leaves a manifest alone when the new version already satisfies the declared range, so #10318 bumped
ts-jestto 29.4.12 inyarn.lockand touched nopackage.jsonat all. That keeps the declared minimum at the old version and produces no changelog entry, since nothing published changed.We want a changelog entry for every dependency bump, so
rangeStrategy: bumpmoves the range with the release:^29.4.11becomes^29.4.12across every workspace that declares it, the same as Dependabot does today. Out of range updates like #10320 already behaved this way.peerDependenciesare exempted back towiden. An explicitrangeStrategyoverrides Renovate's peer handling (npm/range.ts), and 11 peer entries here have simple ranges that would be narrowed rather than broadened,@babel/runtime ^7.0.0most obviously. The other 11 are complex ranges like^16.8.0 || ^17.0.0and widen regardless.The cost is diff size. A single patch now rewrites the same line in every manifest that declares the dependency, and each of those packages needs an entry. #10322 is what writes them.
Important
Depends on #10322. Without it the repair workflow still skips Renovate pull requests, and every one of them lands red on
Check changelog.References
Depends on #10322. Follows #10317. Part of WPC-1161.
Checklist
Note
Low Risk
Tooling-only change to Renovate; it does not alter runtime code, but it will enlarge dependency PR diffs across workspaces.
Overview
Renovate is configured to raise semver ranges in
package.jsonwhen a newer release still satisfies the existing constraint (rangeStrategy: bump), matching Dependabot behavior so lockfile-only bumps no longer skip manifest updates and downstream changelog tooling can see a published change.A peer-only override sets
rangeStrategy: widenforpeerDependencies, undoing the global bump so wide peer ranges stay broadened instead of tightened.Note: This is meant to work with the changelog repair workflow in #10322; without that, Renovate PRs may fail
Check changelog.Reviewed by Cursor Bugbot for commit 9ab221a. Bugbot is set up for automated code reviews on this repo. Configure here.