Skip to content

Update to Jackson 3.x and snakeyaml-engine#359

Merged
pkwarren merged 1 commit intomainfrom
pkw/issue-356
Oct 27, 2025
Merged

Update to Jackson 3.x and snakeyaml-engine#359
pkwarren merged 1 commit intomainfrom
pkw/issue-356

Conversation

@pkwarren
Copy link
Copy Markdown
Member

@pkwarren pkwarren commented Oct 27, 2025

Users that are using snakeyaml (1.x or 2.x) may encounter issues with the buf-gradle-plugin. Updating to Jackson 3.x changes the YAML support to use snakeyaml-engine which doesn't have the same compatibility issues, and this gets us on a newer baseline for YAML support in the plugin.

The only caveat is that Jackson 3.x requires Java 17, so the plugin will require that Gradle is run with Java 17+. This is similar to other plugins in the ecosystem and Gradle 9 also requires Java 17.

Fixes #356.

Users that are using snakeyaml (1.x or 2.x) may encounter issues with
the buf-gradle-plugin. Updating to Jackson 3.x changes the YAML support
to use snakeyaml-engine which doesn't have the same compatibility
issues, and this gets us on a newer baseline for YAML support in the
plugin.

The only caveat is that Jackson 3.x requires Java 17, so the plugin will
require that Gradle is run with Java 17+. This is similar to other
plugins in the ecosystem and Gradle 9 also requires Java 17.
@pkwarren pkwarren requested a review from andrewparmet October 27, 2025 20:42
@pkwarren pkwarren marked this pull request as ready for review October 27, 2025 20:56
@pkwarren pkwarren merged commit 6a18853 into main Oct 27, 2025
10 checks passed
@pkwarren pkwarren deleted the pkw/issue-356 branch October 27, 2025 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Errors with v0.10.x when generating YAML

2 participants