Play 2.9.8 #13363
mkurz
announced in
Announcements
Play 2.9.8
#13363
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.
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:Thanks to @ajafri2001 for implementing this improvement 🙌:
Prepend "using" at the callsite when definition site has implicit parameter 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:
[3.0.x] fix field ordering Scala 3 writes macro (backport #1172) by @xuwei-k play-json#1177 fix field ordering Scala 3 writes macro
Noteworthy Pull Requests
ClassCastException
when using@With
Java annotation (backport #13282) by @mkurz #13284 [2.9.x] Fix ClassCastException when using@With
Java annotation (backport [3.0.x] FixClassCastException
when using@With
Java annotation #13282) by @mkurzFull Changelog
Following pull requests got merged for this release:
ClassCastException
when using@With
Java annotation (backport #13282) by @mkurz #13284 [2.9.x] FixClassCastException
when using@With
Java annotation (backport [3.0.x] FixClassCastException
when using@With
Java annotation #13282) by @mkurzFor 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)!
This discussion was created from the release Play 2.9.8.
Beta Was this translation helpful? Give feedback.
All reactions