Skip to content

Scala 2.13.5 is here #1929

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
14 changes: 7 additions & 7 deletions _overviews/jdk-compatibility/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.)
Expand Down Expand Up @@ -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.
12 changes: 8 additions & 4 deletions api/all.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down Expand Up @@ -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/)
Expand Down
4 changes: 2 additions & 2 deletions scala3/guides/tasty-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.”


Expand Down