docs: fix outdated statement that Docker major updates are disabled by default#44524
Open
aryan-barsaiya wants to merge 1 commit into
Open
docs: fix outdated statement that Docker major updates are disabled by default#44524aryan-barsaiya wants to merge 1 commit into
aryan-barsaiya wants to merge 1 commit into
Conversation
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.
Changes
docs/usage/docker.mdstill says that Renovate will not upgrademajorversions of Docker images by default, and recommends addingdocker:enableMajorto enable them.This has been outdated since #9470 (April 2021, Renovate v25), which removed
major: { enabled: false }from the docker datasource'sdefaultConfig. Since then,majorupdates for thedockerdatasource are enabled by default, and neitherconfig:recommendednor any preset it extends disables them (docker:disableMajor/docker:enableMajorare both opt-in).This PR updates the two affected spots:
major,minorandpatchare upgraded by default, and points todocker:disableMajorfor opting out.docker:disableMajor), since enabling is already the default.The stale wording actively misleads users: we saw an automated code reviewer cite this page to (incorrectly) flag a
packageRulesentry matchingmatchUpdateTypes: ["major"]on a docker datasource as dead code.Context
Please select one of the following:
AI assistance disclosure
Did you use AI tools to create any part of this pull request?
This PR (research, wording, and commit) was prepared with Claude Code (model: Claude Fable 5), operated and reviewed by me. The root cause was verified against the source: the docker datasource
defaultConfigonmainand v43, theconfig:recommendedpreset chain, and the #9470 diff.Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: