Skip to content

Scala 2.12.17 draft release notes #816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions releases/2.12.17.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Scala 2.12.17 (DRAFT)

The Scala team at Lightbend is pleased to announce the availability of Scala 2.12.17.

This release has the following notable changes affecting compatibility:

* Always emit Java 8 bytecode on 2.12, regardless of `-release`; deprecate `-target` ([#10109](https://github.com/scala/scala/pull/10109))
* Upgrade the 2.12 scala-compiler's dependency on scala-xml to 2.1.0 (was 1.0.6) ([#10108](https://github.com/scala/scala/pull/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](https://github.com/scala/scala/pull/10045))

and aids migration to Scala 2.13:

* Under `-Xsource:2.13`, warn about changed precedence in imports ([#10095](https://github.com/scala/scala/pull/10095))

and eases cross-compilation with Scala 3:

* Accept and ignore `using` in method signature (to aid cross-building with Scala 3) ([#10075](https://github.com/scala/scala/pull/10075))

and enables improved tooling:

* Tooling support: Add a tree attachment to mark auto-applications ([#10063](https://github.com/scala/scala/pull/10063))
* Tooling support: Attachments for infix Apply and postfix Select ([#10042](https://github.com/scala/scala/pull/10042))
* Tooling support: Fix AST positions for XML literals, selections from blocks ([#10040](https://github.com/scala/scala/pull/10040))

For complete 2.12.17 change lists, see [all merged PRs](https://github.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.12.17) and [all closed bugs](https://github.com/scala/bug/issues?utf8=%E2%9C%93&q=is%3Aclosed+milestone%3A2.12.17).

## Compatibility

As usual for our minor releases, Scala 2.12.17 is [binary-compatible](https://docs.scala-lang.org/overviews/core/binary-compatibility-of-scala-releases.html) 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](https://www.lightbend.com/scala) for their continued sponsorship of the Scala core team’s efforts. Lightbend offers [commercial support](https://www.lightbend.com/lightbend-platform-subscription) for Scala.

## Scala 2.12 notes

The [release notes for Scala 2.12.0](https://github.com/scala/scala/releases/v2.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):

* Bump the `scalaVersion` setting in your sbt-based project
* Download a distribution from [scala-lang.org](http://scala-lang.org/download/2.12.17.html)
* Obtain JARs via [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.12.17%22)