Skip to content

Commit 459a2a1

Browse files
authored
Add release notes for Scala CLI v1.12.0 (#4053)
* Adjust release procedure for Scala CLI v1.12.x series * Add release notes for Scala CLI v1.12.0
1 parent 97d6c06 commit 459a2a1

2 files changed

Lines changed: 134 additions & 5 deletions

File tree

.github/release/release-procedure.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
- [ ] Wait for the `Update dist` PR to be automatically created after the previous one has been merged, and then
2525
proceed to merge it.
2626
- [ ] Make a release with the updated Scala CLI version.
27-
- [ ] Update the `v1` & `v1.11` tags to the latest release commit.
27+
- [ ] Update the `v1` & `v1.12` tags to the latest release commit.
2828
```bash
2929
git fetch --all
30-
git checkout origin v1.11.x
31-
git tag -d v1.11
32-
git tag v1.11
33-
git push origin v1.11 -f
30+
git checkout origin v1.12.x
31+
git tag -d v1.12
32+
git tag v1.12
33+
git push origin v1.12 -f
3434
git tag -d v1
3535
git tag v1
3636
git push origin v1 -f

website/docs/release_notes.md

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

99
# Release notes
1010

11+
## [v1.12.0](https://github.com/VirtusLab/scala-cli/releases/tag/v1.12.0)
12+
13+
### Change default Scala version to 3.8.0
14+
This Scala CLI version switches the default Scala version to 3.8.0.
15+
16+
```bash
17+
scala-cli version
18+
# Scala CLI version: 1.12.0
19+
# Scala version (default): 3.8.0
20+
```
21+
22+
Added by [@Gedochao](https://github.com/Gedochao) in [#4049](https://github.com/VirtusLab/scala-cli/pull/4049)
23+
24+
### Support for Scala.js 1.20.2
25+
This Scala CLI version adds support for Scala.js 1.20.2.
26+
27+
```bash
28+
scala-cli -e 'println("Hello")' --js
29+
# Compiling project (Scala 3.8.0, Scala.js 1.20.2)
30+
# Compiled project (Scala 3.8.0, Scala.js 1.20.2)
31+
# Hello
32+
```
33+
34+
Added by [@Gedochao](https://github.com/Gedochao) in [#4040](https://github.com/VirtusLab/scala-cli/pull/4040)
35+
36+
### New aliases for RC and nightly Scala versions
37+
This Scala CLI version introduces dedicated aliases for calling the latest Scala Release Candidate versions in a given series (including LTS).
38+
39+
```bash
40+
scala-cli -e 'println(scala.util.Properties.versionNumberString)' -S rc
41+
# 3.8.1-RC1
42+
scala-cli -e 'println(scala.util.Properties.versionNumberString)' -S 3.rc
43+
# 3.8.1-RC1
44+
scala-cli -e 'println(scala.util.Properties.versionNumberString)' -S 3.8.rc
45+
# 3.8.1-RC1
46+
scala-cli -e 'println(dotty.tools.dotc.config.Properties.simpleVersionString)' -S 3.lts.rc --with-compiler
47+
# 3.3.7-RC2
48+
scala-cli -e 'println(dotty.tools.dotc.config.Properties.simpleVersionString)' -S lts.rc --with-compiler
49+
# 3.3.7-RC2
50+
```
51+
52+
Dedicated default and LTS nightly aliases are also provided.
53+
54+
```bash
55+
scala-cli -e 'println(scala.util.Properties.versionNumberString)' -S nightly
56+
# 3.8.2-RC1-bin-20260115-6151803-NIGHTLY
57+
scala-cli -e 'println(dotty.tools.dotc.config.Properties.simpleVersionString)' -S lts.nightly --with-compiler
58+
# 3.3.8-RC1-bin-20260112-d35b2d4-NIGHTLY-git-d35b2d4
59+
scala-cli -e 'println(dotty.tools.dotc.config.Properties.simpleVersionString)' -S 3.lts.nightly --with-compiler
60+
# 3.3.8-RC1-bin-20260112-d35b2d4-NIGHTLY-git-d35b2d4
61+
```
62+
63+
Also note that there is no easy way to identify an RC for Scala 2 / 2.12 / 2.13 (as a particular nightly serves as the RC for those Scala distributions).
64+
A reasonable error is also provided when it is requested.
65+
66+
```bash fail
67+
scala-cli -e 'println(scala.util.Properties.versionNumberString)' -S 2.rc
68+
# Invalid Scala version: 2.rc. In the case of Scala 2, a particular nightly version serves as a release candidate.
69+
scala-cli -e 'println(scala.util.Properties.versionNumberString)' -S 2.12.rc
70+
# Invalid Scala version: 2.12.rc. In the case of Scala 2, a particular nightly version serves as a release candidate.
71+
scala-cli -e 'println(scala.util.Properties.versionNumberString)' -S 2.13.rc
72+
# Invalid Scala version: 2.13.rc. In the case of Scala 2, a particular nightly version serves as a release candidate.
73+
```
74+
75+
Added by [@Gedochao](https://github.com/Gedochao) in [#4042](https://github.com/VirtusLab/scala-cli/pull/4042) and [#4016](https://github.com/VirtusLab/scala-cli/pull/4016)
76+
77+
### (⚡️ experimental) Support for exporting to Mill 1.0.x and overriding the Mill version with `--mill-version`
78+
The `export` sub-command now allows to export to Mill 1.0.x projects.
79+
80+
```scala title=mill-1-0-6-export.scala
81+
@main def main() = println("Let's export to Mill 1.0.6!")
82+
```
83+
84+
```bash
85+
scala-cli export mill-1-0-6-export.scala --mill --mill-version 1.0.6 --power
86+
# Exporting to a mill project...
87+
# Exported to: ~/mill-export/dest
88+
```
89+
90+
Added by [@Gedochao](https://github.com/Gedochao) in [#4028](https://github.com/VirtusLab/scala-cli/pull/4028)
91+
92+
### Features & improvements
93+
* Add `rc` & `*.rc` Scala version aliases by [@Gedochao](https://github.com/Gedochao) in [#4016](https://github.com/VirtusLab/scala-cli/pull/4016)
94+
* Support `export`-ing to Mill 1.x.y & allow to override Mill version with `--mill-version` by [@Gedochao](https://github.com/Gedochao) in [#4028](https://github.com/VirtusLab/scala-cli/pull/4028)
95+
* Improve Scala nightly version handling & add `lts.nightly`, `3.lts.nightly` and `nightly` Scala version tags by [@Gedochao](https://github.com/Gedochao) in [#4042](https://github.com/VirtusLab/scala-cli/pull/4042)
96+
97+
### Fixes
98+
* Fix Scala 3.nightly and 3.*latest-minor*.nightly to consistently point to the same version by [@Gedochao](https://github.com/Gedochao) in [#4014](https://github.com/VirtusLab/scala-cli/pull/4014)
99+
* fix #4005 - Windows native-image compile failure caused by SUBST collision by [@philwalk](https://github.com/philwalk) in [#4006](https://github.com/VirtusLab/scala-cli/pull/4006)
100+
101+
### Documentation changes
102+
* Solve docs' website warnings by [@Gedochao](https://github.com/Gedochao) in [#4007](https://github.com/VirtusLab/scala-cli/pull/4007)
103+
* Back port of documentation changes to main by @github-actions[bot] in [#4015](https://github.com/VirtusLab/scala-cli/pull/4015)
104+
105+
### Build and internal changes
106+
* Enable Scala Native tests with the `test` command on Scala 3 by [@Gedochao](https://github.com/Gedochao) in [#4018](https://github.com/VirtusLab/scala-cli/pull/4018)
107+
* Self-contained docker build with ARM64 publishing by [@keynmol](https://github.com/keynmol) in [#3962](https://github.com/VirtusLab/scala-cli/pull/3962)
108+
109+
### Updates
110+
* Update scala-cli.sh launcher for 1.11.0 by @github-actions[bot] in [#4004](https://github.com/VirtusLab/scala-cli/pull/4004)
111+
* Bump Ammonite to 3.0.6 (was 3.0.5) by [@Gedochao](https://github.com/Gedochao) in [#4008](https://github.com/VirtusLab/scala-cli/pull/4008)
112+
* Bump actions/download-artifact from 6 to 7 by @dependabot[bot] in [#4009](https://github.com/VirtusLab/scala-cli/pull/4009)
113+
* Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in [#4010](https://github.com/VirtusLab/scala-cli/pull/4010)
114+
* Bump sass from 1.95.0 to 1.96.0 in /website by @dependabot[bot] in [#4011](https://github.com/VirtusLab/scala-cli/pull/4011)
115+
* Bump `react` & `react-dom` from 19.2.1 to 19.2.3 in /website by @dependabot[bot] in [#4012](https://github.com/VirtusLab/scala-cli/pull/4012)
116+
* Bump Mill to 0.12.17 (was 0.12.16) by [@Gedochao](https://github.com/Gedochao) in [#4020](https://github.com/VirtusLab/scala-cli/pull/4020)
117+
* Bump Scala Next RC to 3.8.0-RC4 by [@Gedochao](https://github.com/Gedochao) in [#4021](https://github.com/VirtusLab/scala-cli/pull/4021)
118+
* Bump actions/checkout from 4 to 6 by @dependabot[bot] in [#4024](https://github.com/VirtusLab/scala-cli/pull/4024)
119+
* Bump qs from 6.14.0 to 6.14.1 in /website by @dependabot[bot] in [#4032](https://github.com/VirtusLab/scala-cli/pull/4032)
120+
* Bump @algolia/client-search from 5.46.0 to 5.46.2 in /website by @dependabot[bot] in [#4030](https://github.com/VirtusLab/scala-cli/pull/4030)
121+
* Bump sass from 1.96.0 to 1.97.1 in /website by @dependabot[bot] in [#4027](https://github.com/VirtusLab/scala-cli/pull/4027)
122+
* Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in [#4023](https://github.com/VirtusLab/scala-cli/pull/4023)
123+
* Bump actions/download-artifact from 6 to 7 by @dependabot[bot] in [#4022](https://github.com/VirtusLab/scala-cli/pull/4022)
124+
* Bump react-player from 2.16.1 to 3.4.0 in /website by @dependabot[bot] in [#4025](https://github.com/VirtusLab/scala-cli/pull/4025)
125+
* Bump Scala 3 Next RC to 3.8.0-RC5 by [@Gedochao](https://github.com/Gedochao) in [#4033](https://github.com/VirtusLab/scala-cli/pull/4033)
126+
* Migrate to Mill 1.0.6 (was 0.12.17) by [@Gedochao](https://github.com/Gedochao) in [#4019](https://github.com/VirtusLab/scala-cli/pull/4019)
127+
* Bump libsodium to 1.0.21 (partially, except for static launchers locked at 1.0.18) by [@Gedochao](https://github.com/Gedochao) in [#4041](https://github.com/VirtusLab/scala-cli/pull/4041)
128+
* Bump `coursier` to 2.1.25-M23 by [@Gedochao](https://github.com/Gedochao) in [#4037](https://github.com/VirtusLab/scala-cli/pull/4037)
129+
* Bump Scala 3 Next RC to 3.8.0-RC6 by [@Gedochao](https://github.com/Gedochao) in [#4039](https://github.com/VirtusLab/scala-cli/pull/4039)
130+
* Bump Scala.js to 1.20.2 by [@Gedochao](https://github.com/Gedochao) in [#4040](https://github.com/VirtusLab/scala-cli/pull/4040)
131+
* Bump sass from 1.97.1 to 1.97.2 in /website by @dependabot[bot] in [#4038](https://github.com/VirtusLab/scala-cli/pull/4038)
132+
* Bump alpine to 3.23 & relevant libsodium to 1.0.20 by [@Gedochao](https://github.com/Gedochao) in [#4047](https://github.com/VirtusLab/scala-cli/pull/4047)
133+
* Bump @types/react from 19.2.7 to 19.2.8 in /website by @dependabot[bot] in [#4048](https://github.com/VirtusLab/scala-cli/pull/4048)
134+
* Bump Scala 3 Next to 3.8.0 by [@Gedochao](https://github.com/Gedochao) in [#4049](https://github.com/VirtusLab/scala-cli/pull/4049)
135+
* Bump Scala 3 Next RC to 3.8.1-RC1 by [@Gedochao](https://github.com/Gedochao) in [#4051](https://github.com/VirtusLab/scala-cli/pull/4051)
136+
* Bump undici from 7.16.0 to 7.18.2 in /website by @dependabot[bot] in [#4050](https://github.com/VirtusLab/scala-cli/pull/4050)
137+
138+
**Full Changelog**: https://github.com/VirtusLab/scala-cli/compare/v1.11.0...v1.12.0
139+
11140
## [v1.11.0](https://github.com/VirtusLab/scala-cli/releases/tag/v1.11.0)
12141

13142
### Change default Scala versions to 2.13.18 and 2.12.21

0 commit comments

Comments
 (0)