From 82276c18c75face48018776b4474f6fa4732ad03 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 22 Feb 2021 15:02:47 -0800 Subject: [PATCH] Scala 2.13.5 is here --- _config.yml | 4 ++-- _overviews/jdk-compatibility/overview.md | 14 +++++++------- api/all.md | 12 ++++++++---- scala3/guides/tasty-overview.md | 4 ++-- 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/_config.yml b/_config.yml index c71bf36dc6..f510ed6db3 100644 --- a/_config.yml +++ b/_config.yml @@ -15,9 +15,9 @@ keywords: - Document - Guide -scala-version: 2.13.4 +scala-version: 2.13.5 scala-212-version: 2.12.13 -scala-3-version: 3.0.0-M3 +scala-3-version: 3.0.0-RC1 scala-3-plugin-version: 0.5.1 collections: diff --git a/_overviews/jdk-compatibility/overview.md b/_overviews/jdk-compatibility/overview.md index a6805ec7d1..ab52a5b764 100644 --- a/_overviews/jdk-compatibility/overview.md +++ b/_overviews/jdk-compatibility/overview.md @@ -12,11 +12,11 @@ Sometimes new JVM and JDK (Java Development Kit) versions require us to update S | JDK version | Minimum Scala versions | Recommended Scala versions | |:-----------:|:---------------------------------|:-----------------------------------------------------------| -| 16 | see below | see below -| 13, 14, 15 | 2.13.2, 2.12.11 | 2.13.4, 2.12.13 | -| 12 | 2.13.1, 2.12.9 | 2.13.4, 2.12.13 | -| 11 | 2.13.0, 2.12.4, 2.11.12 | 2.13.4, 2.12.13, 2.11.12 | -| 8 | 2.13.0, 2.12.0, 2.11.0, 2.10.2 | 2.13.4, 2.12.13, 2.11.12, 2.10.7 | +| 16, 17 | see below | see below +| 13, 14, 15 | 2.13.2, 2.12.11 | 2.13.5, 2.12.13 | +| 12 | 2.13.1, 2.12.9 | 2.13.5, 2.12.13 | +| 11 | 2.13.0, 2.12.4, 2.11.12 | 2.13.5, 2.12.13, 2.11.12 | +| 8 | 2.13.0, 2.12.0, 2.11.0, 2.10.2 | 2.13.5, 2.12.13, 2.11.12, 2.10.7 | | 6, 7 | 2.11.0, 2.10.0 | 2.11.12, 2.10.7 | Even when a version combination isn't listed as supported, most features may still work. (But Scala 2.12+ definitely doesn't work at all on JDK 6 or 7.) @@ -80,10 +80,10 @@ As far as we know, 12, 13, 14, and 15 are similar to 11 with respect to Scala co JDK 16 prereleases are now available. The final release is [targeted](https://openjdk.java.net/projects/jdk/16/) for March 2021. -The Scala community build now runs on JDK 16. As of February 1, there are known issues on the [jdk16](https://github.com/scala/bug/labels/jdk16) label. We are working on it. We intend to ship improved JDK 16 support in Scala 2.12.14 ([release timing thread](https://contributors.scala-lang.org/t/scala-2-12-14-planning/4852/2)) and 2.13.5 ([release timing thread](https://contributors.scala-lang.org/t/scala-2-13-5-planning/4825/6)). +The Scala community build now runs on JDK 16. We shipped improved JDK 16 support in [Scala 2.13.5](https://github.com/scala/scala/releases/tag/v2.13.5) and intend to ship the same improvements soon in Scala 2.12.14 ([release timing thread](https://contributors.scala-lang.org/t/scala-2-12-14-planning/4852/2)). ## Scala 3 -The Scala 3.0.x series will support JDK 8, as well as 11 and beyond. +The Scala 3.0.x series supports JDK 8, as well as 11 and beyond. As Scala and the JVM continue to evolve, some eventual Scala 3.x version may drop support for JDK 8, in order to better take advantage of new JVM features. It isn't clear yet what the new minimum supported version might become. diff --git a/api/all.md b/api/all.md index 99d5b81e1b..288291bc5e 100644 --- a/api/all.md +++ b/api/all.md @@ -6,10 +6,10 @@ includeTOC: true ## Latest releases -* Scala 2.13.4 - * [Library API](https://www.scala-lang.org/api/2.13.4/) - * [Compiler API](https://www.scala-lang.org/api/2.13.4/scala-compiler/scala/) - * [Reflection API](https://www.scala-lang.org/api/2.13.4/scala-reflect/scala/reflect/) +* Scala 2.13.5 + * [Library API](https://www.scala-lang.org/api/2.13.5/) + * [Compiler API](https://www.scala-lang.org/api/2.13.5/scala-compiler/scala/) + * [Reflection API](https://www.scala-lang.org/api/2.13.5/scala-reflect/scala/reflect/) * Scala 2.12.13 * [Library API](https://www.scala-lang.org/api/2.12.13/) * [Compiler API](https://www.scala-lang.org/api/2.12.13/scala-compiler/scala/) @@ -53,6 +53,10 @@ includeTOC: true ## Previous releases +* Scala 2.13.4 + * [Library API](https://www.scala-lang.org/api/2.13.4/) + * [Compiler API](https://www.scala-lang.org/api/2.13.4/scala-compiler/scala/) + * [Reflection API](https://www.scala-lang.org/api/2.13.4/scala-reflect/scala/reflect/) * Scala 2.13.3 * [Library API](https://www.scala-lang.org/api/2.13.3/) * [Compiler API](https://www.scala-lang.org/api/2.13.3/scala-compiler/scala/) diff --git a/scala3/guides/tasty-overview.md b/scala3/guides/tasty-overview.md index c29b0947fc..c6734986b2 100644 --- a/scala3/guides/tasty-overview.md +++ b/scala3/guides/tasty-overview.md @@ -117,9 +117,9 @@ As you can imagine, having a complete representation of your code has [many bene - Tasty makes an excellent foundation for a new generation of [reflection-based macros][macros]. - Optimizers and analyzers can use it for deep code analysis and advanced code generation. -In a related note, Scala 2.13.4 has a TASTy reader, and the Scala 3 compiler can also read the 2.13 “Pickle” format. The [Compatibility Reference](https://scalacenter.github.io/scala-3-migration-guide/docs/compatibility.html) in the Scala 3 Migration Guide summarizes the benefits of this cross-compiling capability: +In a related note, Scala 2.13.5 has a TASTy reader, and the Scala 3 compiler can also read the 2.13 “Pickle” format. The [Compatibility Reference](https://scalacenter.github.io/scala-3-migration-guide/docs/compatibility.html) in the Scala 3 Migration Guide summarizes the benefits of this cross-compiling capability: -> “You can have a Scala `2.13.4` module that depends on a Scala `3.0.0-M1` module, and the latter can even depend on another Scala `2.13.4` module. >Cross-compatibility will not restrain you from using the exciting new features of Scala 3.0. +> “You can have a Scala `2.13` module that depends on a Scala `3.0.0-RC1` module, and the latter can even depend on another Scala `2.13` module. >Cross-compatibility will not restrain you from using the exciting new features of Scala 3.0. > In short, we have backward and forward compatibility and so migration can happen gradually and in any order.”