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

Backport #333 #349

Merged
merged 2 commits into from
Jan 4, 2023
Merged

Backport #333 #349

merged 2 commits into from
Jan 4, 2023

Conversation

sideeffffect
Copy link
Collaborator

@sideeffffect sideeffffect commented Dec 16, 2022

Comment on lines 99 to 102
val defaultMaxAliasesForCollections: Int = 50 // to prevent YAML at
// https://en.wikipedia.org/wiki/Billion_laughs_attack
val defaultNestingDepthLimit: Int = 50
val defaultCodePointLimit: Int = 3 * 1024 * 1024 // 3MB
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change. Maybe we can use def to point to the new location with a @deprecated annotation?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it? MiMa seems to be happy. Wasn't this code merged only after last release of circe-yaml?
I don't mind doing it the way you suggest, but maybe we don't need to worry about my change, since it's not actually breaking anything.

@sideeffffect sideeffffect requested a review from jeffmay December 19, 2022 20:15
@jeffmay jeffmay merged commit 9be7e56 into circe:main Jan 4, 2023
@sideeffffect sideeffffect deleted the backport-333 branch January 5, 2023 02:21
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.

2 participants