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

Add Play v2.9 support to aid Facia Tool upgrade #307

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

rtyley
Copy link
Member

@rtyley rtyley commented Feb 28, 2024

Whether you get benefit from going 2.8→2.9→3.0 (over just going 2.8→3.0) is probably a factor of how big and complicated the project being upgraded is (see also guardian/maintaining-scala-projects#4) - I'd guess Facia Tool is quite big, so breaking the changes down into smaller chunks might be worth it in terms of avoiding risk.

Obviously we're encouraging people to get onto Play 3.0 to avoid the Akka BSL licensing issue!

Note also that Play 2.9 actually uses Play-Json 2.10, which is a bit surprising!

Whether you get benefit from going 2.8->2.9->3.0 (over just going 2.8->3.0) is probably a factor
of how big and complicated the project being upgraded is - I'd guess Facia Tool is quite big, so
breaking the changes down into smaller chunks might be worth it in terms of avoiding risk.

Note also that Play 2.9 actually uses Play-Json *2.10*, which is a bit surprising!

See also guardian/maintaining-scala-projects#4
@rtyley rtyley requested a review from Fweddi February 28, 2024 15:24
@@ -27,6 +27,7 @@ object Dependencies {
object PlayJsonVersion {
val V27 = PlayJsonVersion("27", "com.typesafe.play", "2.7.4")
val V28 = PlayJsonVersion("28", "com.typesafe.play", "2.8.2")
val V29 = PlayJsonVersion("29", "com.typesafe.play", "2.10.4", supportsScala3 = true)
Copy link
Member Author

Choose a reason for hiding this comment

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

The supportsScala3 flag isn't actually used here - but it doesn't mean it requires Scala 3! Just that, in principle, we could create Scala 3 artifacts for this version.

As #307 introduces a
new artifact, unfortunately artifact compatibility checking will crash
out (reporting that it can't find the previous version of the brand new
artifact to check compatibility against). So, we have to disable the
check for now, and then revert this change after the new artifact is
released.
@Fweddi Fweddi merged commit 7c63de8 into main Feb 29, 2024
1 check passed
@Fweddi Fweddi deleted the add-play-v2.9-support-to-aid-facia-tool-upgrade branch February 29, 2024 09:59
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