chore(deps): update dependency scala-cli to v1.15.0#909
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.14.0→1.15.0Release Notes
VirtusLab/scala-cli (scala-cli)
v1.15.0Compare Source
Default Scala 3.8.4, Scala Native 0.5.12 & Scala.js 1.22.0
This Scala CLI version bumps the default Scala version to 3.8.4, Scala Native to 0.5.12 and Scala.js to 1.22.0.
Scala 3.8.4 was added by @Gedochao in #4299
Scala Native 0.5.12 was added by @WojciechMazur in #4286
Scala.js 1.22.0 was added by @Gedochao in #4344
JShell support in
replscala-cli replcan now use JShell as its REPL backend, enabled with the--jshell(--jsh) flag. JShell is also picked automatically for pure-Java projects. The project's classpath (including dependencies) is available inside the JShell session, so you can play with your code (and even reference Scala classes via reflection). JShell requires JDK 9 or newer.Note: It is possible to explicitly disable JShell on pure Java projects and revert to using Scala REPL with
--jshell=false.Added by @Gedochao in #4262
javasnippets in Markdown inputs (experimental ⚡️)Scala CLI can now compile and run
javacode blocks inside Markdown inputs, mirroring the existing support forscalasnippets. Ajavasnippet is treated like a regular.javainput (its body is emitted as Java source without any wrapping). As with other Markdown features, this requires--power.Added by @Gedochao in #4284
WebAssembly support (experimental ⚡️)
Scala CLI can now compile and run Scala.js through the experimental Scala.js WebAssembly backend. Enable it with the
--js-emit-wasmflag (or the//> using wasmdirective) together with ES module output (--js-module-kind es///> using jsModuleKind es).The Wasm output runs on a JavaScript host that embeds a Wasm engine. Scala CLI does not bundle any of these runtimes — you have to install Node.js (the default), Deno or Bun yourself, then select one with
--js-runtime. See the Scala.js with Wasm guide for the details and runtime version requirements.Added by @lostflydev in #4176
JUnit 5 (Jupiter) support
The
testrunner now supports JUnit 5 (Jupiter) via thejupiter-interfacetest interface, for both Scala and pure-Java tests. JUnit 5 requires Java 17 or newer.scala-cli test MyJupiterTests.test.scala --jvm 17Added by @Gedochao in #4304
SBT 2.x export
The
exportsub-command can now generate SBT 2.x builds (the default SBT version used for the export is now 2.0.0). Pick a specific version with--sbt-version.scala-cli --power export hello.scala --sbt --sbt-version 2.0.0 -o sbt-project cat sbt-project/project/build.propertiesAdded by @Gedochao in #4327
Visual Studio 2026 support on Windows
When building Scala Native (or packaging GraalVM native images) on Windows, Scala CLI locates the MSVC toolchain from your Visual Studio installation. It now also detects Visual Studio 2026, and bundles the matching Visual C++ redistributable (
vcredist) in the generated MSI installers.Added by @Gedochao in #4331
Dropped Ammonite support
The Ammonite REPL integration has been removed (it was deprecated back in v1.13.0). The
--ammonite(--amm),--ammonite-versionand--ammonite-argoptions are gone fromscala-cli repl; use the default Scala REPL (or the new JShell backend for Java projects) instead.Added by @Gedochao in #4283
Features
replby @Gedochao in #4262--wasmflag with Node.js, Deno & Bun runtimes by @lostflydev in #4176vcredistby @Gedochao in #4331Fixes
.scalafmt.confif unnecessary by @Gedochao in #4291Deprecations and removals
Build and internal changes
directives-parserexample in Scala CLI v1.14.0 release notes by @Gedochao in #4278KEYGRIPsecret by @Gedochao in #4275update-installation-script,update-centosandupdate-debiancan't run in parallel by @Gedochao in #4277Updates
scalafmtto 3.11.1 (was 3.11.0) by @Gedochao in #4290mill-native-imageandmill-native-image-uploadto 0.2.6 (was 0.2.4) and add support for VS 2026 by @Gedochao in #4323scala-js-clito 1.22.0.1 (was 1.22.0) by @Gedochao in #4350coursierto 2.1.25-M26 (was 2.1.25-M25) by @Gedochao in #4346scala-cli-signingto 0.3.0 (was 0.2.13) by @Gedochao in #4352New Contributors
Full Changelog: VirtusLab/scala-cli@v1.14.0...v1.15.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.