You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added by [@Gedochao](https://github.com/Gedochao) in [#4229](https://github.com/VirtusLab/scala-cli/pull/4229)
35
+
36
+
### `java-test-runner` for pure Java tests
37
+
Projects with only Java sources (no Scala in the build) now use a dedicated `java-test-runner` module when
38
+
running `scala-cli test`. The new runner wires up Java-friendly test frameworks (such as JUnit via `junit-interface`)
39
+
without pulling the Scala test runner or Scala itself onto the test classpath.
40
+
41
+
```java title=JavaTestRunnerExample.java compile
42
+
//> using test.dep junit:junit:4.13.2
43
+
//> using test.dep com.novocode:junit-interface:0.11
44
+
import org.junit.Test;
45
+
import static org.junit.Assert.assertEquals;
46
+
47
+
public class JavaTestRunnerExample {
48
+
@Test
49
+
public void foo() {
50
+
assertEquals(4, 2 + 2);
51
+
}
52
+
}
53
+
```
54
+
55
+
Added by [@Gedochao](https://github.com/Gedochao) in [#4197](https://github.com/VirtusLab/scala-cli/pull/4197)
56
+
57
+
### GraalVM native-image packaging: `packaging.graalvmJvmId` and `packaging.graalvmArgs`
58
+
GraalVM native-image packaging JVM id and args are now configurable from using directive level.
59
+
60
+
```scala compile power
61
+
//> using packaging.packageType graalvm
62
+
//> using packaging.graalvmJvmId graalvm-community:23.0.2
63
+
//> using packaging.graalvmArgs --no-fallback
64
+
```
65
+
Added by [@zrhmn](https://github.com/zrhmn) in [#4223](https://github.com/VirtusLab/scala-cli/pull/4223) & [#4225](https://github.com/VirtusLab/scala-cli/pull/4225)
66
+
67
+
### Features
68
+
* Add `java-test-runner` module to support running tests with pure Java by [@Gedochao](https://github.com/Gedochao) in [#4197](https://github.com/VirtusLab/scala-cli/pull/4197)
69
+
* Support `-opt-inline:help` by [@Gedochao](https://github.com/Gedochao) in [#4215](https://github.com/VirtusLab/scala-cli/pull/4215)
70
+
* Add directive `packaging.graalvmJvmId` by [@zrhmn](https://github.com/zrhmn) in [#4223](https://github.com/VirtusLab/scala-cli/pull/4223)
71
+
* Add additional `packaging.graalvm*` directives by [@zrhmn](https://github.com/zrhmn) in [#4225](https://github.com/VirtusLab/scala-cli/pull/4225)
72
+
73
+
### Ammonite REPL deprecated & scheduled for removal
74
+
The Ammonite-backed REPL integration is now **deprecated** and **planned for removal** (in sync with [Ammonite's official communication](https://github.com/com-lihaoyi/Ammonite/commit/388d10819e9cb22c260be2fb1b053088d725ffb1)).
75
+
Flags such as `--ammonite`, `--ammonite-version`, and `--ammonite-arg` on `scala-cli repl` will go away in a future release.
76
+
77
+
It's time to move on to the **default Scala REPL**.
78
+
79
+
Added by [@Gedochao](https://github.com/Gedochao) in [#4218](https://github.com/VirtusLab/scala-cli/pull/4218)
80
+
81
+
### Deprecations
82
+
* Add proper deprecation logic for features & deprecate Ammonite for removal by [@Gedochao](https://github.com/Gedochao) in [#4218](https://github.com/VirtusLab/scala-cli/pull/4218)
83
+
84
+
### Fixes
85
+
* Add `signed-by` support to Debian APT repository by [@Gedochao](https://github.com/Gedochao) in [#4207](https://github.com/VirtusLab/scala-cli/pull/4207)
86
+
* Add missing attributes to ivy2 publishing by [@Gedochao](https://github.com/Gedochao) in [#4203](https://github.com/VirtusLab/scala-cli/pull/4203)
87
+
* Fix misc compiler warnings by [@Gedochao](https://github.com/Gedochao) in [#4220](https://github.com/VirtusLab/scala-cli/pull/4220)
88
+
* Make each packaged native image use its own subdirectory under `nativeImageWorkDir` when cross-packaging by [@Gedochao](https://github.com/Gedochao) in [#4221](https://github.com/VirtusLab/scala-cli/pull/4221)
89
+
* Support formatting `.sbt` inputs by [@Gedochao](https://github.com/Gedochao) in [#4195](https://github.com/VirtusLab/scala-cli/pull/4195)
90
+
91
+
### Documentation changes
92
+
93
+
### Build and internal changes
94
+
* Skip CI steps irrelevant to committed changes on PRs by [@Gedochao](https://github.com/Gedochao) in [#4208](https://github.com/VirtusLab/scala-cli/pull/4208)
95
+
* Run tests with JDK 26 by [@Gedochao](https://github.com/Gedochao) in [#4214](https://github.com/VirtusLab/scala-cli/pull/4214)
96
+
* Split `release_notes.md` into a separate test per-release-tag in `docs-tests` by [@Gedochao](https://github.com/Gedochao) in [#4216](https://github.com/VirtusLab/scala-cli/pull/4216)
97
+
98
+
### Updates
99
+
* Update scala-cli.sh launcher for 1.12.5 by @github-actions[bot] in [#4191](https://github.com/VirtusLab/scala-cli/pull/4191)
100
+
* Bump Scala 3 Next RC to 3.8.3-RC3 by [@Gedochao](https://github.com/Gedochao) in [#4194](https://github.com/VirtusLab/scala-cli/pull/4194)
101
+
* Bump dorny/test-reporter from 2 to 3 in the github-actions group by @dependabot[bot] in [#4198](https://github.com/VirtusLab/scala-cli/pull/4198)
102
+
* Bump picomatch from 2.3.1 to 2.3.2 in /website by @dependabot[bot] in [#4200](https://github.com/VirtusLab/scala-cli/pull/4200)
103
+
* Bump node-forge from 1.3.3 to 1.4.0 in /website by @dependabot[bot] in [#4202](https://github.com/VirtusLab/scala-cli/pull/4202)
104
+
* Bump Scala 3 Next to 3.8.3 by [@Gedochao](https://github.com/Gedochao) in [#4204](https://github.com/VirtusLab/scala-cli/pull/4204)
105
+
* Bump brace-expansion from 1.1.12 to 1.1.13 in /website by @dependabot[bot] in [#4205](https://github.com/VirtusLab/scala-cli/pull/4205)
106
+
* Bump @algolia/client-search from 5.49.2 to 5.50.0 in /website in the npm-dependencies group by @dependabot[bot] in [#4206](https://github.com/VirtusLab/scala-cli/pull/4206)
107
+
* Bump the npm-dependencies group in /website with 2 updates by @dependabot[bot] in [#4211](https://github.com/VirtusLab/scala-cli/pull/4211)
108
+
* Bump lodash from 4.17.23 to 4.18.1 in /website by @dependabot[bot] in [#4212](https://github.com/VirtusLab/scala-cli/pull/4212)
109
+
* Bump Scala 3 Next RC to 3.8.4-RC1 by [@Gedochao](https://github.com/Gedochao) in [#4213](https://github.com/VirtusLab/scala-cli/pull/4213)
110
+
* Bump Mill to 1.1.5 (was 1.1.3) by [@Gedochao](https://github.com/Gedochao) in [#4217](https://github.com/VirtusLab/scala-cli/pull/4217)
111
+
* Bump the npm-dependencies group in /website with 6 updates by @dependabot[bot] in [#4226](https://github.com/VirtusLab/scala-cli/pull/4226)
112
+
* Bump follow-redirects from 1.15.11 to 1.16.0 in /website by @dependabot[bot] in [#4227](https://github.com/VirtusLab/scala-cli/pull/4227)
113
+
* Bump announced Scala 3 Next RC version to 3.8.4-RC1 by [@Gedochao](https://github.com/Gedochao) in [#4219](https://github.com/VirtusLab/scala-cli/pull/4219)
114
+
* Bump `scalafmt` to 3.11.0 (was 3.10.7) by [@Gedochao](https://github.com/Gedochao) in [#4228](https://github.com/VirtusLab/scala-cli/pull/4228)
115
+
* Bump Scala.js to 1.21.0 by [@Gedochao](https://github.com/Gedochao) in [#4229](https://github.com/VirtusLab/scala-cli/pull/4229)
116
+
117
+
## New Contributors
118
+
* [@zrhmn](https://github.com/zrhmn) made their first contribution in [#4223](https://github.com/VirtusLab/scala-cli/pull/4223)
0 commit comments