Skip to content

Commit f59e4f8

Browse files
GedochaokasiaMarek
andauthored
Add release notes for v1.1.3 (#2733)
* Add release notes for `v1.1.3` * Apply suggestions from code review Co-authored-by: Katarzyna Marek <[email protected]> * Apply suggestions from code review --------- Co-authored-by: Katarzyna Marek <[email protected]>
1 parent 06b59a6 commit f59e4f8

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

website/docs/release_notes.md

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

99
# Release notes
1010

11+
## [v1.1.3](https://github.com/VirtusLab/scala-cli/releases/tag/v1.1.3)
12+
13+
### Support for LTS Scala version aliases
14+
It is now possible to use `lts` and `3.lts` as Scala version aliases in Scala CLI.
15+
They refer to the latest LTS version of Scala (the `3.3.x` line at the time of this release).
16+
17+
```bash
18+
scala-cli run -S lts --with-compiler -e 'println(dotty.tools.dotc.config.Properties.simpleVersionString)'
19+
# Compiling project (Scala 3.3.1, JVM (17))
20+
# Compiled project (Scala 3.3.1, JVM (17))
21+
# 3.3.1
22+
```
23+
24+
Using the `2.lts`, `2.13.lts` & `2.12.lts` aliases returns a meaningful error, too.
25+
26+
```bash fail
27+
scala-cli run -S 2.lts -e 'println(scala.util.Properties.versionString)'
28+
# [error] Invalid Scala version: 2.lts. There is no official LTS version for Scala 2.
29+
# You can only choose one of the 3.x, 2.13.x, and 2.12.x. versions.
30+
# The latest supported stable versions are 2.12.18, 2.13.12, 3.3.1.
31+
# In addition, you can request compilation with the last nightly versions of Scala,
32+
# by passing the 2.nightly, 2.12.nightly, 2.13.nightly, or 3.nightly arguments.
33+
# Specific Scala 2 or Scala 3 nightly versions are also accepted.
34+
# You can also request the latest Scala 3 LTS by passing lts or 3.lts.
35+
```
36+
37+
Added by [@kasiaMarek](https://github.com/kasiaMarek) in [#2710](https://github.com/VirtusLab/scala-cli/pull/2710)
38+
39+
### `--semanticdb-targetroot` and `--semanticdb-sourceroot` options
40+
It is now possible to set the SemanticDB target root and source root directories with unified syntax,
41+
independent of the target Scala and/or Java versions.
42+
43+
For a given `semanticdb-example.sc` script:
44+
45+
```scala title=src/semanticdb-example.sc
46+
println("SemanticDB targetroot gets set to ./targetRootDir, while sourceroot gets set to the current working directory.")
47+
```
48+
49+
You now can specify the `targetroot` and `sourceroot` directories like this:
50+
51+
```bash
52+
scala-cli compile src/semanticdb-example.sc --semanticdb-targetroot ./targetRootDir --semanticdb-sourceroot .
53+
```
54+
55+
Added by [@Gedochao](https://github.com/Gedochao) in [#2692](https://github.com/VirtusLab/scala-cli/pull/2692)
56+
57+
### Fixes
58+
* remove `user.home` hack by [@kasiaMarek](https://github.com/kasiaMarek) in [#2710](https://github.com/VirtusLab/scala-cli/pull/2710)
59+
* Fix ultra-long invalid Scala version errors by [@Gedochao](https://github.com/Gedochao) in [#2724](https://github.com/VirtusLab/scala-cli/pull/2724)
60+
61+
### Documentation changes
62+
* Add information about `--preamble` in assembly packaging documentation by [@spacebanana420](https://github.com/spacebanana420) in [#2713](https://github.com/VirtusLab/scala-cli/pull/2713)
63+
* Back port of documentation changes to main by [@github-actions](https://github.com/features/actions) in [#2717](https://github.com/VirtusLab/scala-cli/pull/2717)
64+
* Documentation for creation of custom toolkit by [@yadavan88](https://github.com/yadavan88) in [#2715](https://github.com/VirtusLab/scala-cli/pull/2715)
65+
* Back port of documentation changes to main by [@github-actions](https://github.com/features/actions) in [#2718](https://github.com/VirtusLab/scala-cli/pull/2718)
66+
* Fix formatting in custom toolkit doc by [@yadavan88](https://github.com/yadavan88) in [#2719](https://github.com/VirtusLab/scala-cli/pull/2719)
67+
* Back port of documentation changes to main by [@github-actions](https://github.com/features/actions) in [#2720](https://github.com/VirtusLab/scala-cli/pull/2720)
68+
* Added info about repl with toolkit by [@yadavan88](https://github.com/yadavan88) in [#2721](https://github.com/VirtusLab/scala-cli/pull/2721)
69+
* Back port of documentation changes to main by [@github-actions](https://github.com/features/actions) in [#2723](https://github.com/VirtusLab/scala-cli/pull/2723)
70+
71+
### Updates and maintenance
72+
* Update scala-cli.sh launcher for 1.1.2 by [@github-actions](https://github.com/features/actions) in [#2688](https://github.com/VirtusLab/scala-cli/pull/2688)
73+
* Update bsp4j to 2.1.1 by [@scala-steward](https://github.com/scala-steward) in [#2700](https://github.com/VirtusLab/scala-cli/pull/2700)
74+
* Update Scala Native to 0.4.17 by [@scala-steward](https://github.com/scala-steward) in [#2696](https://github.com/VirtusLab/scala-cli/pull/2696)
75+
* Bump coursier/setup-action from 1.3.4 to 1.3.5 by [@dependabot](https://github.com/dependabot) in [#2716](https://github.com/VirtusLab/scala-cli/pull/2716)
76+
77+
### New Contributors
78+
* [@kasiaMarek](https://github.com/kasiaMarek) made their first contribution in [#2710](https://github.com/VirtusLab/scala-cli/pull/2710)
79+
* [@spacebanana420](https://github.com/spacebanana420) made their first contribution in [#2713](https://github.com/VirtusLab/scala-cli/pull/2713)
80+
* [@yadavan88](https://github.com/yadavan88) made their first contribution in [#2715](https://github.com/VirtusLab/scala-cli/pull/2715)
81+
82+
**Full Changelog**: https://github.com/VirtusLab/scala-cli/compare/v1.1.2...v1.1.3
83+
1184
## [v1.1.2](https://github.com/VirtusLab/scala-cli/releases/tag/v1.1.2)
1285

1386
### Support for Scala.js 1.15.0

0 commit comments

Comments
 (0)