Tuesday 8 March 2016

ANNOUNCEMENT

We are pleased to announce the availability of Scala 2.11.8!

Significant changes since 2.11.7 include:

The Scala REPL now has robust and flexible tab-completion (details below)

An assortment of bugs have been fixed

Compared to 2.11.7, this release resolves 44 issues. We merged 175 pull requests.

As usual for minor releases, Scala 2.11.8 is binary compatible with other releases in the Scala 2.11 series.

The last planned 2.11.x release will be 2.11.9 in late 2016.

New tab-completion in the Scala REPL

The implementation of tab-completion in the Scala REPL has been rewritten and now uses the same infrastructure as for example Scala IDE and ENSIME.

There are a number of improvements:

Reliable completion, also in partial expressions and syntactically incorrect programs: try class C { def f(l: List[Int]) = l.<TAB>

CamelCase completion: try (l: List[Int]).rro<TAB> , it expands to (l: List[Int]).reduceRightOption

, it expands to Show desugarings performed by the compiler by adding //print : try for (x <- 1 to 10) println(x) //print<TAB>

: try Complete bean getters without typing get : try (d: java.util.Date).day<TAB>

: try Find members by typing any CamelCased part of the name: try classOf[String].typ<TAB> to get getAnnotationsByType , getComponentType and others

to get , and others Complete non-qualified names, including types: try def f(s: Str<TAB>

Press tab twice to see the method signature: try List(1,2,3).part<TAB> , which completes to List(1,2,3).partition ; press tab again to display def partition(p: Int => Boolean): (List[Int], List[Int])

Thanks to @retronym and @som-snytt for their fruitful collaboration on this work!

Contributors

A big thank you to everyone who’s helped improve Scala by reporting bugs, improving our documentation, spreading kindness in mailing lists and other public fora, and submitting and reviewing pull requests! You are all magnificent.

According to git shortlog -sn --no-merges v2.11.7..v2.11.8 , 44 people contributed to this minor release: Seth Tisue, Jason Zaugg, Janek Bogucki, Lukas Rytz, Stefan Zeiger, A. P. Marki, Rex Kerr, Performant Data LLC, wpopielarski, Adriaan Moors, Vlad Ureche, Rui Gonçalves, vsalvis, martijnhoekstra, todesking, Li Yao, Frank S. Thomas, Igor Racic, Michał Pociecha, Kenji Yoshida, Tomas Janousek, dk14, jvican, stusmall, kirillkh, Alexey Romanov, Antoine Gourlay, Arnout Engelen, Eitan Adler, Felix Mulder, Gerard Basler, Jan Bessai, JoeRatt, Kirill Khazan, Linas Medziunas, Marconi Lanna, Mariot Chauvin, Michael, Parambir Singh, Paul Draper, Ryan Zhang, Simon Schäfer, Sébastien Doeraene, Tim Vergenz.

Obtaining Scala

Scala releases are available through a variety of channels, including (but not limited to):

Download a distribution from scala-lang.org

Bump the scalaVersion setting in your SBT-based project

setting in your SBT-based project Obtain JARs via Maven Central

Scala 2.11 Notes

The release notes for Scala 2.11.1 have important information applicable to the whole 2.11 series, such as: