v2.0.0-RC6-2
Pre-release
Pre-release
Native launcher changes
- Don't let native-image interpret the
-Doptions passed to the native launcher, so that we can interpret those ourselves as normal options, like the JAR-based launcher does. - Have the
launchcommand accept Java options via--java-opt/-J, that are passed tojavawhen launching a JVM application from the native launcher, likecs launch -J -Xmx3g ammonite.
In progress changes
The changes below are meant to be described more extensively and documented in later releases, while being more tested in the mean time. These are mentioned here for the sake of comprehensiveness.
- Major in-progress overhaul of the internals of the
bootstrapandinstallcommands. - Early support for pre-built native launchers for the
installcommand. - Experimental
javaandjava-homecommands.javafetches and starts a custom JVM (likecs java --jvm graalvm@19.3+ -version), andjava-homefetches and prints the home directory of a custom JVM (likecs java-home --jvm 11). - Add support for generating GraalVM native images to the
bootstrapcommand. Use likecs bootstrap --native-image coursier -o custom-cs. - Add experimental
setupcommand, installing a JVM if none is found locally, updatingJAVA_HOMEandPATHif needed, and installing a few applications via theinstallcommand (cs,ammonite,sbt, in particular).
Other changes
- Add a
--scalaalias for--scala-version, in most CLI commands. Use likecs launch ammonite --scala 2.13.