Skip to content

Scala 2.13.14

Latest
Compare
Choose a tag to compare
@SethTisue SethTisue released this 01 May 21:26
· 22 commits to 2.13.x since this release
v2.13.14
a527019

The Scala team at Lightbend is pleased to announce Scala 2.13.14.

The following changes are highlights of this release:

Align with Scala 3

  • Introduce -Xsource-features, for customizing the behavior of -Xsource:3 and -Xsource:3-cross (#10709)
    • A section of the Scala 3 Migration Guide documents these flags: documentation

Regression fixes

  • Rename -Xlint:named-booleans to -Wunnamed-boolean-literal (and no longer include it in -Xlint) (#10704 by @som-snytt)
  • Fix ArrayBuilder regression in Scala 2.13.13 (OutOfMemoryError when adding empty arrays) (#10722 by @som-snytt)
  • Fix 2.13.13 regression in Scaladoc compilation when using Scala 3 definitions (#10700 by @bishabosha)

Other improvements

  • Unused warnings: for macros, by default, look for usages in expansion (#10693 by @som-snytt)
  • REPL: Upgrade to JLine 3.25.1 (was 3.24.1) (#10717)
  • Remove SHELLOPTS=vi and -Xjline support; reinstate -Xnojline (#10716 by @hvesalai)

More changes

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

Compatibility

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

Upgrading from 2.12? Enable -Xmigration while upgrading to request migration advice from the compiler.

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.

We especially acknowledge and thank A. P. Marki, also known as Som Snytt, who is responsible for many of the improvements in this release.

This release was brought to you by 9 contributors, according to git shortlog -sn --no-merges @ ^v2.13.13 ^2.12.x. Thank you A. P. Marki, Lukas Rytz, Seth Tisue, Scala Steward, Jamie Thompson, Antoine Amiguet, Heikki Vesalainen, Robert Stoll, guqicun.

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

Scala 2.13 notes

The release notes for Scala 2.13.0 have important information applicable to the whole 2.13 series.

Obtaining Scala

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

  • Bump the using scala setting in your Scala CLI project
  • Bump the scalaVersion setting in your sbt or Mill project
  • Download a distribution from scala-lang.org
  • Obtain JARs via Maven Central