Scala 2.13.18
The Scala team at Akka is pleased to announce Scala 2.13.18.
This release fixes several regressions from 2.13.17. It is compatible with JDKs 8 to 26.
The following are highlights of this release:
Restore traditional behavior when passing a null array to a varargs method in Scala 3
When passing an array as "sequence argument" to a varargs method, method(arg: _*), the array is converted to a Seq.
In Scala 3 (the syntax is method(arg*)), this conversion is done by the ScalaRunTime.wrapXArray methods.
These methods were simplified in 2.13.17, which changed the semantics of a method((null: Array[T])*) invocation.
#11165 restores the previous null handling semantics.
Fixes for false positive warnings
- #11162 reverts to the behavior of 2.13.16. The lint was extended in 2.13.17 to warn whenever is inferred for a higher-kinded type parameter . The new warning showed up in many projects: often as a false positive, but even the "true" positive warning was considered unhelpful / spurious in real-world use cases.