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

remove deprecated JsBoolean methods #861

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

xuwei-k
Copy link
Contributor

@xuwei-k xuwei-k commented Mar 28, 2023

Pull Request Checklist

  • Have you read through the contributor guidelines?
  • Have you squashed your commits?
  • Have you added copyright headers to new files?
  • Have you updated the documentation?
  • Have you added tests for any changed functionality?

Fixes

Purpose

remove deprecated JsBoolean methods

Background Context

maybe val productArity = 1 cause IndexOutOfBoundsException on Scala 3.

References

@@ -51,6 +51,16 @@ def playJsonMimaSettings = Seq(
case _ => throw new Error("Unable to determine previous version")
}),
mimaBinaryIssueFilters ++= Seq(
// remove deprecated methods
// https://github.com/playframework/play-json/pull/861
ProblemFilters.exclude[DirectMissingMethodProblem]("play.api.libs.json.JsBoolean.productArity"),
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we could bump the mimaPreviousVersion instead ?

Copy link
Member

Choose a reason for hiding this comment

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

Bump to what? IMHO it's ok to add those filters here. Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

I bumping mimaPreviousArtifacts is sufficient, it's much better than adding those filters

@mkurz mkurz merged commit f1fbbcc into playframework:main Mar 28, 2023
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.

JsBoolean on Scala 3: productElementNames throw an java.lang.IndexOutOfBoundsException: 0 exception
3 participants