Skip to content

Commit

Permalink
Merge pull request #3451 from Gedochao/release/1.6.1
Browse files Browse the repository at this point in the history
Add release notes for Scala CLI v1.6.1
  • Loading branch information
Gedochao authored Jan 21, 2025
2 parents b38bb46 + 5214786 commit 38205e1
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions website/docs/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,58 @@ import ReactPlayer from 'react-player'

# Release notes

## [v1.6.1](https://github.com/VirtusLab/scala-cli/releases/tag/v1.6.1)

## Pass `--repl-init-script` directly to the Scala REPL
Passing an initialization script to the REPL with `--repl-init-script` is now allowed directly, rather than after `--` or with `-O`.
The `--repl-init-script` is a REPL option introduced in Scala 3.6.4, so it's not available for earlier Scala versions.
```bash ignore
scala-cli repl -S 3.6.4-RC1 --repl-init-script 'println("Hello")'
# Hello
# Welcome to Scala 3.6.4-RC1 (23.0.1, Java OpenJDK 64-Bit Server VM).
# Type in expressions for evaluation. Or try :help.
#
# scala>
```

Added by [@Gedochao](https://github.com/Gedochao) in [#3447](https://github.com/VirtusLab/scala-cli/pull/3447)

### Hotfix release
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.

For extra context refer to:
* [Scala CLI 1.6.0 release notes](#v160)

## Features
- 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)

## Internal and build changes
* 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)

## Updates
* Bump Scala CLI launchers to v1.6.0 by [@Gedochao](https://github.com/Gedochao) in [#3450](https://github.com/VirtusLab/scala-cli/pull/3450)
* chore: Update Bloop to 2.0.8 by [@tgodzik](https://github.com/tgodzik) in [#3449](https://github.com/VirtusLab/scala-cli/pull/3449)
* Update scalafmt to 3.8.5 by [@scala-steward](https://github.com/scala-steward) in [#3442](https://github.com/VirtusLab/scala-cli/pull/3442)

**Full Changelog**: https://github.com/VirtusLab/scala-cli/compare/v1.6.0...v1.6.1

## [v1.6.0](https://github.com/VirtusLab/scala-cli/releases/tag/v1.6.0)

### Scala CLI 1.6.0 will not be available on all distribution channels
Due to technical difficulties with our release pipeline, Scala CLI 1.6.0 release distribution channels were limited to:
- its [GitHub release page](https://github.com/VirtusLab/scala-cli/releases/tag/v1.6.0), where launchers for all platforms are available as normal
- Maven Central
- WinGet
- Chocolatey

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.

```bash
scala-cli --cli-version 1.6.0 --version
# Scala CLI version: 1.6.0
# Scala version (default): 3.6.3
```

### Fixed commas being treated as `using` directive value separators & deprecated using them with whitespace
:::warning
These are breaking changes affecting using directives syntax.
Expand Down

0 comments on commit 38205e1

Please sign in to comment.