- Notifications
You must be signed in to change notification settings - Fork3.1k
Scala 2.13.6
9468b9aThe Scala 2 team at Lightbend is pleased to announce the availability of Scala 2.13.6.
Highlights
- TASTy Reader support for Scala 3.0.0 (#9617 by@bishabosha)
- Thesplain compiler plugin by@tek was integrated into the compiler, available with the
-Vimplicitsand-Vtype-diffsflags (#7785) - Escaped double quotes now work as expected in string interpolations, both
s"\""ands"$""(#8830 by@eed3si9n and#9536 by@martijnhoekstra)
Other Changes
- Optimized
BigIntimplementation (#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 ofwithin 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:3to support Scala 3.2 placeholder syntax (#9605)
- Don't error (only warn) on symbol literals under
Some small changes that will ship in 2.12.14 are also included in this release.
For the complete 2.13.6 change lists, seeall merged PRs andall 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 togit 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 toLightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offerscommercial support for Scala.
Scala 2.13 notes
Therelease 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
scalaVersionsetting in your sbt-based project - Download a distribution fromscala-lang.org
- Obtain JARs viaMaven Central
Assets9
Uh oh!
There was an error while loading.Please reload this page.