Scala 3.3.6 LTS release thread

Scala 3.3.6-RC1 is now available!

This patch release backports most of the improvements and bugfixes introduced in the Scala Next series up to the Scala 3.6.4 release.
All of the backported changes were proven to not break either binary or source compatibility, by testing the compilation of over 1500 projects using Scala 3 Open Community Build.

Notable changes:

  • REPL: Add REPL init script setting #22206

  • Update asm to patched 9.7.1 # #22250

  • REPL: Add back :silent command # #22248

  • Do not lift annotation arguments #22035 and #22046

  • Scala 2 forwardport: -Yprofile-trace #19897

For a full list of changes and contributor credits, please refer to the release notes.

The final release is planned for 28th April

3 Likes

Hi,
is it possible to upgrade asm to v9.8 already? They released it just a couple of days ago: ASM - Versions

That would unlock Java 25 eap already - which is nice so people could use it for early testing - specially since it is an LTS.

Upcoming Scala 2.12.21 (due soon) will also upgrade already: [2.12.x] Upgrade asm for JDK25 support by mkurz · Pull Request #11028 · scala/scala · GitHub

Maybe coordinate with @SethTisue to cut that scala-asm release that’s needed?

Thanks for your time!

We should be able to backport it, though ideally it would get bumped in the main branch first.

If not we will make sure that it gets to a nightly version quickly.

I’ll do the ASM part soon (within a week or so). I don’t think it’s important whether it makes 3.3.6 or not — 3.3.7 will be along soon enough.

1 Like

The ASM 9.8 upgrade has now been merged and will be included in Scala 2.12.21, 2.13.17, and 3.7.1. (I’ve suggested it be backported for 3.3.6 or 3.3.7, too.)

3 Likes

Thanks! 3.3.x would be great of course too :wink: Anyway, thanks!

1 Like

We’ve released 3.3.6-RC2 where we removed some of the annotations changes. Without later changes, which are currently not possible, the back port would only fix some issues partly.

We will be releasing the final 3.3.6 next week.

The ASM change was back ported to 3.3.7 and can already be used via nightlies.

You can use Scala CLI to find that version:
scala repl --scala 3.3.nightly .

1 Like

Thanks!

We’ve discovered that we were missing some other back ports necessary to use Scala on later JDKs, so (hopefully last) 3.3.6-RC3 is now available. The ASM change has also been ported alongside the missing PR.

We still intend to go ahead with the full release next week, since those changes should not cause any new regressions. That said, to be on a safe side, please do test it out if possible.

1 Like

The final 3.3.6 release is out! Scala 3.3.6 LTS is now available! | The Scala Programming Language

Next 3.3.7 is planned together with 3.7.3, but the nightlies have all the up to date backports.

4 Likes