Skip to content

Scala 2.12.17

Compare
Choose a tag to compare
@SethTisue SethTisue released this 16 Sep 21:44
· 9631 commits to 2.13.x since this release
v2.12.17
45183fa

This release has the following notable changes affecting compatibility:

  • Always emit Java 8 bytecode on 2.12, regardless of -release; deprecate -target (#10109)
  • Upgrade the 2.12 scala-compiler's dependency on scala-xml to 2.1.0 (was 1.0.6) (#10108)

It also fixes this regression in Scala 2.12.16:

  • Correctly handle overloads in mixed compilation with Java inner classes (fixing 2.12.16 regression) (#10045)

and aids migration to Scala 2.13:

  • Under -Xsource:2.13, warn about changed precedence in imports (#10095)

and eases cross-compilation with Scala 3:

  • Accept and ignore using in method signature (to aid cross-building with Scala 3) (#10075)

and enables improved tooling:

  • Tooling support: Add a tree attachment to mark auto-applications (#10063)
  • Tooling support: Attachments for infix Apply and postfix Select (#10042)
  • Tooling support: Fix AST positions for XML literals, selections from blocks (#10040)

For complete 2.12.17 change lists, see all merged PRs and all closed bugs.

Compatibility

As usual for our minor releases, Scala 2.12.17 is binary-compatible with the whole Scala 2.12 series.

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 7 contributors, according to git shortlog -sn --no-merges @ ^v2.12.16 ^2.11.x. Thank you Lukas Rytz, Seth Tisue, Sébastien Doeraene, A. P. Marki, Jason Zaugg, Scala Steward, Daniel Esik.

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

Scala 2.12 notes

The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.

Obtaining Scala

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