Skip to content

Jackson Release 2.21.9

Tatu Saloranta edited this page Nov 24, 2026 · 24 revisions

Patch version of 2.21, under development as of October 2026.

Following fixes will be included in this patch release.

Changes, core

  • #1792: Validate maxStringLength for string values in getString(Writer)
  • #1794: maxStringLength not enforced by getBinaryValue() when decoding Base64 directly from input
  • #1800: Don't read past end of byte[] slice for UTF-16 input in ByteSourceJsonBootstrapper
  • #1813: getDoubleValue() returns 0.0 after getNumberType(), getFloatValue() for floating-point value
  • #1815: Stale BigDecimal from previous token returned by getBigIntegerValue() after getNumberType()
  • #1835: Don't merge failed ByteQuadsCanonicalizer child into root table
  • #6315: Map key deserializers should apply same type checks as bean deserializers
  • #6329: Add JDK-bundled RowSet gadget siblings to deserialization deny-list
  • #6422: Make MapperFeature.BLOCK_UNSAFE_POLYMORPHIC_BASE_TYPES apply to Default Typing

Changes, data formats

Avro

  • #896: Reject negative byte size of skipped Avro Array/Map block
  • #901: Read string values and Map keys in chunks in Apache Avro decoder
  • #906: Do not initialize class named by Avro schema when resolving its full name
  • #915: Skip Arrays with zero-length elements in skipChildren() without iterating

CBOR

  • #888: nextFieldName(SerializableString) matches against JSON-escaped name bytes (asQuotedUTF8())
  • #912: Do not read CBOR 32-bit lengths >= 2^31 as indefinite length

Ion

  • #907: Avoid slow BigDecimal math converting Ion timestamps to Instant
  • #911: Enforce maxNestingDepth when reading IonValue

Protobuf

  • #881: Known field after a skipped unknown field gets wrong wire type / state / location, differently per nextToken() / nextName*()

Smile

  • #888: nextFieldName(SerializableString) matches against JSON-escaped name bytes (asQuotedUTF8())
  • #895: Enforce maxNestingDepth in non-blocking Smile parser

Clone this wiki locally