Skip to content

Commit 4832457

Browse files
authored
Merge pull request #4003 from Gedochao/release/v1.11.0
Add release notes for Scala CLI v1.11.0
2 parents 9e1bbf3 + 1344a2e commit 4832457

3 files changed

Lines changed: 79 additions & 6 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.10` tags to the latest release commit.
27+
- [ ] Update the `v1` & `v1.11` tags to the latest release commit.
2828
```bash
2929
git fetch --all
30-
git checkout origin v1.10.x
31-
git tag -d v1.10
32-
git tag v1.10
33-
git push origin v1.10 -f
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
3434
git tag -d v1
3535
git tag v1
3636
git push origin v1 -f

website/docs/reference/scala-versions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ it is recommended to update scala-cli.
3535
| 1.8.5 - 1.9.0 | 3.7.2 | 2.13.16 | 2.12.20 |
3636
| 1.9.1 | 3.7.3 | 2.13.16 | 2.12.20 |
3737
| 1.10.0 - 1.10.1 | 3.7.4 | 2.13.17 | 2.12.20 |
38-
| 1.10.2 - current | 3.7.4 | 2.13.18 | 2.12.21 |
38+
| 1.11.0 - current | 3.7.4 | 2.13.18 | 2.12.21 |
3939

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.11.0](https://github.com/VirtusLab/scala-cli/releases/tag/v1.11.0)
12+
13+
### Change default Scala versions to 2.13.18 and 2.12.21
14+
This Scala CLI version switches the default Scala versions:
15+
- default Scala 2.13 to 2.13.18
16+
- default Scala 2.12 to 2.12.21
17+
18+
Added by [@Gedochao](https://github.com/Gedochao) in [#3999](https://github.com/VirtusLab/scala-cli/pull/3999) and [#3958](https://github.com/VirtusLab/scala-cli/pull/3958)
19+
20+
### Fall back to a legacy version of the `runner` & `test-runner` modules for JVM < 17
21+
22+
The newest versions of the `runner` and `test-runner` modules will require Java 17 or newer to run.
23+
When trying to use them with older JVMs, Scala CLI will now print a warning and fall back to using legacy versions of those modules instead.
24+
25+
```bash ignore
26+
scala-cli test . --jvm 11
27+
# Compiling project (Scala 3.7.4, JVM (11))
28+
# Compiled project (Scala 3.7.4, JVM (11))
29+
# [warn] Java 11 is no longer supported by the test-runner module.
30+
# [warn] Defaulting to a legacy test-runner module version: 1.7.1.
31+
# [warn] To use the latest test-runner, upgrade Java to at least 17.
32+
```
33+
34+
Added by [@Gedochao](https://github.com/Gedochao) in [#3965](https://github.com/VirtusLab/scala-cli/pull/3965)
35+
36+
### Features & improvements
37+
* Improve Python detection on Mac by [@Gedochao](https://github.com/Gedochao) in [#3961](https://github.com/VirtusLab/scala-cli/pull/3961)
38+
### Fixes
39+
* fix for 3307 (windows launcher rejects filenames with utf8 chars) by [@philwalk](https://github.com/philwalk) in [#3923](https://github.com/VirtusLab/scala-cli/pull/3923)
40+
* Allow for repeatable `-XX:*` Java options by [@Gedochao](https://github.com/Gedochao) in [#3976](https://github.com/VirtusLab/scala-cli/pull/3976)
41+
* fix #3979 by adding save-and-restore to generated run-native-image.bat by [@philwalk](https://github.com/philwalk) in [#3981](https://github.com/VirtusLab/scala-cli/pull/3981)
42+
* Fix handling of multiple exclude directives by [@tom91136](https://github.com/tom91136) in [#3984](https://github.com/VirtusLab/scala-cli/pull/3984)
43+
* Fix doc generation for projects with compile-only dependencies by [@Gedochao](https://github.com/Gedochao) in [#3990](https://github.com/VirtusLab/scala-cli/pull/3990)
44+
* Rewrite Scala.js linking to enable packaging of projects without a main method by [@Gedochao](https://github.com/Gedochao) in [#3992](https://github.com/VirtusLab/scala-cli/pull/3992)
45+
### Deprecations
46+
* Fall back to legacy `runner` / `test-runner` for JVM < 17 by [@Gedochao](https://github.com/Gedochao) in [#3965](https://github.com/VirtusLab/scala-cli/pull/3965)
47+
### Documentation changes
48+
* Add examples for passing REPL options via using directive to the docs by [@Gedochao](https://github.com/Gedochao) in [#3975](https://github.com/VirtusLab/scala-cli/pull/3975)
49+
* Back port of documentation changes to main by @github-actions[bot] in [#3978](https://github.com/VirtusLab/scala-cli/pull/3978)
50+
### Build and internal changes
51+
* Increase CI timeout for integration tests to 150 minutes by [@Gedochao](https://github.com/Gedochao) in [#3955](https://github.com/VirtusLab/scala-cli/pull/3955)
52+
* Run the entire REPL test suite on both Ammonite and Scala 3 REPL by [@Gedochao](https://github.com/Gedochao) in [#3982](https://github.com/VirtusLab/scala-cli/pull/3982)
53+
* Clean cached JDKs on Linux CI runners by [@Gedochao](https://github.com/Gedochao) in [#3995](https://github.com/VirtusLab/scala-cli/pull/3995)
54+
### Updates
55+
* Update scala-cli.sh launcher for 1.10.1 by @github-actions[bot] in [#3954](https://github.com/VirtusLab/scala-cli/pull/3954)
56+
* Bump sass from 1.93.3 to 1.94.0 in /website by @dependabot[bot] in [#3960](https://github.com/VirtusLab/scala-cli/pull/3960)
57+
* Bump Scala 2.13 to 2.13.18 (was 2.13.17) by [@Gedochao](https://github.com/Gedochao) in [#3958](https://github.com/VirtusLab/scala-cli/pull/3958)
58+
* Bump `ammonite` to 3.0.4 (was 3.0.3) by [@Gedochao](https://github.com/Gedochao) in [#3969](https://github.com/VirtusLab/scala-cli/pull/3969)
59+
* Bump actions/checkout from 5 to 6 by @dependabot[bot] in [#3973](https://github.com/VirtusLab/scala-cli/pull/3973)
60+
* Bump sass from 1.94.0 to 1.94.2 in /website by @dependabot[bot] in [#3974](https://github.com/VirtusLab/scala-cli/pull/3974)
61+
* Bump misc dependencies by [@Gedochao](https://github.com/Gedochao) in [#3971](https://github.com/VirtusLab/scala-cli/pull/3971)
62+
* Bump Scala 3 Next RC to 3.8.0-RC1 by [@Gedochao](https://github.com/Gedochao) in [#3957](https://github.com/VirtusLab/scala-cli/pull/3957)
63+
* Update `bloop` to 2.0.17 (was 2.0.15) and `bloop-config` to 2.3.3 (was 2.3.2) by [@Gedochao](https://github.com/Gedochao) in [#3970](https://github.com/VirtusLab/scala-cli/pull/3970)
64+
* Bump node-forge from 1.3.1 to 1.3.2 in /website by @dependabot[bot] in [#3980](https://github.com/VirtusLab/scala-cli/pull/3980)
65+
* Bump Scala 3 Next RC to 3.8.0-RC2 by [@Gedochao](https://github.com/Gedochao) in [#3977](https://github.com/VirtusLab/scala-cli/pull/3977)
66+
* Bump Scala.js deps by [@Gedochao](https://github.com/Gedochao) in [#3983](https://github.com/VirtusLab/scala-cli/pull/3983)
67+
* Bump mdast-util-to-hast from 13.0.2 to 13.2.1 in /website by @dependabot[bot] in [#3986](https://github.com/VirtusLab/scala-cli/pull/3986)
68+
* Bump @easyops-cn/docusaurus-search-local from 0.52.1 to 0.52.2 in /website by @dependabot[bot] in [#3985](https://github.com/VirtusLab/scala-cli/pull/3985)
69+
* Bump misc dependencies by [@Gedochao](https://github.com/Gedochao) in [#3987](https://github.com/VirtusLab/scala-cli/pull/3987)
70+
* Bump `scala-js-cli` to 1.20.1.1 (was 1.20.1) by [@Gedochao](https://github.com/Gedochao) in [#3989](https://github.com/VirtusLab/scala-cli/pull/3989)
71+
* Bump sass from 1.94.2 to 1.95.0 in /website by @dependabot[bot] in [#3998](https://github.com/VirtusLab/scala-cli/pull/3998)
72+
* Bump `react` & `react-dom` from 19.2.0 to 19.2.1 in /website by @dependabot[bot] in [#3997](https://github.com/VirtusLab/scala-cli/pull/3997)
73+
* Bump `coursier` to 2.1.25-M21 by [@Gedochao](https://github.com/Gedochao) in [#4000](https://github.com/VirtusLab/scala-cli/pull/4000)
74+
* Bump `scala-cli-signing` to 0.2.13 & `coursier-publish` to 0.4.4 by [@Gedochao](https://github.com/Gedochao) in [#3988](https://github.com/VirtusLab/scala-cli/pull/3988)
75+
* Bump Ammonite to 3.0.5 by [@Gedochao](https://github.com/Gedochao) in [#4001](https://github.com/VirtusLab/scala-cli/pull/4001)
76+
* Bump Scala 3 Next RC to 3.8.0-RC3 by [@Gedochao](https://github.com/Gedochao) in [#3991](https://github.com/VirtusLab/scala-cli/pull/3991)
77+
* Bump Scala 2.12 to 2.12.21 by [@Gedochao](https://github.com/Gedochao) in [#3999](https://github.com/VirtusLab/scala-cli/pull/3999)
78+
79+
## New Contributors
80+
* [@tom91136](https://github.com/tom91136) made their first contribution in [#3984](https://github.com/VirtusLab/scala-cli/pull/3984)
81+
82+
**Full Changelog**: https://github.com/VirtusLab/scala-cli/compare/v1.10.1...v1.11.0
83+
1184
## [v1.10.1](https://github.com/VirtusLab/scala-cli/releases/tag/v1.10.1)
1285
This is a bugfix release, chiefly aiming to mend [#3949](https://github.com/VirtusLab/scala-cli/issues/3949), which affected several of our users.
1386
### Fixes

0 commit comments

Comments
 (0)