Skip to content

Commit 38205e1

Browse files
authored
Merge pull request #3451 from Gedochao/release/1.6.1
Add release notes for Scala CLI v1.6.1
2 parents b38bb46 + 5214786 commit 38205e1

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

website/docs/release_notes.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,58 @@ import ReactPlayer from 'react-player'
88

99
# Release notes
1010

11+
## [v1.6.1](https://github.com/VirtusLab/scala-cli/releases/tag/v1.6.1)
12+
13+
## Pass `--repl-init-script` directly to the Scala REPL
14+
Passing an initialization script to the REPL with `--repl-init-script` is now allowed directly, rather than after `--` or with `-O`.
15+
The `--repl-init-script` is a REPL option introduced in Scala 3.6.4, so it's not available for earlier Scala versions.
16+
```bash ignore
17+
scala-cli repl -S 3.6.4-RC1 --repl-init-script 'println("Hello")'
18+
# Hello
19+
# Welcome to Scala 3.6.4-RC1 (23.0.1, Java OpenJDK 64-Bit Server VM).
20+
# Type in expressions for evaluation. Or try :help.
21+
#
22+
# scala>
23+
```
24+
25+
Added by [@Gedochao](https://github.com/Gedochao) in [#3447](https://github.com/VirtusLab/scala-cli/pull/3447)
26+
27+
### Hotfix release
28+
Although Scala CLI 1.6.1 includes a few updates and improvements, it is primarily a hotfix release for version 1.6.0, which due to technical limitations wasn't available on some of our distribution channels.
29+
30+
For extra context refer to:
31+
* [Scala CLI 1.6.0 release notes](#v160)
32+
33+
## Features
34+
- Enable direct usage of --repl-init-script with Scala REPL >= 3.6.4-RC1 by [@Gedochao](https://github.com/Gedochao) in [#3447](https://github.com/VirtusLab/scala-cli/pull/3447)
35+
36+
## Internal and build changes
37+
* Fix `update-packages` step of the release job on the CI by [@Gedochao](https://github.com/Gedochao) in [#3446](https://github.com/VirtusLab/scala-cli/pull/3446)
38+
39+
## Updates
40+
* Bump Scala CLI launchers to v1.6.0 by [@Gedochao](https://github.com/Gedochao) in [#3450](https://github.com/VirtusLab/scala-cli/pull/3450)
41+
* chore: Update Bloop to 2.0.8 by [@tgodzik](https://github.com/tgodzik) in [#3449](https://github.com/VirtusLab/scala-cli/pull/3449)
42+
* Update scalafmt to 3.8.5 by [@scala-steward](https://github.com/scala-steward) in [#3442](https://github.com/VirtusLab/scala-cli/pull/3442)
43+
44+
**Full Changelog**: https://github.com/VirtusLab/scala-cli/compare/v1.6.0...v1.6.1
45+
1146
## [v1.6.0](https://github.com/VirtusLab/scala-cli/releases/tag/v1.6.0)
1247

48+
### Scala CLI 1.6.0 will not be available on all distribution channels
49+
Due to technical difficulties with our release pipeline, Scala CLI 1.6.0 release distribution channels were limited to:
50+
- its [GitHub release page](https://github.com/VirtusLab/scala-cli/releases/tag/v1.6.0), where launchers for all platforms are available as normal
51+
- Maven Central
52+
- WinGet
53+
- Chocolatey
54+
55+
While it can be used as such, we followed it up with [a hotfix 1.6.1 release](#v161), which should be available through all standard distribution channels.
56+
57+
```bash
58+
scala-cli --cli-version 1.6.0 --version
59+
# Scala CLI version: 1.6.0
60+
# Scala version (default): 3.6.3
61+
```
62+
1363
### Fixed commas being treated as `using` directive value separators & deprecated using them with whitespace
1464
:::warning
1565
These are breaking changes affecting using directives syntax.

0 commit comments

Comments
 (0)