Pin Jackson to the 2.21 LTS line in Dependabot - #443
Merged
Conversation
Jackson 2.x currently maintains two LTS lines, 2.21 and 2.22. This project is based on 2.21, so ignore major/minor updates of jackson-bom and accept only patch updates within 2.21. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
What
Configures Dependabot so that
jackson-bomstays on the 2.21 LTS line.Why
Jackson 2.x currently maintains two LTS lines, 2.21 and 2.22. This project is based on 2.21 for now, but Dependabot proposed 2.21.5 -> 2.22.1 in #442, which had to be reverted by hand.
The metadata of that PR reported the bump as:
dependency-name: com.fasterxml.jackson:jackson-bomupdate-type: version-update:semver-minorSo the
21part of2.21.xis treated as the semver minor. Ignoring major/minor updates leaves only patch updates (e.g. 2.21.5 -> 2.21.6) subject to automatic renewal.Notes
com.fasterxml.jackson:jackson-bom, not the version catalog aliasjackson. It is the only Jackson entry in the catalog that carries a version; the rest are managed by the BOM, so a single rule is enough.dependenciesgroup (patterns: *) is fine, Jackson minor/major updates are simply excluded from the group PR.🤖 Generated with Claude Code