Jackson 2.12.1 released

30 views
Skip to first unread message

Tatu Saloranta

unread,
Jan 11, 2021, 1:05:33 AM1/11/21
to jacks...@googlegroups.com, jackson-user, jackson-announce
Happy New Year 2021!

So, Jackson 2.12.1 was just released: full change list at:

https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.12.1

This addresses a few important issues in 2.12.0 (17 fixes listed), the
most important probably being:

https://github.com/FasterXML/jackson-databind/issues/2962

which could cause a regression in some cases where both factory-method
and constructor-based single-argument Creator methods existed.

While there are no security fixes, upgrade is strongly recommended;
our hope is that after this patch the release rate will go down and
it'll be 2-3 months until the next patch.

After this release, state of 2.x branches is as follows:

* 2.9 branch is now fully closed; support officially ending with
jackson-databind 2.9.10.8 micro-patch (and matching jackson-bom).
* Prior 2.x branches have already been closed
* 2.10 branch is not yet closed but full patch releases are unlikely
-- micro-patches possible, but not very likely
* 2.11 branch open, 2.11.4 might (but is not necessarily) be the last
full patch release
* 2.12 is the active maintenance branch
* 2.13 branch was created for developing the next minor version (see
https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.13 for
planning)

As usual, please let us know of any new regressions.

-+ Tatu +-

rajnish

unread,
Jan 20, 2021, 8:53:55 PM1/20/21
to jackson-dev
When I upgraded to 2.12.1 , I started getting following even when com.fasterxml.jackson.datatype:jackson-datatype-jsr310 is already added and JavaTimeModule is already added objectMapper.registerModule(JavaTimeModule())
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.Instant` not supported by default: add Module \"com.fasterxml.jackson.datatype:jackson-datatype-jsr310\" to enable handling (through reference chain: 

Tatu Saloranta

unread,
Jan 21, 2021, 5:00:44 PM1/21/21
to jacks...@googlegroups.com
On Wed, Jan 20, 2021 at 5:53 PM rajnish <raj...@gmail.com> wrote:
>
> When I upgraded to 2.12.1 , I started getting following even when com.fasterxml.jackson.datatype:jackson-datatype-jsr310 is already added and JavaTimeModule is already added objectMapper.registerModule(JavaTimeModule())
> com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.Instant` not supported by default: add Module \"com.fasterxml.jackson.datatype:jackson-datatype-jsr310\" to enable handling (through reference chain:

We would need a reproduction of the issue to help: after the module is
registered, serialization and deserialization should work and there
are no known issues with it.

-+ Tatu +-
> --
> You received this message because you are subscribed to the Google Groups "jackson-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jackson-dev...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-dev/2ef18e4d-75df-4d1b-8c97-9e9ba44fe6c9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages