Skip to content

Scala 2.13.6 #2025

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
May 17, 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.5
scala-version: 2.13.6
scala-212-version: 2.12.13
scala-3-version: 3.0.0-RC1
scala-3-version: 3.0.0
scala-3-plugin-version: 0.5.1

collections:
Expand Down
12 changes: 6 additions & 6 deletions _overviews/jdk-compatibility/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Sometimes new JVM and JDK (Java Development Kit) versions require us to update S
| JDK version | Minimum Scala versions | Recommended Scala versions |
|:-----------:|:---------------------------------|:-----------------------------------------------------------|
| 17 | see below | see below
| 16 | 2.13.5, 2.12.14 (forthcoming) | 2.13.5, 2.12.14 (forthcoming)
| 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 |
| 16 | 2.13.5, 2.12.14 (forthcoming) | 2.13.6, 2.12.14 (forthcoming)
| 13, 14, 15 | 2.13.2, 2.12.11 | 2.13.6, 2.12.13 |
| 12 | 2.13.1, 2.12.9 | 2.13.6, 2.12.13 |
| 11 | 2.13.0, 2.12.4, 2.11.12 | 2.13.6, 2.12.13, 2.11.12 |
| 8 | 2.13.0, 2.12.0, 2.11.0, 2.10.2 | 2.13.6, 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 @@ -81,7 +81,7 @@ As far as we know, 12, 13, 14, and 15 are similar to 11 with respect to Scala co

JDK 16 was released in March 2021. It is not an LTS release, so the remarks above about non-LTS releases apply. The next LTS release will be JDK 17.

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)).
The Scala community build and the Scala build and test suite run 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)).

## JDK 17 compatibility notes

Expand Down
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.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.13.6
* [Library API](https://www.scala-lang.org/api/2.13.6/)
* [Compiler API](https://www.scala-lang.org/api/2.13.6/scala-compiler/scala/)
* [Reflection API](https://www.scala-lang.org/api/2.13.6/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 @@ -58,6 +58,10 @@ https://scala-ci.typesafe.com/artifactory/scala-integration/org/scala-lang/

## Previous releases

* 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.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/)
Expand Down
7 changes: 2 additions & 5 deletions scala3/guides/tasty-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,7 @@ 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.5 has a TASTy reader, and the Scala 3 compiler can also read the 2.13 “Pickle” format. The [Compatibility Reference][compatibility-ref] in the Scala 3 Migration Guide summarizes the benefits of this cross-compiling capability:

> “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.”
In a related note, Scala 2.13.6 has a TASTy reader, and the Scala 3 compiler can also read the 2.13 “Pickle” format. The [Classpath Compatibility Page][compatibility-ref] in the Scala 3 Migration Guide explains the benefits of this cross-compiling capability.



Expand All @@ -144,6 +141,6 @@ These articles provide more information about Scala 3 macros:
[benefits]: https://www.scala-lang.org/blog/2018/04/30/in-a-nutshell.html
[erasure]: https://www.scala-lang.org/files/archive/spec/2.13/03-types.html#type-erasure
[binary]: {% link _overviews/tutorials/binary-compatibility-for-library-authors.md %}
[compatibility-ref]: {% link _overviews/scala3-migration/compatibility-intro.md %}
[compatibility-ref]: {% link _overviews/scala3-migration/compatibility-classpath.md %}
[quotes-reflect]: {{ site.scala3ref }}/metaprogramming/reflection.html
[macros]: {{ site.scala3ref }}/metaprogramming/macros.html