guardian / play-secret-rotation

Rotate your Application Secret on an active cluster of Play app servers
14 stars 3 forks source link

Support Scala 3 & Play 3 - drop oldest Play & Scala versions #411

Closed rtyley closed 11 months ago

rtyley commented 11 months ago

Play v2.9 introduces support for Scala 3 - Play v3.0 also switches from Akka to Pekko, which is great from a licensing perspective (Play v2.9 had to ship with old versions of Akka to avoid the BSL license).

Here, we're upgrading play-secret-rotation to support these new latest versions of Play, and add the new welcome Scala 3 support! To reduce maintenance build complexity, we're also dropping support for Play 2.6, and Scala 2.12.

Note, Matthias Kurz made some interesting suggestions about restructuring the multi-Play support in this project and also google-play-auth: https://github.com/guardian/frontend/pull/26677#issuecomment-1801443253 ...however, for play-secret-rotation at least, the changes didn't appear necessary, as play-secret-rotation actually has a fairly minimal dependency on Play, and doesn't touch Akka/Pekko related code.