This release adds compiler support for scala-async and backports substantial performance improvements to collections.
- The compiler now includes a phase that performs the transformation for the async/await DSL for working with Scala Futures.
This transform is based on the macro implementation in
scala-asyncbut has been substantially rewritten to fix some
long standing bugs, reduce the overhead of compilation and simplify the extension points for third party effect systems.
scala-async1.0.0 will be released shortly building atop this phase. (#8816)
- Minor improvements to compiler performance. The allocation rate of the compiler is reduced by 10%.
As usual for our minor releases, Scala 2.12.12 is binary-compatible with the whole Scala 2.12 series.
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 13 contributors, according to
git shortlog -sn --no-merges v2.12.11..v2.12.12. Thank you Jason Zaugg, Mike Skells, Lukas Rytz, Harrison Houghton, Adriaan Moors, Stefan Zeiger, Dale Wijnand, Seth Tisue, A. P. Marki, Eugene Yokota, NthPortal, Georgi Krastev and Martijn Hoekstra.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Scala releases are available through a variety of channels, including (but not limited to):