JSTEP 9 - FasterXML/jackson-future-ideas GitHub Wiki

(Back to JSTEP page)

Jackson 3.0 Removal of Deprecated 2.x Modules

Author

Tatu Saloranta (@cowtowncoder)

Version history

  • 2024-12-01: Created first version
  • 2026-02-12: Updates wrt Hibernate (now supported), JSON Schema (re-consider)

Status

Completed wrt 3.0.0 GA but re-evaluating at 3.0.3

Overview

During Jackson 2.x, some Modules have become unnecessary either in general, or for future use.

For example:

  • All 3 modules in jackson-modules-java8 have been merged into jackson-databind in version 3.0.0 *jackson-datatype-jdk8 (Optional, Stream etc)
    • jackson-datatype-jsr310 (java.time types)
    • jackson-module-parameter-names (Constructor parameter name detection)
    • Functionality now supported directly by jackson-databind so modules no longer needed
  • jackson-module-paranamer module (part of jackson-modules-base) was useful before Java 8, but it becomes unnecessary with Java 8 when JDK bytecode can contain parameter names, and jackson-module-parameter-names merged in jackson-databind as per above

Other modules have become unsupported/unmaintained over time:

In these cases, no work has been done to prepare for Jackson 3.0.0 version of the components, and README.mds have been updated to indicate a note of Deprecation.

Proposal

The current plan for following Modules:

  • jackson-datatype-jdk8
  • jackson-datatype-jsr310
  • jackson-module-parameter-names
  • jackson-module-paranamer
  • jackson-module-schema (and variants)

is to

  • Keep on publishing 2.x versions (deprecated but maintained)
  • Not update repos for 3.0 (master just points to latest 2.x version)
  • Not publish 3.0.0-SNAPSHOT, release candidates or actual 3.0.0 version

Above can be changed for specific modules if (and only if):

  • There is continued need for module AND
  • We can find an active maintainer

Status (as of 3.0.3)

Decision was made to continue support for Hibernate module in November 2025: backported 3.0.0, 3.0.1 and 3.0.2 versions were released.

jackson-module-jsonSchema still to be determined: no 3.x versions yet released.