RELEASE
Scala 3.6.4 is now available!
Highlight of the release
- Support for JDK 24 #22250
- REPL
:silentcommand to toggle automatic printing of outputs #22248 - REPL
--repl-init-script:setting to run a code on startup #22206 - Deprecated setting
-Xno-decode-stacktracesis now an alias to-Xno-enrich-error-messages#22208 - Annotation arguments are no longer lifted #22035
- Experimental Capture Checking: Implement tracked members #21761
Breaking changes
-
Align
@implicitNotFoundand@implicitAmbigouswith the language specification #22371This change may impact users who previously used these annotations using variables or string interpolation.
Previously, a bug in the Scala 3 compiler allowed non-literal strings to be passed as arguments to the
@implicitNotFoundand@implicitAmbiguousannotations. This could have affected how failed implicit search results were reported by the compiler.Starting from Scala 3.6.4, the arguments for these annotations must be string literals. If a message is too long, it can be concatenated using the
+operator, allowing for constant folding.
For a full list of changes and contributor credits, please refer to the release notes.