Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update snakeyaml to version 2.0 in api/build.gradle.kts #1047

Closed
wants to merge 1 commit into from

Conversation

Xemii16
Copy link

@Xemii16 Xemii16 commented Jul 29, 2023

I was getting error java.lang.NoSuchMethodError: 'void org.yaml.snakeyaml.LoaderOptions.setCodePointLimit(int)' using snakeyaml 2.0 in my plugin. I learned that the Velocity core contains the snakeyaml version 1.33 library. I suggest replacing the version with 2.0 because of the large number of vulnerabilities in the older version

I was getting error java.lang.NoSuchMethodError: 'void org.yaml.snakeyaml.LoaderOptions.setCodePointLimit(int)' using snakeyaml 2.0 in my plugin. I learned that the Velocity core contains the snakeyaml version 1.33 library. I suggest replacing the version with 2.0 because of the large number of vulnerabilities in the older version
@InfernoCraft
Copy link

I have the same issue. It would be great to update to version 2.0 or even 2.2!

@astei astei closed this in 277be8f Oct 27, 2023
@astei
Copy link
Contributor

astei commented Oct 27, 2023

SnakeYAML 2.x is a major API breakage. The best we can do is version 1.33.

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.

3 participants