Scala 3.7.0, the latest version of the object-oriented, functional language with JVM, native, and JavaScript runtimes, stabilizes named tuples and brings a “crucial” fix that enhances its compatibility with Android.
Scala 3.7.0 was announced May 7. Installation instructions can be found at scala-lang.org.
In Scala 3.7.0, named tuples, introduced as experimental in Scala 3.5 in August 2024, become stable. Named tuples provide a convenient way to return multiple results from a function or to model the data using tuples, while allowing developers to use meaningful names for its fields, Wojciech Mazur of VirtusLab wrote in a blog post announcing the release.