Skip to content

v1.6.1

Latest
Compare
Choose a tag to compare
@Gedochao Gedochao released this 22 Jan 07:56
· 12 commits to main since this release
a41f43b

Pass --repl-init-script directly to the Scala REPL

Passing an initialization script to the REPL with --repl-init-script is now allowed directly, rather than after -- or with -O.
The --repl-init-script is a REPL option introduced in Scala 3.6.4, so it's not available for earlier Scala versions.

scala-cli repl -S 3.6.4-RC1 --repl-init-script 'println("Hello")'
# Hello
# Welcome to Scala 3.6.4-RC1 (23.0.1, Java OpenJDK 64-Bit Server VM).
# Type in expressions for evaluation. Or try :help.
#                                                                                                                  
# scala> 

Added by @Gedochao in #3447

Hotfix release

Although Scala CLI 1.6.1 includes a few updates and improvements, it is primarily a hotfix release for version 1.6.0, which due to technical limitations wasn't available on some of our distribution channels.

For extra context refer to:

Features

  • Enable direct usage of --repl-init-script with Scala REPL >= 3.6.4-RC1 by @Gedochao in #3447

Internal and build changes

  • Fix update-packages step of the release job on the CI by @Gedochao in #3446

Updates

Full Changelog: v1.6.0...v1.6.1