Skip to content

Commit

Permalink
Revert range strategy to "replace"
Browse files Browse the repository at this point in the history
Per renovatebot/renovate#19800, the "auto" strategy now raises
additional PRs to update dependencies in range. This is either
unsuitable for our use case or bugged, as we have "lockfile update" PRs
(as denoted by a `-lockfile` branch suffix) which are bumping the
in-range version of a package's production dependencies. This means that
e.g. `^2.0.0` gets bumped to `^2.1.0` and so on, and results in a lot of
transitive noise for projects that consume the package.

This _may_ break the previous behaviour of widening peer dependency
ranges, but's a lesser concern now and I'm following up on the Renovate
recommendation for handling this use case.

https://docs.renovatebot.com/release-notes-for-major-versions/#version-35

renovatebot/renovate#20990
  • Loading branch information
72636c committed Mar 17, 2023
1 parent 9416de6 commit 8e6415f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion default.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
"postUpdateOptions": ["yarnDedupeHighest"],
"prConcurrentLimit": 3,
"prNotPendingHours": 1,
"rangeStrategy": "auto",
"rangeStrategy": "replace",
"schedule": "after 3:00 am and before 6:00 am on Monday and Friday",
"semanticCommitScope": "",
"semanticCommitType": "deps",
Expand Down
2 changes: 1 addition & 1 deletion third-party-major.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"postUpdateOptions": ["yarnDedupeHighest"],
"prConcurrentLimit": 3,
"prNotPendingHours": 1,
"rangeStrategy": "auto",
"rangeStrategy": "replace",
"schedule": "after 3:00 am and before 6:00 am on Monday and Friday",
"semanticCommitScope": "",
"semanticCommitType": "deps"
Expand Down

0 comments on commit 8e6415f

Please sign in to comment.