Skip to content

Commit 540e7d5

Browse files
authored
Release notes for v0.1.14 (#1361)
1 parent 989e963 commit 540e7d5

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

website/docs/release_notes.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,41 @@ sidebar_position: 99
55

66
# Release notes
77

8+
## [v0.1.14](https://github.com/VirtusLab/scala-cli/releases/tag/v0.1.14)
9+
10+
## Hotfix printing stacktraces from Scala CLI runner for Scala 3.x < 3.2.0
11+
We fixed a nasty bug breaking any Scala CLI run using any Scala 3 version earlier than 3.2.0 on printing stacktraces.
12+
Only Scala CLI 0.1.13 was affected.
13+
```
14+
$ scala-cli about
15+
Scala CLI version: 0.1.13
16+
Scala version (default): 3.2.0
17+
$ scala-cli -S 3.1.3 -e 'throw Exception("Broken")'
18+
Compiling project (Scala 3.1.3, JVM)
19+
Compiled project (Scala 3.1.3, JVM)
20+
Exception in thread "main" java.lang.NoSuchMethodError: 'long scala.runtime.LazyVals$.getOffsetStatic(java.lang.reflect.Field)'
21+
at scala.cli.runner.StackTracePrinter.<clinit>(StackTracePrinter.scala:101)
22+
at scala.cli.runner.StackTracePrinter$.coloredStackTraces(StackTracePrinter.scala:104)
23+
at scala.cli.runner.StackTracePrinter$.$lessinit$greater$default$4(StackTracePrinter.scala:11)
24+
at scala.cli.runner.Runner$.main(Runner.scala:18)
25+
at scala.cli.runner.Runner.main(Runner.scala)
26+
```
27+
Added in [#1358](https://github.com/VirtusLab/scala-cli/pull/1358) by [@romanowski](https://github.com/romanowski)
28+
29+
### Build and internal changes
30+
* Disable mill-scala-cli for now by [@alexarchambault](https://github.com/alexarchambault) in [#1335](https://github.com/VirtusLab/scala-cli/pull/1335)
31+
* Update scala-cli.sh launcher for 0.1.13 by [@github-actions](https://github.com/features/actions) in [#1351](https://github.com/VirtusLab/scala-cli/pull/1351)
32+
* Remove backslash which skip execution of `mv` command by [@lwronski](https://github.com/lwronski) in [#1353](https://github.com/VirtusLab/scala-cli/pull/1353)
33+
* Fix import ordering by [@alexarchambault](https://github.com/alexarchambault) in [#1359](https://github.com/VirtusLab/scala-cli/pull/1359)
34+
35+
### Updates
36+
* Update scalafix stuff… by [@alexarchambault](https://github.com/alexarchambault) in [#1333](https://github.com/VirtusLab/scala-cli/pull/1333)
37+
* Bump VirtusLab/scala-cli-setup from 0.1.12 to 0.1.13 by [@dependabot](https://docs.github.com/en/code-security/dependabot) in [#1354](https://github.com/VirtusLab/scala-cli/pull/1354)
38+
39+
40+
**Full Changelog**: https://github.com/VirtusLab/scala-cli/compare/v0.1.13...v0.1.14
41+
42+
843
## [v0.1.13](https://github.com/VirtusLab/scala-cli/releases/tag/v0.1.13)
944

1045
## Change the default sub-command to `repl` when no args are passed

0 commit comments

Comments
 (0)