diff --git a/_config.yml b/_config.yml index 7c1596695a..c1157bb0ab 100644 --- a/_config.yml +++ b/_config.yml @@ -15,7 +15,7 @@ keywords: - Document - Guide -scala-version: 2.13.15 +scala-version: 2.13.16 scala-212-version: 2.12.20 scala-3-version: 3.6.2 diff --git a/_overviews/FAQ/index.md b/_overviews/FAQ/index.md index d800d3dd82..66ace60490 100644 --- a/_overviews/FAQ/index.md +++ b/_overviews/FAQ/index.md @@ -351,14 +351,14 @@ setting in a multi-project build. For example, if you add this to your `build.sbt`: - scalaVersion := "2.13.15" + scalaVersion := "2.13.16" that's a "bare" setting, and you might expect it to apply build-wide. But it doesn't. _It only applies to the root project._ In many cases one should instead write: - ThisBuild / scalaVersion := "2.13.15" + ThisBuild / scalaVersion := "2.13.16" Other possibilities include: diff --git a/_overviews/contribute/bug-reporting-guide.md b/_overviews/contribute/bug-reporting-guide.md index 2f50958675..20dd04546c 100644 --- a/_overviews/contribute/bug-reporting-guide.md +++ b/_overviews/contribute/bug-reporting-guide.md @@ -65,7 +65,7 @@ If you cannot find your issue in the issue tracker, create a new bug. The detail Please make sure to fill in as many fields as possible. Make sure you've indicated the following: - 1. **Exact Scala version** that you are using. For example, `2.13.15` or `3.3.4`. If the bug happens in multiple versions indicate all of them. + 1. **Exact Scala version** that you are using. For example, `2.13.16` or `3.3.4`. If the bug happens in multiple versions indicate all of them. 2. **The component** that is affected by the bug. For example, the Standard Library, Scaladoc, etc. 3. **Labels** related to your issue. For example, if you think your issue is related to the typechecker, and if you have successfully minimized your issue, label your bug as "typechecker" and "minimized". Issue tracker will suggest names for existing labels as you type them so try not to create duplicates. 4. **Running environment**. Are you running on Linux? Windows? What JVM version are you using? diff --git a/_overviews/core/binary-compatibility-of-scala-releases.md b/_overviews/core/binary-compatibility-of-scala-releases.md index e65407c926..f72d3979fd 100644 --- a/_overviews/core/binary-compatibility-of-scala-releases.md +++ b/_overviews/core/binary-compatibility-of-scala-releases.md @@ -20,10 +20,10 @@ We distinguish forward and backward compatibility (think of these as properties Thus, backward compatibility precludes the removal of (non-private) methods, as older versions could call them, not knowing they would be removed, whereas forward compatibility disallows adding new (non-private) methods, because newer programs may come to depend on them, which would prevent them from running on older versions (private methods are exempted here as well, as their definition and call sites must be in the same source file). #### Guarantees and Versioning -For Scala 2, the *minor* version is the *third* number in a version, e.g., 10 in v2.13.10. +For Scala 2, the *minor* version is the *third* number in a version, e.g., 16 in v2.13.16. The major version is the second number, which is 13 in our example. -Scala 2 up to 2.13.15 guarantees both backward and forward compatibility across *minor* releases within a single major release. +Scala 2 up to 2.13.16 guarantees both backward and forward compatibility across *minor* releases within a single major release. This is about to change now that [SIP-51 has been accepted](https://docs.scala-lang.org/sips/drop-stdlib-forwards-bin-compat.html), future Scala 2.13 releases may be backward compatible only. For Scala 3, the minor version is the *second* number in a version, e.g., 2 in v3.2.1. diff --git a/_overviews/jdk-compatibility/overview.md b/_overviews/jdk-compatibility/overview.md index b6aba75994..cb5e677243 100644 --- a/_overviews/jdk-compatibility/overview.md +++ b/_overviews/jdk-compatibility/overview.md @@ -14,7 +14,7 @@ Minimum Scala versions: | JDK | 3 | 3 LTS | 2.13 | 2.12 | 2.11 | |:-----------:|:--------:|:--------:|:---------:|:---------:|:----------:| -| 24 (ea) | 3.6.x? 3.7.x?
(forthcoming) | 3.3.5?
(forthcoming) | 2.13.16
(forthcoming) | 2.12.21
(forthcoming) | | +| 24 (ea) | 3.6.x? 3.7.x?
(forthcoming) | 3.3.5?
(forthcoming) | 2.13.16 | 2.12.21
(forthcoming) | | | 23 | 3.6.2 | 3.3.5
(forthcoming) | 2.13.15 | 2.12.20 | | | 22 | 3.4.0 | 3.3.4 | 2.13.13 | 2.12.19 | | | 21 (LTS) | 3.4.0 | 3.3.1 | 2.13.11 | 2.12.18 | | @@ -135,7 +135,7 @@ For possible Scala 2 issues, see the [jdk11](https://github.com/scala/bug/labels JDK 24 will be non-LTS. -Scala 2.13.16 (forthcoming) and Scala 2.12.21 (forthcoming) will support JDK 24. We are also working on adding JDK 24 support to Scala 3. (Support may be available in nightly builds and/or release candidates.) +Scala 2.13.16+ supports, and Scala 2.12.21 (forthcoming) will support, JDK 24. We are also working on adding JDK 24 support to Scala 3. (Support may be available in nightly builds and/or release candidates.) For possible Scala 2 issues, see the [jdk11](https://github.com/scala/bug/labels/jdk11), [jdk17](https://github.com/scala/bug/labels/jdk17), and [jdk21](https://github.com/scala/bug/labels/jdk21) labels in the Scala 2 bug tracker. diff --git a/api/all.md b/api/all.md index 5c9c54ed88..024f88c005 100644 --- a/api/all.md +++ b/api/all.md @@ -12,10 +12,10 @@ redirect_from: * [Library API](https://www.scala-lang.org/api/{{site.scala-3-version}}/) * Scala 3.3.4 LTS * [Library API](https://www.scala-lang.org/api/3.3.4/) -* Scala 2.13.15 - * [Library API](https://www.scala-lang.org/api/2.13.15/) - * [Compiler API](https://www.scala-lang.org/api/2.13.15/scala-compiler/scala/) - * [Reflection API](https://www.scala-lang.org/api/2.13.15/scala-reflect/scala/reflect/) +* Scala 2.13.16 + * [Library API](https://www.scala-lang.org/api/2.13.16/) + * [Compiler API](https://www.scala-lang.org/api/2.13.16/scala-compiler/scala/) + * [Reflection API](https://www.scala-lang.org/api/2.13.16/scala-reflect/scala/reflect/) * Scala 2.12.20 * [Library API](https://www.scala-lang.org/api/2.12.20/) * [Compiler API](https://www.scala-lang.org/api/2.12.20/scala-compiler/scala/) @@ -104,6 +104,10 @@ https://scala-ci.typesafe.com/artifactory/scala-integration/org/scala-lang/ * [Library API](https://www.scala-lang.org/api/3.0.1/) * Scala 3.0.0 * [Library API](https://www.scala-lang.org/api/3.0.0/) +* Scala 2.13.15 + * [Library API](https://www.scala-lang.org/api/2.13.15/) + * [Compiler API](https://www.scala-lang.org/api/2.13.15/scala-compiler/scala/) + * [Reflection API](https://www.scala-lang.org/api/2.13.15/scala-reflect/scala/reflect/) * Scala 2.13.14 * [Library API](https://www.scala-lang.org/api/2.13.14/) * [Compiler API](https://www.scala-lang.org/api/2.13.14/scala-compiler/scala/) diff --git a/scripts/run-mdoc.sh b/scripts/run-mdoc.sh index 6d729df4f1..fc478f83d5 100755 --- a/scripts/run-mdoc.sh +++ b/scripts/run-mdoc.sh @@ -1,11 +1,11 @@ #!/bin/bash set -eux -cs launch --scala-version 2.13.15 org.scalameta::mdoc:2.3.3 -- \ +cs launch --scala-version 2.13.16 org.scalameta::mdoc:2.3.3 -- \ --in . \ --out /tmp/mdoc-out/ \ --classpath \ - $(cs fetch --scala-version 2.13.15 -p \ + $(cs fetch --scala-version 2.13.16 -p \ com.chuusai::shapeless:2.3.10 \ org.scala-lang::toolkit:0.1.7 \ org.scala-lang::toolkit-test:0.1.7 \