anorm icon indicating copy to clipboard operation
anorm copied to clipboard

Drop Scala 2.11 (and 2.12?)

Open mkurz opened this issue 1 year ago • 5 comments

Anorm still supports Scala 2.11. The last 2.11 release was in 2017. I think it's finally time to move on... By dropping Scala 2.11 the build setup could be much more simplified.

Even dropping Scala 2.12 should be considered.

mkurz avatar Nov 17 '24 07:11 mkurz

Dropping both 2.11 and 2.12 make sense to me. (In a minor version I guess?).

From what I see in my company, 2.12 is still used only for Spark apps (and even there, it's eventually moving on!). 2.12 could make sense to be kept if we think Spark apps are likely to actively use Anorm but I don't think it is.

gaeljw avatar Nov 17 '24 08:11 gaeljw

Dropping Scala 2.11 allows us to clean up some code, and also allows us to merge #628 and switch to "org.playframework" %% "play-json".

  • Anyone against dropping Scala 2.11?

  • Anyone against dropping Scala 2.12?

mkurz avatar Jul 03 '25 19:07 mkurz

Drop 2.12 mostly prevent Spark compatibility. Even if Spark is compatible 2.13, most deployment, for example Databricks, are by default 2.12 and sometimes only 2.12.

cchantep avatar Jul 05 '25 12:07 cchantep

Do we believe Anorm is often used in Spark context though? I mentioned it but I would think it's for limited cases.

Also, like I said for Java 8 drop: users that need to stay on Scala 2.12 can keep using the current version of Anorm. The library is in a stable state.

gaeljw avatar Jul 06 '25 06:07 gaeljw

This rationale works both way. Considering the cross version build, the advantage of removing 2.12 is limited.

cchantep avatar Jul 06 '25 20:07 cchantep