We have released the first RC for the upcoming Scala 3.2.1. This new release focused chiefly on compatibility improvements and may help some projects that had problems with source compatibility while migrating from 3.1.3 to 3.2.0.
The 3.2.1 will also bring two new things:
New look for Scaladoc, which is still in development, but you can have a peek at how it will look on our nightly documentation .
Possibility to experiment with capture calculus without needing to build the compiler from sources.
4 Likes
You may also want to track the source compatibility meta-issue for 3.2.1:
opened 09:41AM - 02 Sep 22 UTC
help wanted
stat:needs minimization
regression
Each table contains a list of projects that failed to compile with *Scala 3.2.1-… RC1-bin-20220831-398b72e-NIGHTLY*, but was successfully built with the given previous version.
A summary is based only on final and released candidate versions of Scala 3.
Information about the last Scala version used for the last successful build might not always be correct, due to lack of data (lack of build for that project with given Scala version)
Open community build might have applied -source:X-migration flag if it is detected it could possibly fix the build.
Summary only contains projects that failed when compiling source or test files of at least 1 sub-project.
- `Version` - version of project being built, single version if both current and last successful build version of project are equal, otherwise 'LastSuccessfulProjectVersion -> CurrentProjectVersion>'
- `Build URL` - link to the Open Community Build, containing logs and details of the failed project
- `Reproducer issue` - link to the reproducer issue to be filled in
All tested projects: 884
Notes for issue reproducers:
To reproduce builds locally you can use:
```
scala-cli run https://raw.githubusercontent.com/VirtusLab/community-build3/master/cli/scb-cli.scala -- reproduce --locally BUILD_ID
```
BUILD ID can be found in the BUILD_URL columns (eg. `Open CB #BUILD_ID`)
Helpful options for reproducer scripts:
- `--scalaVersion VERSION` - run build with the selected version of Scala (to check if the problem existed in given release)
- `--withUpstream` - build also all upstream dependencies of failing project
- `--locally` - checkout and build the project locally, without this flag it would try to start a minikube cluster to make the reproduction environment exactly the same as in the Open Community Build run (eg. to compile with the same version of the JDK)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Projects with last successful builds using Scala <b>3.2.1-RC1-bin-20220828-8a7c84c-NIGHTLY</b> [1]:
| Project | Version | Reproducer issue | Build URL |
| ------- | ------- | ---------------- | --------- |
| vitaliihonta/scala-ql | 0.1.0 | | [Open CB #4757](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4757/) |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Projects with last successful builds using Scala <b>3.2.0-RC4</b> [12]:
| Project | Version | Reproducer issue | Build URL |
| ------- | ------- | ---------------- | --------- |
| fd4s/vulcan | 1.8.3 | | [Open CB #4730](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4730/) |
| gekomad/itto-csv | 2.0.0 | #15964 | [Open CB #4731](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4731/) |
| marcinzh/turbolift | 0.25.0 | #15967 | [Open CB #4739](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4739/) |
| mvv/sager | 0.2-M1 | #15969 | [Open CB #4741](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4741/) |
| sirthias/borer | 1.10.1 | | [Open CB #4764](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4764/) |
| typelevel/cats-effect | 3.3.14 | #15920 (expected behavior) | [Open CB #4754](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4754/) |
| zio/zio-logging | 2.1.0 | | [Open CB #4759](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4759/) |
| alejandrohdezma/http4s-munit | 0.11.0 -> 0.12.0 | | [Open CB #4726](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4726/) |
| atedeg/mdm | 3.0.0 -> 4.0.0 | | [Open CB #4762](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4762/) |
| cheleb/zio-pravega | 0.0.1 -> 0.1.1 | | [Open CB #4728](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4728/) |
| medeia/medeia | 0.8.0 -> 0.8.1 | | [Open CB #4740](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4740/) |
| wangzaixiang/wjson | 0.1.0-RC2 -> 0.1.0-RC3 | | [Open CB #4758](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4758/) |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Projects with last successful builds using Scala <b>with no successful builds data</b> [13]:
| Project | Version | Reproducer issue | Build URL |
| ------- | ------- | ---------------- | --------- |
| ciaraobrien/dottytags | 1.1.0 | #15676 | [Open CB #4729](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4729/) |
| endpoints4s/endpoints4s | 10.0.0+n | | [Open CB #4674](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4735/) |
| narma/zio-docker | 2.0.1-M1 | | [Open CB #4742](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4742/) |
| pjfanning/scala3-reflection | 1.0.2 | | [Open CB #4747](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4747/) |
| playframework/anorm | 2.7.0 | | [Open CB #4763](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4763/) |
| polyvariant/scodec-java-classfile | 0.2.0 | | [Open CB #4748](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4748/) |
| scala-tessella/ring-seq | 0.4.0 | | [Open CB #4749](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4749/) |
| thoughtworksinc/dsl.scala | 2.0.0-M2 | | [Open CB #4752](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4752/) |
| tofu-tf/glass | 0.1.0 | | [Open CB #4753](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4753/) |
| vagmcs/optimus | 3.4.3 | | [Open CB #4756](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4756/) |
| zio/zio-schema | 0.2.1 | | [Open CB #4761](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4761/) |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Likes
Here is our new release candidate with fixes we have managed to merge so far.
1 Like
We have two more release candidates.
The first of them fixes three regressions - source compatibility breakages - that were found by the open community build. Backporting those fixes is crucial to our goal of making updates of the compiler version as smooth as it is possible.
The other release candidate published today contains the same fixes as RC3 but also updates the Scala 2 library dependency version to 2.13.10. That allows people who are cross-building on 2 and 3 to be on the same standard library version, as Scala 2 library versions before 2.13.10 were affected by (not really exploitable) CVE.
After some complications, we are happy to announce that Scala 3.2.1 is here!
3 Likes