-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Jackson Release 2.17
Tatu Saloranta edited this page Jan 27, 2024
·
101 revisions
Jackson Version 2.17 development started in November 2023.
This wiki page gives a list of links to all changes (with brief descriptions) that will be included, as well as about original plans for bigger changes (and in some cases changes to plans, postponing).
Branch is open for development.
No release yet
Same as Jackson 2.16
-
#437: Adds
DeserializationFeature.FAIL_ON_UNEXPECTED_VIEW_PROPERTIES, enabling of which starts failing known properties that are not part of the active view
-
#507: Add
JsonWriteFeature.ESCAPE_FORWARD_SLASHESto allow escaping of '/' for String values -
#1137: Improve detection of "is a NaN" to only consider explicit cases, not
doubleoverflow/underflow -
#1145:
JsonPointer.appendProperty(String)does not escape the property name -
#1149: Add
JsonParser.getNumberTypeFP() -
#1157: Use fast parser (FDP) for large
BigDecimals (500+ chars) -
#1169:
ArrayIndexOutOfBoundsExceptionfor specific invalid content, with Reader-based parser -
#1179: Allow configuring
DefaultPrettyPrinterseparators for empty Arrays and Objects -
#1186:
BufferRecyclershould avoid setting replacement if one already returned, bigger -
#1195: Use
BufferRecyclerprovided by output (OutputStream,Writer) object if available -
#1202: Add
RecyclerPool.clear()method for dropping all recycled instances
-
#437: Support throwing
MismatchedInputExceptionwhen deserializing properties that are not part of the view -
#736:
MapperFeature.REQUIRE_SETTERS_FOR_GETTERShas no effect -
#4160: Deprecate
DefaultTyping.EVERYTHINGin2.xand remove in3.0 -
#4194: Add
JsonNodeFeature.FAIL_ON_NAN_TO_BIG_DECIMAL_COERCIONoption to fail on attempting to coerceNaNintoBigDecimal -
#4205: Consider types in
sun.*package(s) to be JDK (platform) types for purposes of handling -
#4209: Make
BeanDeserializerModifier/BeanSerializerModifierimplementjava.io.Serializable -
#4214:
EnumSetdeserialization does not work when we activate default typing inObjectMapper -
#4248:
ThrowableDeserializerdoes not handlenullwell forcause -
#4250: Add input validation for
NumberDeserializersdeserializers for "stringified" FP numbers -
#4262: Improve handling of
nullinsertion failure forTreeSet -
#4263: Change
ObjectArrayDeserializerto use "generic" type parameter (java.lang.Object) to remove co-variant return type -
#4299: Some
CollectionandMapfallbacks don't work in GraalVM native image
-
#449:
IndexOutOfBoundsExceptioninJacksonAvroParserImplfor invalid input
-
#451:
IndexOutOfBoundsExceptioninCBORParserfor invalid input -
#458: Unexpected NullPointerException in
CBORParser -
#464: Unexpected
ArrayIndexOutOfBoundsExceptioninCBORParserfor corrupt String value
-
#45: Allow skipping ending line break (
CsvGenerator.Feature.WRITE_LINEFEED_AFTER_LAST_ROW)
-
#417:
IonReaderclasses contain assert statement which could throw unexpectedAssertionError -
#420:
IndexOutOfBoundsExceptionthrown byIonReaderimplementations are not handled -
#424:
IonReaderthrowsNullPointerExceptionfor unchecked invalid data -
#432: More methods from
IonReadercould throw an unexpectedAssertionError -
#434: Unexpected
NullPointerExceptionthrown fromIonParser::getNumberType() -
#437:
IonReader.next()throws NPEs for some invalid content
-
#462:
ProtobufParser.currentName()returns wrong value at root level
-
#426:
SmileParserthrows unexpected IOOBE for corrupt content
-
#454: Unexpected
NumberFormatExceptioninYAMLParser -
#456: Support max Read/Write nesting depth limits (
StreamReadConstraints/StreamWriteConstraints) for YAML
-
#274: Add 1-based
Month[De]serializerenabled withJavaTimeFeature.ONE_BASED_MONTHSoption
-
#294:
Optionaldeserialization, serialization ignorecontentConverter
-
#118: Support
@JsonFormat(shape=STRING)onRange<T> -
#124: Some deserializers throw unexpected
NullPointerExceptionwhen handling invalid input -
#136: Fix for failing Guava
Optionaltest -
#138:
GuavaCollectionDeserializerstill throws NPE in some circumstances -
#140:
Cachedeserialization fails with NPE fornullvalued entries -
#142:
RangeSetdeserializer fails for contentnulls with NPE