Skip to content

Consider aligning Jackson dependencies with LTS versions #1721

Closed

Description

@jiri-pejchal

The project currently uses Jackson 2.22.x, which is not an LTS branch.
Please consider using the latest Jackson 2.21.x LTS patch release.

Spring Boot 4.1 manages Jackson 2.21.x for Jackson 2 dependencies and uses Jackson 3.1.x LTS by default.
Aligning with these versions would help reduce dependency conflicts and runtime compatibility risks for applications using this library.

References:
Jackson releases
Spring Boot managed dependencies

Activity

  1. balamurugana commented on Sep 16, 2026

    @balamurugana
    Member

    Jackson does not release official "LTS" versions. Using a higher minor version (e.g., 2.22.x) generally brings the latest bug fixes and improvements compared to an older release branch (like 2.21.x).

  2. jiri-pejchal commented on Sep 17, 2026

    @jiri-pejchal
    Author

    @balamurugana Jackson does designate official LTS branches now, and an LTS branch stays supported for at least two years.

    Current branch status:

    • 3.2 - open, Latest Release Branch, not LTS
    • 3.1 - open, LTS
    • 2.22 - open, Latest Release Branch, not LTS
    • 2.21 - open, LTS
    • 2.18 - open, LTS

    A non-LTS Latest Release Branch closes as soon as the next minor
    ships, and 2.23 is already in development, so 2.22 goes EOL at 2.23.0.
    2.21 has a guaranteed window of at least two years.

    Spring Boot 4 (4.1.x currently) manages Jackson 2 at 2.21.x and Jackson 3 at 3.1.x - both LTS.
    If minio-java starts requiring APIs only in 2.22, Spring Boot 4 users have to override jackson-2-bom.version to keep
    using it and it moves those apps onto a branch that EOLs sooner than the one they were on.

    Could you reconsider?

    References:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions