v0.0.9
This release focuses on stability.
New scala-cli shebang
command
Change the way how scala-cli
parses it's command-line arguments in order to be compatibility with shebang
scripts. To see more go to shebang
section in documentation.
Added in #410, thanks to @tpasternak .
Zsh/Bash option completions
Fixed in #423, thanks to @lwronski to add escaping backticks in case-app.
Resources directory
Now, scala-cli accepts resource directory for Github Gists. Added in #415 . We change name of directive to specify resource directory from resource
-> resourceDir
#412.
Shebang in Scala file.
We support shebang
header in Scala file, added in #435.
Update
To update scala-cli use your package manager or, if you used an installation script before, run it again - curl -sSLf https://virtuslab.github.io/scala-cli-packages/scala-setup.sh | sh
.
Scala CLI is still far from being stable however within three realise Scala CLI is mostly feature-complete for 1.0 release.
Notable changes
- Allow shebangs and using directives in scala files by @lwronski in #435
- Run native linker only if project was changed by @lwronski in #372
- Accept resources in Github Gists by @lwronski in #415
- Issue: 331 Added directive for native-version, native-compile, native-linking by @asjad02 in #425
- Fix - zsh option completions - Update case-app to 2.1.0-M10 by @scala-steward in #423
- Issue 331 : Adding Directive for native-gc by @asjad02 in #398
- Rename resource -> resourceDir by @tpasternak in #412
- Add using directive for specifying a (default) main class by @fourth44 in #400
- Shebang args by @tpasternak in #410
Merged PRs
- Fix a bug inside UsingCompilerPluginDirectiveHandler by @pikinier20 in #361
- clean .bsp/scala-cli.json when you run clean by @ckipp01 in #369
- Don't unnecessarily pass native config around by @alexarchambault in #394
- Validate on CI that directive reference doc is up-to-date by @alexarchambault in #416
- Make sure buildServerCapabilities are set when the initialize happens by @ckipp01 in #417
- Handle bloop running on JRE by @tpasternak in #419
- Build scala-cli with jvm 11 by @tpasternak in #212
- Options validation by @tpasternak in #406
- Use artifacts from main scope in tests by @lwronski in #430
- Parse JVM 9 version correctly by @tpasternak in #439
Documentation changes
- Depoly documentation only from stable branch by @romanowski in #433
- Reviewed the Getting Started file by @alvinj in #428
- Use gifs in doc by @lwronski in #438
- Change community link to discord. by @ckipp01 in #424
- fix typo in ide.md by @tnielens in #427
- Documentation: Describe shebangs by @tpasternak in #418
- Add getting started guide by @romanowski in #367
- Add cookbook - Setup ScalaCLI project in VSCode by @lwronski in #363
New Contributors
- @pikinier20 made their first contribution in #361
- @asjad02 made their first contribution in #398
- @fourth44 made their first contribution in #400
- @tnielens made their first contribution in #427
Contributors
Thank you to all the contributors who made this release possible 🎉
According to git shortlog -sn --no-merges v0.0.8..v0.0.9
these are:
21 Scala Steward
13 Tomasz Pasternak
8 Łukasz Wroński
6 Alexandre Archambault
6 Krzysztof Romanowski
3 dependabot[bot]
3 Chris Kipp
3 asjad02
1 Tim Nielens
1 Asjad Baig
1 gh-actions
1 Johan Walters
1 Filip Zybała
1 Alvin Alexander
1 Marcin Aman
Full Changelog: v0.0.8...v0.0.9