Scala 2.12.15
This release improves compatibility with JDK 17 and 18:
- Avoids
IllegalArgumentException
in JDK 17+ for lambda deserialization (#9676) - Upgrades to ASM 9.2, for JDK 18 support in optimizer (#9701)
and facilitates cross-building with Scala 3 with:
- Allow
case
in pattern bindings even without-Xsource:3
(#9740 by @smarter) - Allow
import x.{*, given}
under-Xsource:3
(#9736 by @smarter) - Handle star in import selector (under
-Xsource:3
) (#9665 by @som-snytt)
For complete 2.12.15 change lists, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.12.15 is binary-compatible with the whole Scala 2.12 series.
Contributors
A big thank you to everyone who's helped improve Scala by reporting bugs, improving our documentation, spreading kindness in discussions around Scala, and submitting and reviewing pull requests! You are all magnificent.
This release was brought to you by 4 contributors, according to git shortlog -sn --no-merges @ ^v2.12.14 ^2.11.x
. Thank you Jason Zaugg, Seth Tisue, A.P. Marki, Guillaume Martres.
Thanks to Lightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
- Bump the
scalaVersion
setting in your sbt-based project - Download a distribution from scala-lang.org
- Obtain JARs via Maven Central