Claus Ibsen created CAMEL-25689:
-----------------------------------

             Summary: camel-toon - Upgrade JToon to 2.0.7
                 Key: CAMEL-25689
                 URL: https://issues.apache.org/jira/browse/CAMEL-25689
             Project: Camel
          Issue Type: Dependency upgrade
            Reporter: Claus Ibsen
             Fix For: 4.24.0


Upgrade dev.toonformat:jtoon from 2.0.5 to 2.0.7 (Dependabot PR 
https://github.com/apache/camel/pull/27890). The upgrade needs source changes 
in camel-toon and the toon data format model:

* JToon 2.0.6 removes the {{lengthMarker}} component of {{EncodeOptions}}. The 
TOON specification removed the {{[#N]}} array length marker in its 2.0 release: 
encoders never emit it and decoders reject it. The {{lengthMarker}} option of 
the toon data format is therefore removed. Output written with 
{{lengthMarker=true}} could not be unmarshalled by the toon data format in 
strict mode (the default) already in Camel 4.23, and JToon 2.0.7 rejects it in 
both modes.
* With {{strict=false}}, JToon 2.0.6 applies only the non-strict recoveries of 
the TOON specification (such as an array count that differs from the declared 
length) and throws {{IllegalArgumentException}} for other malformed input, 
instead of returning {{null}} or a partial result.

Both changes go in the 4.24 upgrade guide.

_Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to