From ea81addc318b7d710f6ac1ccc367b39596165678 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 23 Sep 2024 10:45:37 -0600 Subject: [PATCH] add Scala 2.13.15 --- _config.yml | 2 +- _overviews/FAQ/index.md | 4 ++-- _overviews/contribute/bug-reporting-guide.md | 2 +- .../core/binary-compatibility-of-scala-releases.md | 2 +- _overviews/jdk-compatibility/overview.md | 14 +++++++------- api/all.md | 12 ++++++++---- scripts/run-mdoc.sh | 4 ++-- 7 files changed, 22 insertions(+), 18 deletions(-) diff --git a/_config.yml b/_config.yml index 0d1ac45668..17af657e08 100644 --- a/_config.yml +++ b/_config.yml @@ -15,7 +15,7 @@ keywords: - Document - Guide -scala-version: 2.13.14 +scala-version: 2.13.15 scala-212-version: 2.12.20 scala-3-version: 3.5.1 diff --git a/_overviews/FAQ/index.md b/_overviews/FAQ/index.md index 7d3966986e..18c901cdda 100644 --- a/_overviews/FAQ/index.md +++ b/_overviews/FAQ/index.md @@ -341,14 +341,14 @@ setting in a multi-project build. For example, if you add this to your `build.sbt`: - scalaVersion := "2.13.14" + scalaVersion := "2.13.15" 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.14" + ThisBuild / scalaVersion := "2.13.15" Other possibilities include: diff --git a/_overviews/contribute/bug-reporting-guide.md b/_overviews/contribute/bug-reporting-guide.md index c7bc2636dc..d168797a2d 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.14` or `3.3.3`. If the bug happens in multiple versions indicate all of them. + 1. **Exact Scala version** that you are using. For example, `2.13.15` or `3.3.3`. 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 ebe205403c..e65407c926 100644 --- a/_overviews/core/binary-compatibility-of-scala-releases.md +++ b/_overviews/core/binary-compatibility-of-scala-releases.md @@ -23,7 +23,7 @@ Thus, backward compatibility precludes the removal of (non-private) methods, as For Scala 2, the *minor* version is the *third* number in a version, e.g., 10 in v2.13.10. The major version is the second number, which is 13 in our example. -Scala 2 up to 2.13.14 guarantees both backward and forward compatibility across *minor* releases within a single major release. +Scala 2 up to 2.13.15 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 d02b4e1455..99b953306f 100644 --- a/_overviews/jdk-compatibility/overview.md +++ b/_overviews/jdk-compatibility/overview.md @@ -14,7 +14,7 @@ Minimum Scala versions: | JDK | 3 | 2.13 | 2.12 | 2.11 | |:-----------:|:--------:|:---------:|:---------:|:----------:| -| 23 (ea) | 3.3.5* | 2.13.15* | 2.12.20 | | +| 23 | 3.3.5* | 2.13.15 | 2.12.20 | | | 22 | 3.3.4* | 2.13.13 | 2.12.19 | | | 21 (LTS) | 3.3.1 | 2.13.11 | 2.12.18 | | | 17 (LTS) | 3.0.0 | 2.13.6 | 2.12.15 | | @@ -119,18 +119,18 @@ Scala 2.13.13+ and 2.12.19+ support JDK 22. We are working on adding JDK 22 support to the 3.3.x release series. (Support may be available in nightly builds.) -For possible Scala 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. +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. ## JDK 23 compatibility notes -Early access builds of JDK 23 are available. JDK 23 will be non-LTS. +JDK 23 is non-LTS. -Scala 2.12.20+ supports JDK 23. +Scala 2.13.15+ and Scala 2.12.20+ support JDK 23. -We are working on adding JDK 23 support to Scala 3 and Scala 2.13. -(Support may be available in nightly builds.) +We are working on adding JDK 23 support to Scala 3. +(Support may be available in nightly builds and/or release candidates.) -For possible Scala 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. +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. ## GraalVM Native Image compatibility notes diff --git a/api/all.md b/api/all.md index deb6ed30e2..0cf696bd4b 100644 --- a/api/all.md +++ b/api/all.md @@ -12,10 +12,10 @@ redirect_from: * [Library API](https://www.scala-lang.org/api/3.5.1/) * Scala 3.3.3 LTS * [Library API](https://www.scala-lang.org/api/3.3.3/) -* 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/) - * [Reflection API](https://www.scala-lang.org/api/2.13.14/scala-reflect/scala/reflect/) +* 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.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/) @@ -98,6 +98,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.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/) + * [Reflection API](https://www.scala-lang.org/api/2.13.14/scala-reflect/scala/reflect/) * Scala 2.13.13 * [Library API](https://www.scala-lang.org/api/2.13.13/) * [Compiler API](https://www.scala-lang.org/api/2.13.13/scala-compiler/scala/) diff --git a/scripts/run-mdoc.sh b/scripts/run-mdoc.sh index 4f3a7da6ea..6d729df4f1 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.14 org.scalameta::mdoc:2.3.3 -- \ +cs launch --scala-version 2.13.15 org.scalameta::mdoc:2.3.3 -- \ --in . \ --out /tmp/mdoc-out/ \ --classpath \ - $(cs fetch --scala-version 2.13.14 -p \ + $(cs fetch --scala-version 2.13.15 -p \ com.chuusai::shapeless:2.3.10 \ org.scala-lang::toolkit:0.1.7 \ org.scala-lang::toolkit-test:0.1.7 \