|
1 |
| -We are very pleased to announce the availability of Scala 2.11.7! |
| 1 | +We are pleased to announce the availability of Scala 2.11.8! |
2 | 2 |
|
3 |
| -We would like to highlight the following changes: |
| 3 | +Significant changes since 2.11.7 include: |
4 | 4 |
|
5 |
| -* Exhaustivity checking for pattern matching is now much snappier -- thank you @gbasler! ([SI-9181](https://issues.scala-lang.org/browse/SI-9181)) |
6 |
| -* A 300x more embeddable Scala REPL, brought to you by a team effort with Apache Spark. Thank you @ScrapCodes, @retronym & co! ([#4548](https://github.com/scala/scala/pull/4548), [#4563](https://github.com/scala/scala/pull/4563)) |
7 |
| -* Scala also <3 INDYs -- experiment with all our favorite new Java 8 features [as follows](https://github.com/scala/make-release-notes/blob/2.11.x/experimental-backend.md) and get an exclusive sneak preview of 2.12.0-M2! |
8 |
| -* Oh, and [the spec](http://www.scala-lang.org/files/archive/spec/2.11/) is now much spiffier! Thanks, @soc! |
| 5 | +* The Scala REPL now has robust and flexible tab-completion (details below) |
| 6 | +* An assortment of bugs have been fixed |
9 | 7 |
|
10 |
| -Compared to 2.11.6, this release resolves [53 issues](https://issues.scala-lang.org/issues/?jql=project%20%3D%20SI%20AND%20resolution%20%3D%20Fixed%20AND%20fixVersion%20in%20%28%22Scala%202.11.7%22%29%20ORDER%20BY%20component%20ASC%2C%20priority%20DESC). We [merged 124 pull requests](https://github.com/scala/scala/pulls?q=is%3Apr+is%3Amerged+milestone%3A2.11.7) (out of 157). Before upgrading, please also check the [known issues](https://issues.scala-lang.org/issues/?jql=project%20%3D%20SI%20AND%20status%3Dopen%20AND%20affectedVersion%20%3D%20%22Scala%202.11.7%22%20and%20fixVersion%20%3E%3D%20%22Scala%202.11.7%22%20ORDER%20BY%20component%20ASC%2C%20priority%20DESC) for this release. |
| 8 | +Compared to 2.11.7, this release resolves [43 issues](https://issues.scala-lang.org/issues/?jql=project%20%3D%20SI%20AND%20resolution%20%3D%20Fixed%20AND%20fixVersion%20in%20%28%22Scala%202.11.8%22%29%20ORDER%20BY%20component%20ASC%2C%20priority%20DESC). We merged [170 pull requests](https://github.com/scala/scala/pulls?q=is%3Apr+is%3Amerged+milestone%3A2.11.8). |
11 | 9 |
|
12 |
| -As usual for minor releases, Scala 2.11.7 is binary compatible with other releases in the Scala 2.11 series. |
| 10 | +As usual for minor releases, Scala 2.11.8 is binary compatible with other releases in the Scala 2.11 series. |
13 | 11 |
|
14 |
| -The quarterly release schedule will continue for 2.11.x until the end of this year, and a few more quarters into 2016. |
| 12 | +The last planned 2.11.x release will be 2.11.9 in late 2016. |
| 13 | + |
| 14 | +### New tab-completion in the Scala REPL |
| 15 | + |
| 16 | +The implementation of tab-completion in the Scala REPL has been rewritten and now uses the same infrastructure as for example ScalaIDE and ENSIME. |
| 17 | + |
| 18 | +There are a number of improvements: |
| 19 | + |
| 20 | +* Reliable completion, also in partial expressions and syntactically incorrect programs: try `class C { def f(l: List[Int]) = l.<TAB>` |
| 21 | +* CamelCase completion: try `(l: List[Int]).rro<TAB>`, it expands to `(l: List[Int]).reduceRightOption` |
| 22 | +* Show desugarings performed by the compiler by adding `//print`: try `for (x <- 1 to 10) println(x) //print<TAB>` |
| 23 | +* Complete bean getters without typing `get`: try `(d: java.util.Date).day<TAB>` |
| 24 | +* Find members by typing any CamelCased part of the name: try `classOf[String].typ<TAB>` to get `getAnnotationsByType`, `getComponentType` and others |
| 25 | +* Complete non-qualified names, including types: try `def f(s: Str<TAB>` |
| 26 | +* 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])` |
| 27 | + |
| 28 | +Thanks to @retronym and @som-snytt for their fruitful collaboration on |
| 29 | +this work! |
15 | 30 |
|
16 | 31 | ### Contributors
|
17 | 32 |
|
18 | 33 | 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.
|
19 | 34 |
|
20 |
| -According to `git shortlog -sn --no-merges v2.11.6..v2.11.7`, 36 people contributed to this minor release: Lukas Rytz, Jason Zaugg, A. P. Marki, Grzegorz Kossakowski, Adriaan Moors, Rex Kerr, Simon Ochsenreither, Antoine Gourlay, Gérard Basler, Zhong Sheng, Kato Kazuyoshi, Michał Pociecha, Janek Bogucki, vsalvis, Prashant Sharma, Daniel Dietrich, Kenji Yoshida, YawarRaza7349, Simon Schäfer, Eugene Burmako, Guillaume Martres, Sean Riggin, Christoph Neijenhuis, Szabolcs Berecz, Bruno Bieth, dumpstate, esfandiar amirrahimi, nafg, swaldman, Alessandro Lacava, Geoffrey Knauth, Jean-Rémi Desjardins, EECOLOR, Niko Vuokko, Cody Allen, RobertZK. Thank you! |
| 35 | +According to `git shortlog -sn --no-merges v2.11.7..v2.11.8`, 43 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, martijnhoekstra, Rui Gonçalves, vsalvis, Michał Pociecha, Frank S. Thomas, Igor Racic, Kenji Yoshida, Li Yao, todesking, Mariot Chauvin, Marconi Lanna, Parambir Singh, Paul Draper, Linas Medziunas, Kirill Khazan, JoeRatt, Ryan Zhang, Jan Bessai, Simon Schäfer, Gerard Basler, Sébastien Doeraene, Tim Vergenz, Tomas Janousek, Eitan Adler, dk14, jvican, kirillkh, Arnout Engelen, stusmall, Alexey Romanov, Antoine Gourlay, Michael. |
21 | 36 |
|
22 | 37 | ### Obtaining Scala
|
23 | 38 |
|
24 | 39 | Scala releases are available through a variety of channels, including (but not limited to):
|
25 | 40 |
|
26 |
| -* Get started with the [Hello Scala 2.11 template](https://typesafe.com/activator/template/hello-scala-2_11) in [Typesafe Activator](https://typesafe.com/platform/getstarted) |
27 |
| -* Download a distribution from [scala-lang.org](http://scala-lang.org/download/2.11.7.html) |
| 41 | +* Download a distribution from [scala-lang.org](http://scala-lang.org/download/2.11.8.html) |
28 | 42 | * Bump the `scalaVersion` setting in your SBT-based project
|
29 |
| -* Obtain JARs via [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.11.7%22) |
| 43 | +* Obtain JARs via [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.11.8%22) |
| 44 | +* Try the [Hello Scala 2.11 template](https://www.lightbend.com/activator/template/hello-scala-2_11) in [Lightbend Activator](https://www.lightbend.com/activator/download) |
30 | 45 |
|
31 | 46 | ### Scala 2.11 Notes
|
32 | 47 |
|
|
0 commit comments