|
| 1 | +# [v0.1.9](https://github.com/VirtusLab/scala-cli/releases/tag/v0.1.9) |
| 2 | + |
| 3 | +## `--list-main-classes` for `publish` & `package` |
| 4 | + |
| 5 | +`publish` and `package` sub-commands now support the `--list-main-classes` option, which allows to list all the available main classes. Previously it was only available in the `run` command. |
| 6 | + |
| 7 | +Added in https://github.com/VirtusLab/scala-cli/pull/1118 by @Gedochao |
| 8 | + |
| 9 | +## Important fixes & enhancements |
| 10 | + |
| 11 | +### `fmt` options improvement |
| 12 | + |
| 13 | +Added missing documentation on how to pass native `scalafmt` options in the `fmt` sub-command with the `-F` option. |
| 14 | +``` |
| 15 | +$ scala-cli fmt -F --version |
| 16 | +scalafmt 3.5.2 |
| 17 | +``` |
| 18 | + |
| 19 | +Additionally, a couple of `scalafmt`'s native options received aliases in Scala CLI: |
| 20 | + |
| 21 | +`--respect-project-filters` is an alias for `-F --respect-project-filters`. Because of the way sources are passed by Scala CLI to `scalafmt` under the hood, we now turn it on by default to respect any `project.excludePaths` settings in the user's `.scalafmt.conf`. |
| 22 | +It can be disabled by passing `--respect-project-filters=false` to revert to previous behaviour. |
| 23 | +This addresses https://github.com/VirtusLab/scala-cli/issues/1121 |
| 24 | + |
| 25 | +`--scalafmt-help` is an alias for `-F --help`. It shows the `--help` output from `scalafmt`, which might prove as helpful reference when in need of using native `scalafmt` options with `-F`. |
| 26 | + |
| 27 | +Added in https://github.com/VirtusLab/scala-cli/pull/1135 by @Gedochao |
| 28 | + |
| 29 | +### Include `libsodium.dll` on Windows |
| 30 | + |
| 31 | +Static linking of libsodium in Windows launcher has been fixed. |
| 32 | +This addresses https://github.com/VirtusLab/scala-cli/issues/1114 |
| 33 | + |
| 34 | +Added in https://github.com/VirtusLab/scala-cli/pull/1115 by @alexarchambault |
| 35 | + |
| 36 | +### Force interactive mode for `update` command |
| 37 | + |
| 38 | +Interactive mode for `update` sub-command is now enabled by default. |
| 39 | + |
| 40 | +Added in https://github.com/VirtusLab/scala-cli/pull/1100 by @lwronski |
| 41 | + |
| 42 | +## In progress |
| 43 | + |
| 44 | +### Publishing-related features |
| 45 | + |
| 46 | +* Publish tweaks + documentation by @alexarchambault in https://github.com/VirtusLab/scala-cli/pull/1107 |
| 47 | + |
| 48 | +### Better BSP support for Scala scripts |
| 49 | + |
| 50 | +* Add scala-sc language to BSP supported languages by @alexarchambault in https://github.com/VirtusLab/scala-cli/pull/1140 |
| 51 | + |
| 52 | +## Other changes |
| 53 | + |
| 54 | +### Documentation PRs |
| 55 | + |
| 56 | +* Update scala 2.12 to 2.12.16 in docs by @lwronski in https://github.com/VirtusLab/scala-cli/pull/1108 |
| 57 | +* Back port of documentation changes to main by @github-actions in https://github.com/VirtusLab/scala-cli/pull/1111 |
| 58 | +* Tweak release procedure by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/1112 |
| 59 | + |
| 60 | +### Build and internal changes |
| 61 | + |
| 62 | +* Add choco configuration files by @lwronski in https://github.com/VirtusLab/scala-cli/pull/998 |
| 63 | +* Tweaking by @alexarchambault in https://github.com/VirtusLab/scala-cli/pull/1105 |
| 64 | +* Add scala-cli-setup deploy key to ssh-agent by @lwronski in https://github.com/VirtusLab/scala-cli/pull/1117 |
| 65 | + |
| 66 | +### Updates |
| 67 | + |
| 68 | +* Update scala-cli.sh launcher for 0.1.8 by @github-actions in https://github.com/VirtusLab/scala-cli/pull/1106 |
| 69 | +* Update case-app to 2.1.0-M14 by @alexarchambault in https://github.com/VirtusLab/scala-cli/pull/1120 |
| 70 | +* Update Scala to 3.1.3 by @alexarchambault in https://github.com/VirtusLab/scala-cli/pull/1124 |
| 71 | +* Update jsoniter-scala-core_2.13 to 2.13.32 by @scala-steward in https://github.com/VirtusLab/scala-cli/pull/1125 |
| 72 | +* Update coursier-jvm_2.13, ... to 2.1.0-M6-28-gbad85693f by @scala-steward in https://github.com/VirtusLab/scala-cli/pull/1126 |
| 73 | +* Update libsodiumjni to 0.0.3 by @scala-steward in https://github.com/VirtusLab/scala-cli/pull/1127 |
| 74 | +* Update org.eclipse.jgit to 6.2.0.202206071550-r by @scala-steward in https://github.com/VirtusLab/scala-cli/pull/1128 |
| 75 | +* Update Scala.js to 1.10.1 by @scala-steward in https://github.com/VirtusLab/scala-cli/pull/1130 |
| 76 | +* Update Scala Native to 0.4.5 by @alexarchambault in https://github.com/VirtusLab/scala-cli/pull/1133 |
| 77 | +* Update scala-js-cli to 1.1.1-sc5 by @alexarchambault in https://github.com/VirtusLab/scala-cli/pull/1134 |
| 78 | +* Update jsoniter-scala-core_2.13 to 2.13.33 by @scala-steward in https://github.com/VirtusLab/scala-cli/pull/1136 |
| 79 | +* Update `scalafmt` to 3.5.8 by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/1137 |
| 80 | +* Update cli-options_2.13, cli_2.13, ... to 0.1.7 by @scala-steward in https://github.com/VirtusLab/scala-cli/pull/1138 |
| 81 | + |
| 82 | +**Full Changelog**: https://github.com/VirtusLab/scala-cli/compare/v0.1.8...v0.1.9 |
| 83 | + |
1 | 84 | # [v0.1.8](https://github.com/VirtusLab/scala-cli/releases/tag/v0.1.8)
|
2 | 85 |
|
3 | 86 | ## `--list-main-classes` option for the `run` command
|
|
0 commit comments