-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Jackson Release 2.12.2
Tatu Saloranta edited this page Mar 4, 2021
·
35 revisions
Patch version of 2.12 was released on March 3, 2021.
Following fixes are included in this patch release.
No changes since 2.12.1
-
#3008: String property deserializes null as "null" for
JsonTypeInfo.As.EXTERNAL_PROPERTY
-
#3022: Property ignorals cause
BeanDeserializer
to forget how to read from arrays (not copying_arrayDelegateDeserializer
) -
#3025:
UntypedObjectDeserializer
mixes multiple unwrapped collections -
#3038: Two cases of incorrect error reporting about
DeserializationFeature
-
#3045: Bug in polymorphic deserialization with
@JsonCreator
,@JsonAnySetter
,JsonTypeInfo.As.EXTERNAL_PROPERTY
-
#3055: Polymorphic subtype deduction ignores
defaultImpl
attribute -
#3056: MismatchedInputException: Cannot deserialize instance of
com.fasterxml.jackson.databind.node.ObjectNode
out of VALUE_NULL token -
#3060: Missing override for
hasAsKey()
inAnnotationIntrospectorPair
-
#3062: Creator lookup fails with
InvalidDefinitionException
for conflict between single-double/single-Double arg constructo -
#3068:
MapDeserializer
forcingJsonMappingException
wrapping even if WRAP_EXCEPTIONS set to false
-
#236:
ArrayIndexOutOfBoundsException
inCBORParser
for invalid UTF-8 String -
#240: Handle invalid CBOR content like
[ 0x84 ]
(incomplete array)
-
#241: Respect
WRITE_ENUMS_USING_TO_STRING
inEnumAsIonSymbolSerializer
- #242: Add support for generating IonSexps
- #244: Add support for deserializing IonTimestamps and IonBlobs
- #247: Enabling pretty-printing fails Ion serialization
-
#445:
XmlMapper
/UntypedObjectDeserializer
mixes multiple unwrapped collections - #451: Xml type resolver fails with NPE when property name is not specified in polymorphic (de)serialization
-
#202: Unable to deserialize
YearMonth
when running as java9 module, added with@JsonDeserialize
annotation
-
#6: Add
jakarta
classifier version ofjackson-datatype-jsr353
to work with new Jakarta-based JSON-P
-
#206:
@JsonKey
is ignored with parameter-names module registered
- #132: jaxrs jakarta versions have javax.ws references in OSGi manifest
- #330: try to fix issue where wrong constructor can be chosen
- #438: fix issues with handling field names that have dashes
- #495: Fix regression since v2.12.0 where Scala objects (as opposed to case objects) were not serializing correctly.
- #497: allow DescriptorCache to be replaced with custom implementation
-
#505: Fix regression since v2.12.0 where
@JsonCreator
annotations on companion classes were not always been handled. Had to reintroduce the dependency on paranamer jar to fix this