Skip to content

v1.5.1

Latest
Compare
Choose a tag to compare
@Gedochao Gedochao released this 01 Oct 11:17
· 5 commits to main since this release
2d98338

Support for Scala 3.5.1, 3.3.4, 2.13.15 and 2.12.20

This Scala CLI version switches the default Scala version to 3.5.1.

scala-cli version
# Scala CLI version: 1.5.1
# Scala version (default): 3.5.1

It has also been tested with Scala 3.3.4, 2.13.15 and 2.12.20.
The Scala CLI internals are now built with Scala 3.3.4.

Support for Scala.js 1.17.0

This version adds Scala CLI support for Scala.js 1.17.0.

Features

  • Apply increased verbosity when compiling via BSP by @Gedochao in #3202

Fixes

  • improvement: Use distinct on ScalacOpt by @tgodzik in #3139
  • bugfix: Check if last segment of path exists by @tgodzik in #3131
  • bugfix: Fix duplicate options detection by @tgodzik in #3151
  • bugfix: Also deduplicate if options split by space by @tgodzik in #3154
  • Fix setup-ide for --cli-version by @Gedochao in #3161
  • Ensure main classes from inputs take precedence before those found in JARs added to the class path by @Gedochao in #3165
  • Ensure that passing Java props into Scala CLI as launcher args would also pass it into BSP configuration by @Gedochao in #3169
  • NIT fixes for the export sub-command by @Gedochao in #3197
  • Ensure --version passed to the default command works with --offline by @Gedochao in #3207

Documentation changes

  • Docs: Fix suppress option for directives-in-multiple-files warning by @mims-github in #3133
  • Doc: Tips on how to list available JVMs using coursier by @jatcwang in #3129
  • Back port of documentation changes to main by @github-actions in #3160
  • Use Scala 3 in the Scala Native gif by @Gedochao in #3195

Build and internal changes

  • Add tests for setup-ide with --cli-version by @Gedochao in #3163
  • Change how help is referenced to avoid initialization oddness & update case-app to 2.1.0-M29 by @coreyoconnor in #3152
  • Adjust tests for Scala 3.3.4 by @Gedochao in #3164
  • NIT Refactor existing --watch tests by @Gedochao in #3175
  • Generate an empty JUnit report when no tests were run, rather than fail by @Gedochao in #3179
  • NIT Extract REPL tests relying on Ammonite into dedicated traits by @Gedochao in #3209

Updates

New Contributors

Full Changelog: v1.5.0...v1.5.1