v0.1.1
This release focuses on stability.
Override using directives options
This release adds support to override scalac
, java
, and dependency
options of using directives with CLI counterparts. Only specific values (a given dependency or java or scala option) are overridden, and the rest of the options are concatenated. In the following example:
$ cat Hello.scala
//> using lib "org.scalameta::munit::1.0.0-M1"
//> using lib "com.lihaoyi::os-lib:0.8.1"
$ scala-cli Hello.scala --dependency "org.scalameta::munit::0.7.29" --dependency "io.spray::spray-http:1.3.4"
Scala CLI uses version 1.0.0-M1
of munit
, along with os-lib
and spray-http
.
This feature allows overriding (downgrade) a value/dependency without modifying the source file (or when used with e.g. gists)
Suport for SDK
Scala CLI will be available on SDKMAN soon. From now on, Scala CLI generates packages that are supported by SDKMAN.
This change was introduced @lwronski in #609 .
New Contributors
Thank you!
Notable changes
- Provide proper logger for using directives plus Tweaking by @alexarchambault in #618
- Generate only one build target for main and test scope by @lwronski in #550
- Fix #588: fmt --check not being passed to scalafmt by @jchyb in #600
- Fix project import in Intellij. Support for Intellij still depends on project structure and in many cases may not work regardless of this fix by @romanowski in #608
Merged PRs
- Fix generate help for shebang by @lwronski in #616
- Prepare build to windows-2022 GitHub action image by @alexarchambault in #585
- Use HttpURLConnection to download files by @lwronski in #590
- Add docker-based sudo test by @alexarchambault in #605
- Lock millw script commit in export command by @alexarchambault in #628
- Renaming default branch to main by @lwronski in #630
Documentation changes
Contributors
Thank you to all the contributors who made this release possible 🎉
According to git shortlog -sn --no-merges v0.1.0...v0.1.1
these are:
15 Alexandre Archambault
12 Łukasz Wroński
7 Krzysztof Romanowski
5 zmerr
3 Jan Chyb
1 Simon Parten
Full Changelog: v0.1.0...v0.1.1