diff --git a/releases/2.13.5.md b/releases/2.13.5.md new file mode 100644 index 0000000000..3c67d3fef6 --- /dev/null +++ b/releases/2.13.5.md @@ -0,0 +1,50 @@ +## Scala 2.13.5 + +The Scala 2 team at Lightbend is pleased to announce the availability of Scala 2.13.5. + +### Highlights + +* TASTy reader: add support for Scala 3.0.0-RC1 ([#9501](https://github.com/scala/scala/pull/9501), [#9394](https://github.com/scala/scala/pull/9394), [#9357](https://github.com/scala/scala/pull/9357)) [@bishabosha](https://github.com/bishabosha) +* Allow name-based extractors to be irrefutable ([#9343](https://github.com/scala/scala/pull/9343)) [@martijnhoekstra](https://github.com/martijnhoekstra) +* Upgrade to ASM 9.1, for JDK 16 and 17 support in the optimizer ([#9489](https://github.com/scala/scala/pull/9489), [#9480](https://github.com/scala/scala/pull/9480)) + +### Other changes + +* Assorted improvements to exhaustivity checking in pattern matching ([#9479](https://github.com/scala/scala/pull/9479), [#9472](https://github.com/scala/scala/pull/9472), [#9474](https://github.com/scala/scala/pull/9474), [#9313](https://github.com/scala/scala/pull/9313), [#9462](https://github.com/scala/scala/pull/9462)) +* Assorted improvements to handling of higher-kinded types, aligning with Scala 3 ([#9400](https://github.com/scala/scala/pull/9400), [#9404](https://github.com/scala/scala/pull/9404), [#9405](https://github.com/scala/scala/pull/9405), [#9414](https://github.com/scala/scala/pull/9414), [#9417](https://github.com/scala/scala/pull/9417), [#9439](https://github.com/scala/scala/pull/9439)) [@joroKr21](https://github.com/joroKr21) +* Make `-target` support JVM 13, 14, 15, 16, and 17 ([#9489](https://github.com/scala/scala/pull/9489), [#9481](https://github.com/scala/scala/pull/9481)) +* Omit `@nowarn` annotations from generated code, for forwards compatibility at compile-time ([#9491](https://github.com/scala/scala/pull/9491)) +* Add linting of unused context bounds (via `-Wunused:synthetics` or `-Wunused:params`) ([#9346](https://github.com/scala/scala/pull/9346)) [@som-snytt](https://github.com/som-snytt) +* Lift artificial restrictions on `ConstantAnnotation`s ([#9379](https://github.com/scala/scala/pull/9379)) +* Make Java `Map` wrappers handle nulls according to `put`/`remove` contract ([#9344](https://github.com/scala/scala/pull/9344)) [@som-snytt](https://github.com/som-snytt) +* Make language specification available as a PDF ([#7432](https://github.com/scala/scala/pull/7432)) [@sake92](https://github.com/sake92) + +Some small changes that will ship in 2.12.14 are also included in this release. + +For complete 2.13.5 change lists, see [all merged PRs](https://github.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.5) and [all closed bugs](https://github.com/scala/bug/issues?utf8=%E2%9C%93&q=is%3Aclosed+milestone%3A2.13.5). + +## Compatibility + +As usual for our minor releases, Scala 2.13.5 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 23 contributors, according to `git shortlog -sn --no-merges HEAD ^v2.13.4 ^2.12.x`. Thank you Seth Tisue, A. P. Marki, Dale Wijnand, NthPortal, Jamie Thompson, Lukas Rytz, Martijn Hoekstra, Georgi Krastev, Jason Zaugg, Jasper Moeys, Sakib Hadziavdic, Anatolii Kmetiuk, Arnaud Gourlay, Marcono1234, Chia-Ping Tsai, Mike Skells, Stefan Zeiger, Waleed Khan, Yann Bolliger, Guillaume Martres, 梦境迷离, Ethan Atkins, Darcy Shen. + +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.13 notes + +The [release notes for Scala 2.13.0](https://github.com/scala/scala/releases/v2.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 `scalaVersion` setting in your sbt-based project +* Download a distribution from [scala-lang.org](http://scala-lang.org/download/2.13.5.html) +* Obtain JARs via [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.13.5%22)