Scala 3.8 Released
20 days ago
- #JVM
- #Scala
- #Programming
- Scala 3.8 released, modernizing the ecosystem and paving the way for Scala 3.9 LTS.
- Standard library now compiled with Scala 3, introducing source incompatibilities like context bounds desugaring to `given`.
- JDK 17 is now required for compilation and execution, with future releases requiring JDK 17 or higher.
- REPL is now a separate artifact, improving integration and reducing core compiler size.
- Stabilized features include Better Fors (SIP-62) and `runtimeChecked` (SIP-57).
- Experimental features include flexible varargs (SIP-70) and strict equality pattern matching (SIP-67).
- New experimental syntax for single-line lambdas after `:` (SIP-75) and match expressions with sub-cases.
- Annotations can now annotate themselves, and LTS/Next series indicators are now in POM files.
- Tooling support updates for sbt, Mill, Scala CLI, IntelliJ IDEA, Metals, scalafmt, and Scalameta.
- Scala 3.9 LTS will be feature-frozen, focusing on bug fixes and stability.