v1.11.0
Change default Scala versions to 2.13.18 and 2.12.21
This Scala CLI version switches the default Scala versions:
- default Scala 2.13 to 2.13.18
- default Scala 2.12 to 2.12.21
Added by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3999 and https://github.com/VirtusLab/scala-cli/pull/3958
Fall back to a legacy version of the runner & test-runner modules for JVM < 17
The newest versions of the runner and test-runner modules will require Java 17 or newer to run.
When trying to use them with older JVMs, Scala CLI will now print a warning and fall back to using legacy versions of those modules instead.
scala-cli test . --jvm 11
# Compiling project (Scala 3.7.4, JVM (11))
# Compiled project (Scala 3.7.4, JVM (11))
# [warn] Java 11 is no longer supported by the test-runner module.
# [warn] Defaulting to a legacy test-runner module version: 1.7.1.
# [warn] To use the latest test-runner, upgrade Java to at least 17.
Added by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3965
Features & improvements
- Improve Python detection on Mac by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3961
Fixes
- fix for 3307 (windows launcher rejects filenames with utf8 chars) by @philwalk in https://github.com/VirtusLab/scala-cli/pull/3923
- Allow for repeatable
-XX:*Java options by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3976 - fix #3979 by adding save-and-restore to generated run-native-image.bat by @philwalk in https://github.com/VirtusLab/scala-cli/pull/3981
- Fix handling of multiple exclude directives by @tom91136 in https://github.com/VirtusLab/scala-cli/pull/3984
- Fix doc generation for projects with compile-only dependencies by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3990
- Rewrite Scala.js linking to enable packaging of projects without a main method by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3992
Deprecations
- Fall back to legacy
runner/test-runnerfor JVM < 17 by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3965
Documentation changes
- Add examples for passing REPL options via using directive to the docs by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3975
- Back port of documentation changes to main by @github-actions[bot] in https://github.com/VirtusLab/scala-cli/pull/3978
Build and internal changes
- Increase CI timeout for integration tests to 150 minutes by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3955
- Run the entire REPL test suite on both Ammonite and Scala 3 REPL by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3982
- Clean cached JDKs on Linux CI runners by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3995
Updates
- Update scala-cli.sh launcher for 1.10.1 by @github-actions[bot] in https://github.com/VirtusLab/scala-cli/pull/3954
- Bump sass from 1.93.3 to 1.94.0 in /website by @dependabot[bot] in https://github.com/VirtusLab/scala-cli/pull/3960
- Bump Scala 2.13 to 2.13.18 (was 2.13.17) by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3958
- Bump
ammoniteto 3.0.4 (was 3.0.3) by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3969 - Bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/VirtusLab/scala-cli/pull/3973
- Bump sass from 1.94.0 to 1.94.2 in /website by @dependabot[bot] in https://github.com/VirtusLab/scala-cli/pull/3974
- Bump misc dependencies by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3971
- Bump Scala 3 Next RC to 3.8.0-RC1 by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3957
- Update
bloopto 2.0.17 (was 2.0.15) andbloop-configto 2.3.3 (was 2.3.2) by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3970 - Bump node-forge from 1.3.1 to 1.3.2 in /website by @dependabot[bot] in https://github.com/VirtusLab/scala-cli/pull/3980
- Bump Scala 3 Next RC to 3.8.0-RC2 by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3977
- Bump Scala.js deps by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3983
- Bump mdast-util-to-hast from 13.0.2 to 13.2.1 in /website by @dependabot[bot] in https://github.com/VirtusLab/scala-cli/pull/3986
- Bump @easyops-cn/docusaurus-search-local from 0.52.1 to 0.52.2 in /website by @dependabot[bot] in https://github.com/VirtusLab/scala-cli/pull/3985
- Bump misc dependencies by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3987
- Bump
scala-js-clito 1.20.1.1 (was 1.20.1) by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3989 - Bump sass from 1.94.2 to 1.95.0 in /website by @dependabot[bot] in https://github.com/VirtusLab/scala-cli/pull/3998
- Bump
react&react-domfrom 19.2.0 to 19.2.1 in /website by @dependabot[bot] in https://github.com/VirtusLab/scala-cli/pull/3997 - Bump
coursierto 2.1.25-M21 by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/4000 - Bump
scala-cli-signingto 0.2.13 &coursier-publishto 0.4.4 by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3988 - Bump Ammonite to 3.0.5 by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/4001
- Bump Scala 3 Next RC to 3.8.0-RC3 by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3991
- Bump Scala 2.12 to 2.12.21 by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/3999
New Contributors
- @tom91136 made their first contribution in https://github.com/VirtusLab/scala-cli/pull/3984
Full Changelog: https://github.com/VirtusLab/scala-cli/compare/v1.10.1...v1.11.0