Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Jun 2, 2023

This PR contains the following updates:

Package Change Age Confidence
scala (source) 2.11.72.11.12 age confidence

Release Notes

scala/scala (scala)

v2.11.12: Scala 2.11.12

Compare Source

Scala 2.11.12 is a maintenance release to allow running Scala 2.11 tooling on Java 9. Five pending backports were merged.

This release addresses (#​6108) a privilege escalation vulnerability that was identified in the Scala compilation daemon CVE-2017-15288.

We strongly encourage you to upgrade to the latest stable version of Scala 2.12.x, as the 2.11.x series is no longer actively maintained.

There is a known bug on Java 9 involving the repl: the workaround is to launch it as scala -nobootcp.

More general information about the Scala 2.11 series is available in the release notes for Scala 2.11.1.

Thanks to Lightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.

v2.11.11: Scala 2.11.11: all the way to eleven!

Compare Source

The 2.11.11 release concludes the 2.11.x series, with no further releases planned. Please consider upgrading to 2.12!

Do not use 2.11.9 or 2.11.10, which introduced significant regressions (see below). This also means this series goes to eleven. (No further, though.)

Changes

Significant changes since 2.11.8 include:

  • #​5730, #​5846 Allow custom apply and unapply methods in case class companions. Also allows case class constructors and apply methods to be private. (In 2.11.11, -Xsource:2.12 is needed to enable these changes. In Scala 2.12.2, they are on by default.)
  • #​5343 Add support for higher order unification under -Ypartial-unification (SI-2712)
  • #​5341 Fix for higher-kinded GADT refinement
  • #​5061 JMH-based benchmark framework for contributors
  • #​5026 Upgrade to newer scala-xml (1.0.5)

2.11.11 resolves regressions introduced in 2.11.9 and 2.11.10: #​5730 (fixed by #​5828 and #​5846), #​5664 (fixed by #​5821). Special thanks to @​xuwei-k and @​sjrd for reporting and helping diagnose these.

For more information, check out all closed bugs and merged PRs.

As usual for minor releases, Scala 2.11.11 is binary compatible with the whole Scala 2.11 series (with the exception of 2.11.9, which should not be used to publish artifacts, see #​5821).

To share your feedback on this release, please use our new GitHub-based bug tracker and Discourse-based contributors forum.

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 33 contributors, according to git shortlog -sn --no-merges v2.11.8..v2.11.11. Thank you Adriaan Moors, A. P. Marki, Jason Zaugg, Seth Tisue, Lukas Rytz, Performant Data LLC, Stefan Zeiger, Pap Lőrinc, Iulian Dragos, Rory Graves, Miles Sabin, Martijn Hoekstra, Mike Skells, Sébastien Doeraene, Dale Wijnand, Raphael Jolly, ptrcarta, Łukasz Gieroń, Carsten Varming, CodingTwinky, Jasper-M, Johannes Rudolph, Krzysztof Romanowski, Martynas Mickevičius, Masaru Nomura, Nicolas Stucki, Oscar Boykin, Paul Kernfeld, Philippus Baalman, Tobias Schlatter, Viktor Klang, af, and jvican!

Scala 2.11 Notes

The release notes for Scala 2.11.0 have important information applicable to the whole 2.11 series.

Obtaining Scala

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

v2.11.10: [Do not use] Scala 2.11.10, please upgrade to 2.11.11

Compare Source

Not suitable for use due to a regression caused by #​5730, fixed in 2.11.11 by #​5846.

v2.11.9: [Do not use] Scala 2.11.9, please upgrade to 2.11.11

This release contains a binary incompatible change introduce by #​5664 and fixed by the reversion in #​5821, which is available in 2.11.11 (yes, 2.11.10 was also flawed).

v2.11.8: Scala 2.11.8

Compare Source

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
  • Show desugarings performed by the compiler by adding //print: try for (x <- 1 to 10) println(x) //print<TAB>
  • Complete bean getters without typing get: try (d: java.util.Date).day<TAB>
  • Find members by typing any CamelCased part of the name: try classOf[String].typ<TAB> to get getAnnotationsByType, getComponentType 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 Gonç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):

Scala 2.11 Notes

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

  • Details on new features, important changes and deprecations since Scala 2.10.
  • The specification of binary compatibility between minor releases.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants