codeconsole opened a new pull request, #2949: URL: https://github.com/apache/groovy/pull/2949
https://issues.apache.org/jira/browse/GROOVY-12433 Moves groovy-yaml, groovy-toml and groovy-csv from Jackson 2 to Jackson 3 (`tools.jackson` 3.1.6, the version Spring Boot 4.2 manages). None of them exposes a Jackson type, so callers need no changes. - Mappers are built with `configureForJackson2()` so parsing and serialization behave as before. The CSV mapper also enables `SORT_PROPERTIES_ALPHABETICALLY`, which Jackson 2's `CsvMapper` turned on itself: plain classes keep alphabetical columns and records keep declaration order, as the user guide documents. - `jackson-datatype-jsr310` is dropped; java.time support is built into Jackson 3 databind. - `XmlParser.parseAs`/`parseTextAs` use Jackson 3 when present and fall back to Jackson 2. A failed conversion now carries Jackson's exception; from dynamic Groovy it used to surface as an `InvocationTargetException` with no message. The cached mapper is now published after its method, so a concurrent first call can't see a null method. - The SnakeYAML alias recipe in the YAML guide now declares `org.yaml:snakeyaml`, since Jackson 3's YAML backend uses SnakeYAML Engine. - `tools.jackson` and `snakeyaml-engine` are signed with keys the dependency verification already trusts; two scoped trust entries are added. - The JSON and XML guide recipes for using Jackson directly now use the Jackson 3 artifacts. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
