Skip to content
Snippets Groups Projects
Unverified Commit e01ccfdc authored by Mathias Brodala's avatar Mathias Brodala Committed by GitHub
Browse files

docs: Explain separateMajorMinor for package groups (#12787)

parent ff439b1d
No related branches found
No related tags found
No related merge requests found
......@@ -2391,7 +2391,7 @@ For example, if you were using Webpack 2.0.0 and versions 2.1.0 and 3.0.0 were b
If you were to apply the minor update then Renovate would keep updating the 3.x branch for you as well, e.g. if Webpack 3.0.1 or 3.1.0 were released.
If instead you applied the 3.0.0 update then Renovate would clean up the unneeded 2.x branch for you on the next run.
It is recommended that you leave this setting to `true`, because of the polite way that Renovate handles this.
It is recommended that you leave this option to `true`, because of the polite way that Renovate handles this.
For example, let's say in the above example that you decided you wouldn't update to Webpack 3 for a long time and don't want to build/test every time a new 3.x version arrives.
In that case, simply close the "Update Webpack to version 3.x" PR and it _won't_ be recreated again even if subsequent Webpack 3.x versions are released.
You can continue with Webpack 2.x for as long as you want and receive any updates/patches that are made for it.
......@@ -2399,6 +2399,8 @@ Then eventually when you do want to update to Webpack 3.x you can make that upda
After that, Renovate will resume providing you updates to 3.x again!
i.e. if you close a major upgrade PR then it won't come back again, but once you make the major upgrade yourself then Renovate will resume providing you with minor or patch updates.
This option also has priority over package groups configured by `packageRule`. So Renovate will propose separate PRs for major and minor updates of packages even if they are grouped. If you want to enforce grouped package updates, you need to set this option `false` within the `packageRule`.
## separateMinorPatch
By default, Renovate won't distinguish between "patch" (e.g. 1.0.x) and "minor" (e.g. 1.x.0) releases - it groups them together.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment