Main highlights of this release:
- Add Scaladoc markdown tables (#6043)
- Fix equality of WrappedArray.ofRef (for Spark, #7156)
- Numerous compiler performance improvements (#7067, #6696, #7147)
Further highlights:
- Improved Java 9+ support (#7089 ASM 6.2, #7240 Un-deprecate linesIterator)
- Support
@Repeatable
Java annotations (#6846) - Support cancellation of batch compilation (#6479)
For more details, check out all closed bugs and merged PRs.
Compiler performance has improved significantly again, and is mostly on par with 2.13. Concretely, you should see a 10% drop in compile times since 2.12.6, according to our compiler benchmarks.
As usual for minor releases, Scala 2.12.7 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 34 contributors, according to git shortlog -sn --no-merges v2.12.6..v2.12.7
. Thank you, Jason Zaugg, TATSUNO Yasuhiro, A. P. Marki, Harrison Houghton, Seth Tisue, Dan Skells, Adriaan Moors, Darcy Shen, Jasper Moeys, David Gregory, Diego E. Alonso-Blas, Lukas Rytz, Mike Skells, Miles Sabin, NthPortal, Philippus Baalman, Andrei Baidarov, Yang Bo, Janek Bogucki, Georgi Chochov, Iulian Dragos, Kamil Duda, Martijn Hoekstra, Ismael Juma, Viktor Klang, Danila Matveev, Mark Petruska, Aaron S. Hawley, Shohei Shimomura, Arnaldo Silva, Robert Stoll, Eugene Yokota, Kenji Yoshida, Cong Zhao!
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):
- Bump the
scalaVersion
setting in your sbt-based project - Download a distribution from scala-lang.org
- Obtain JARs via Maven Central
Discuss here: https://contributors.scala-lang.org/t/2-12-7-release/2301