Skip to content

Pin Jackson to the 2.21 LTS line in Dependabot - #443

Merged
k163377 merged 1 commit into
developfrom
pin-jackson-2.21
Jul 25, 2026
Merged

Pin Jackson to the 2.21 LTS line in Dependabot#443
k163377 merged 1 commit into
developfrom
pin-jackson-2.21

Conversation

@k163377

@k163377 k163377 commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

What

Configures Dependabot so that jackson-bom stays on the 2.21 LTS line.

- dependency-name: com.fasterxml.jackson:jackson-bom
  update-types:
    - version-update:semver-major
    - version-update:semver-minor

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-bom
  • update-type: version-update:semver-minor

So the 21 part of 2.21.x is 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

  • The dependency name is the module coordinate com.fasterxml.jackson:jackson-bom, not the version catalog alias jackson. 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.
  • Combining this with the existing dependencies group (patterns: *) is fine, Jackson minor/major updates are simply excluded from the group PR.

🤖 Generated with Claude Code

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>
@k163377
k163377 merged commit f042add into develop Jul 25, 2026
@k163377
k163377 deleted the pin-jackson-2.21 branch July 25, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant