Skip to content

Play 2.9.8

Choose a tag to compare

@github-actions github-actions released this 01 Jul 23:13
2.9.8
9d1bec8

The Play Team is happy to announce the release of Play 2.9.8! 🥳

📗 About this Release

This release fixes several bugs and a CVE, improves Scala 3 support, and - as always - updates dependencies. We strongly recommend upgrading at your earliest convenience.

If you're considering upgrading to Play 2.9, please check the Play 2.9 release announcement for highlights and further details on how to migrate. Many projects have already smoothly upgraded to Play 2.9.

sbt 1.9.0 or newer is now required

Because of recent changes in how artifacts are published to Maven Central, older sbt versions can no longer retrieve Play's sbt plugins published starting July 1, 2025. If you're still using an older sbt release, you'll need to upgrade to sbt 1.9.0 or newer to continue fetching Play artifacts from Maven Central. Play 2.9.8 and newer will not work with earlier sbt versions. To be fair, when releasing Play 2.9, we already announced 1.9.0 as the minimum required sbt version, even though older versions may still have worked until now.

Scala 3 improvements

  • Twirl now supports using in it's templates, so you can define template parameters like:

    @(x: Int)(using y: Int)

    Thanks to @ajafri2001 for implementing this improvement 🙌:
    playframework/twirl#933 Prepend "using" at the callsite when definition site has implicit parameter

  • When using Play JSON, the JSON field ordering is now correctly preserved when compiling with Scala 3 - implemented by @xuwei-k:
    playframework/play-json#1177 fix field ordering Scala 3 writes macro

Noteworthy Pull Requests

Full Changelog

Following pull requests got merged for this release:

For more details see the full list of changes and the 2.9.8 milestone.

❤️ Thanks to our premium sponsors!

If you find this OSS project useful for work, please consider asking your company to support it by becoming a sponsor.
You can also individually sponsor the project by becoming a backer.

🙇 Thanks to our contributors

Finally, thanks to the community for their help with detailed bug reports, discussions about new features and pull request reviews. This project is only possible due to the help we had from amazing contributors.
Special thanks to all code contributors who helped with this particular release (they are listed below)!