Skip to content

Scala 2.13.6

Compare
Choose a tag to compare
@lrytz lrytz released this 17 May 09:58
· 2807 commits to 2.13.x since this release
v2.13.6
9468b9a

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

Highlights

Other Changes

  • Optimized BigInt implementation (#9628) by @denisrosset
  • Support JDK15 text blocks in Java parser (#9548) by @harpocrates
  • Stricter override checking for protected Scala members which override Java members (#9525) by @kynthus
  • Check private[this] members in override checking (#9542)
  • More accurate outer checks in patterns (#9504)
  • Allow renaming imports from _root_ (#9482) by @som-snytt
  • Make more annotations extend ConstantAnnotation (9336) by @BalmungSan
  • A number of syntax changes were added to simplify cross-building between Scala 2 and 3
    • Don't error (only warn) on symbol literals under -Xsource:3 (#9602)
    • Support writing & instead of with in types under -Xsource:3 (#9594)
    • Support Scala 3 vararg splice syntax under -Xsource:3 (#9584)
    • Support Scala 3 wildcard and renaming imports under -Xsource:3 (#9582)
    • Allow soft keywords open and infix under -Xsource:3 (#9580)
    • Align leading infix operator with Scala 3 improvements (#9567)
    • Support ? as wildcard marker under -Xsource:3 (#9560)
    • Support case in pattern bindings under -Xsource:3 (#9558)
    • Parse +_ and -_ in types as identifiers under -Xsource:3 to support Scala 3.2 placeholder syntax (#9605)

Some small changes that will ship in 2.12.14 are also included in this release.

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

Compatibility

As usual for our minor releases, Scala 2.13.6 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.

This release was brought to you by 25 contributors, according to git shortlog -sn --no-merges HEAD ^v2.13.5 ^2.12.x. Thank you A. P. Marki, Lukas Rytz, Dale Wijnand, Jamie Thompson, Seth Tisue, 梦境迷离, Guillaume Martres, Martijn Hoekstra, Denis Rosset, Aaron S. Hawley, Kai, Eugene Yokota, Jason Zaugg, Anatolii Kmetiuk, Ikko Ashimine, superseeker13, Eugene Platonov, Diego E. Alonso Blas, Filipe Regadas, Hatano Yuusuke, Luis Miguel Mejía Suárez, Rafał Sumisławski, Alec Theriault, Tom Grigg, Torsten Schmits.

Thanks to Lightbend for their continued sponsorship of the Scala core 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):