This release improves compatibility:
- Support certain Java libraries compiled on JDK 21 (#10675 by @SethTisue)
- Support JDK 22 in optimizer (by upgrading to ASM 9.6) (#10575 by @Philippus)
- New
-Yrelease
option supplements-release
, allows access to additional JVM packages (#10671 by @som-snytt) - Update compiler's scala-xml dependency to 2.2.0 (was 2.1.0) (#10459 by @SethTisue)
And it has bugfixes:
- Fix rare
NullPointerException
in some tree-based collections (#10640 by @lrytz) - Improved
InterruptedException
handling forFuture
s (#10379 by @szeiger)
For complete 2.12.19 change lists, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.12.19 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 9 contributors, according to git shortlog -sn --no-merges @ ^v2.12.18 ^2.11.x
. Thank you Scala Steward, Seth Tisue, A. P. Marki, Lukas Rytz, Stefan Zeiger, Dmitry Komanov, Philippus Baalman, cahilltr, dependabot.
Thanks to Lightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offers commercial support for Scala 2.
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 project - Bump the
using scala
setting in your Scala CLI project - Download a distribution from scala-lang.org
- Obtain JARs via Maven Central