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 )
# Scala 2.13.15 (DRAFT)
The Scala team at Lightbend is pleased to announce Scala 2.13.15.
The following changes are highlights of this release:
### Breaking changes
This change is especially likely to require user attention when upgrading:
* `-Wconf:x,y` now (incompatibly!) means `-Wconf:x -Wconf:y`, rather than the reverse (to align with Scala 3 and with user intuition) ([#10708](https://github.com/scala/scala/pull/10708) by [@som-snytt](https://github.com/som-snytt))
### Features
* Support alternative JVM system images (via `-system`, like javac) ([#10801](https://github.com/scala/scala/pull/10801) by [@szeiger](https://github.com/szeiger))
* Add `-Ycollect-statistics` for collecting statistics without printing them ([#10795](https://github.com/scala/scala/pull/10795) by [@szeiger](https://github.com/szeiger))
### Compatibility
* Support JDK 23 in optimizer (via upgrade to patched ASM 9.7.0) ([#10744](https://github.com/scala/scala/pull/10744)
This file has been truncated. show original
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
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
sjrd
September 13, 2024, 2:46pm
9
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
sjrd
September 21, 2024, 6:24am
12
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
lihaoyi
September 23, 2024, 3:38am
14
Published Ammonite 3.0.0 which has support for Scala 2.13.15 and 3.5.1
4 Likes
One regression involving code positions in for comprehensions turned up at Please publish for Scala 2.13.15 · Issue #640 · scoverage/scalac-scoverage-plugin · GitHub , but our sense is that there will be little if any impact on users.
So I think we might be ready to announce now, but I’m awaiting confirmation from Seb & Tomasz.