Skip to content

Bump com.fasterxml.jackson.core:jackson-databind from 2.19.0 to 2.21.7 - #1405

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/maven/com.fasterxml.jackson.core-jackson-databind-2.21.7
Open

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/maven/com.fasterxml.jackson.core-jackson-databind-2.21.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Bumps com.fasterxml.jackson.core:jackson-databind from 2.19.0 to 2.21.7.

Commits
  • 13a9ff4 [maven-release-plugin] prepare release jackson-databind-2.21.7
  • d168f96 Prep for 2.21.7 release
  • e05ef4c Merge branch '2.20' into 2.21
  • f6d4000 Merge branch '2.19' into 2.20
  • eb3583b Merge branch '2.18' into 2.19
  • 3829201 Post-release dep version bump
  • f7f50ce [maven-release-plugin] prepare for next development iteration
  • a254f8c [maven-release-plugin] prepare release jackson-databind-2.18.11
  • e6e578b Prep for 2.18.11 release
  • e3e59d2 Add CVE id (CVE-2026-91777) for #6204 in 2.21 release notes
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Nov 17, 2026
@ZPascal

ZPascal commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

1 similar comment
@ZPascal

ZPascal commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [com.fasterxml.jackson.core:jackson-databind](https://github.com/FasterXML/jackson-databind) from 2.19.0 to 2.21.7.
- [Commits](FasterXML/jackson-databind@jackson-databind-2.19.0...jackson-databind-2.21.7)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-version: 2.21.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/maven/com.fasterxml.jackson.core-jackson-databind-2.21.7 branch from 104c2f6 to 812180a Compare November 24, 2026 15:33
@dependabot @github

dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

Since Jackson 2.20, jackson-annotations no longer carries a patch
version (only 2.20, 2.21, ...), so pinning it to ${jackson.version}
(2.21.7) fails dependency resolution. Importing jackson-bom resolves
the matching annotations version and also aligns modules such as
jackson-datatype-jdk8, which were previously managed by the older
Spring Boot BOM.
@ZPascal
ZPascal force-pushed the dependabot/maven/com.fasterxml.jackson.core-jackson-databind-2.21.7 branch from d380a3f to 3dab3e0 Compare November 24, 2026 18:15
@ZPascal

ZPascal commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

The original bump failed during dependency resolution:

Could not find artifact com.fasterxml.jackson.core:jackson-annotations:jar:2.21.7 in central

Since Jackson 2.20, jackson-annotations no longer has a patch version (only 2.20, 2.21, …). Our parent pom.xml set jackson-annotations to ${jackson.version}, so after the bump it asked for 2.21.7, which doesn't exist.

Fix (3dab3e0): I removed the separate jackson-core, jackson-databind and jackson-annotations entries from dependencyManagement and now import com.fasterxml.jackson:jackson-bom:${jackson.version} instead. The import comes before spring-boot-dependencies, so its versions take precedence.

  • The BOM picks the matching annotations version (2.21) for each release, so future bumps of jackson.version won't fail this way.
  • Jackson modules we don't list explicitly, such as jackson-datatype-jdk8, now follow the same version. Before, the Spring Boot 2.7 BOM managed them, which left them on 2.13.x.

Resolved versions: jackson-annotations 2.21, and jackson-core, jackson-databind and jackson-datatype-jdk8 2.21.7. ./mvnw clean package passes on JDK 17 with tests, and the CI builds on Java 17 and 21 passed on the same change.

Note: this branch now has a commit that isn't from Dependabot, so Dependabot won't rebase it automatically anymore.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant