Scala 2.13.15 release planning

This thread is for updates and discussions about the eventual Scala 2.13.15 release.

As of yet, we don’t know much about the release’s likely contents or timing. If no followup to 2.13.14 needs to be rushed out, then a typical timeframe might be 3–6 months.

Let’s use this thread to ask, propose, discuss.

4 Likes

There are now two concrete reasons to ship 2.13.15 soon:

  • to support JDK 23; the final release is expected in September
  • to support Scala 3.5.0 in the TASTy reader; 3.5.0-RC7 is imminent, with 3.5.0 final to follow

so we are now doing final reviewing and merging of open PRs, with the aim of releasing within a week or two of 3.5.0 final.

3 Likes

We’re down to the last three PRs. I’ll post draft release notes once we have green community build runs.

PRs postponed to 2.13.16, unless someone makes a case otherwise: Issues · scala/scala · GitHub

2 Likes

There are no more open 2.13.x PRs. The 2.13 community build is green, including on JDK 23.

2.13.15 release candidate is: 2.13.15-bin-52b2013 (to use, see How do I use a nightly build of Scala? - Stack Overflow)

I’ll post draft release notes soon, but for now, see PRs with “release-notes” label: Pull requests · scala/scala · GitHub

Please test!

1 Like

draft release notes. feedback welcome (on the PR)

We will publish the final releases (2.13.15 and 2.12.20) to Maven Central no sooner than Mon Sep 2, and then fully announce no sooner than Wed Sep 4.

2 Likes

Release is paused for the moment while we investigate this regression which turned up during the testing period: pre-2.13.15 regression: phase assembly related failure during Scaladoc generation in Scala.js repo · Issue #13028 · scala/bug · GitHub

We have a new release candidate! It is: 2.13.15-bin-31538fb

We merged a few additional PRs since the last RC:

These don’t necessitate any changes to the release notes.

Please test! We will republish this as 2.13.15 no sooner than Thu Sep 19, and then fully announce no sooner than Mon Sep 23.

4 Likes

Successfully tested Scala.js. For the existing release 1.16.0, the following two amendments need to be applied (they were added in the main branch since 1.1.6.0):

First, as with 2.13.14, we still need the following command to work around the fact that Any.scala and friends made their way into the source jar of the library:

set scalalibInternal.v2_13/Compile/sources ~= { val excludes = Set("Any.scala", "AnyRef.scala", "Nothing.scala", "Null.scala", "Singleton.scala"); prev => prev.filterNot(f => f.getParentFile.getName == "scala" && excludes.contains(f.getName)) }

Second, apply the following diff:

diff --git a/compiler/src/main/scala/org/scalajs/nscplugin/ScalaJSPlugin.scala b/compiler/src/main/scala/org/scalajs/nscplugin/ScalaJSPlugin.scala
index 5273a84b4..a67adbb94 100644
--- a/compiler/src/main/scala/org/scalajs/nscplugin/ScalaJSPlugin.scala
+++ b/compiler/src/main/scala/org/scalajs/nscplugin/ScalaJSPlugin.scala
@@ -77,7 +77,7 @@ class ScalaJSPlugin(val global: Global) extends NscPlugin {
     val jsAddons: ScalaJSPlugin.this.jsAddons.type = ScalaJSPlugin.this.jsAddons
     val scalaJSOpts = ScalaJSPlugin.this.scalaJSOpts
     override val runsAfter = List("typer")
-    override val runsBefore = List("pickle")
+    override val runsBefore = List("pickler")
   }
 
   object ExplicitInnerJSComponent extends ExplicitInnerJS[global.type](global) {
2 Likes

Built the Scala Plugin for IntelliJ IDEA with 2.13.15-bin-31538fb. All tests passed. Thank you, looking forward to the release!

(I also tested the previous RC, everything was fine there as well, I just didn’t respond because another RC was already considered).

3 Likes

2.13.15 JARs are now on Maven Central.

Tooling and compiler plugin maintainer powers, activate! Please publish support.

We won’t announce before Wednesday, September 25, 2024.

draft release notes: Scala 2.13.15 release notes (DRAFT) by SethTisue · Pull Request #875 · scala/scala-dev · GitHub

3 Likes

Scala.js 1.16.0, 1.15.0 and 1.14.0 support for 2.13.15 are on their way to Maven Central.

2 Likes

Scala Native 0.4 and 0.5 artifacts have been published to Maven Central

2 Likes