#ScalaCLI v1.8.1 is out! :rocket:
It sets its defaults at Scala 3.7.1, and also enables the use of URLs in //> using file directives.
Check the full release notes here: https://github.com/VirtusLab/scala-cli/releases/tag/v1.8.1
Je viens de découvrir grace à cette vidéo https://youtu.be/p1kdUISc_WM?si=EzLChThr_C_EL90U les dernières évolutions de #scala et aussi de #scalacli. C'est vraiment top. Je termine une mission avec de réécriture d'un projet en #scala 2 vers du #java qui m'avait un peu réconcilié avec ce language. Mais la j'ai vraiment envie de me remettre au #scala après avoir visionné cette présentation. Si votre vous avez des projets n'hésitez pas.
How Scala Ruined My Java (in a good way)

YouTube

#ScalaCLI v1.7.1 is out!

It sets its defaults at Scala 3.6.4, and also enables inclusion of test sources when generating docs with the doc sub-command.

That, and the standard stream of minor fixes and dependency bumps.

Check the full release notes here: https://github.com/VirtusLab/scala-cli/releases/tag/v1.7.1

Release v1.7.1 · VirtusLab/scala-cli

Support for Scala 3.6.4 This Scala CLI version switches the default Scala version to 3.6.4. scala-cli version # Scala CLI version: 1.7.1 # Scala version (default): 3.6.4 Added by @Gedochao in #3544...

GitHub
(5/5) For the full list of features & fixes included in #ScalaCLI v1.7.0, check the full release notes:
https://github.com/VirtusLab/scala-cli/releases/tag/v1.7.0
Release v1.7.0 · VirtusLab/scala-cli

Switch to scalameta/scalafmt images of scalafmt 3.9.1+ Since version 3.9.1 scalafmt ships with native images built with Scala Native. As a result, we are sunsetting https://github.com/virtuslab/sca...

GitHub

(4/5) To ease migration of old scala runner scripts, #ScalaCLI now supports limited detection of main methods in .sc scripts.

Check the release notes https://scala-cli.virtuslab.org/docs/release_notes#detect-objects-with-main-class-in-scripts for more context about the limitations.

Release notes | Scala CLI

v1.7.1

(3/5) It is now possible to run as well as package  test scope sources with #ScalaCLI.
Got a main method together with your tests? No longer an issue.
(2/5) As scalameta/scalafmt https://github.com/scalameta/scalafmt releases include #ScalaNative -built native images for all platforms as of 3.9.1, #ScalaCLI v1.7.0 and onwards will rely on those, rather than the old, Graal-built images from virtuslab/scalafmt-native-image https://github.com/virtuslab/scalafmt-native-image
GitHub - scalameta/scalafmt: Code formatter for Scala

Code formatter for Scala. Contribute to scalameta/scalafmt development by creating an account on GitHub.

GitHub
#ScalaCLI v1.7.0 is out!
Changes include:
- #ScalaNative 0.5.7 support
- better support for parallel Scala CLI builds
- switch to scalameta/scalafmt-built native images of scalafmt v3.9.1+
- support for --test in run and package
- limited detection of main methods in .sc scripts
...and more, check the release notes for the details! (1/5)

Hey, #ScalaCLI v1.6.2 is out! 🔥

This is a rather small bump, delivering support for Scala.js 1.18.2 and a bunch of minor updates & fixes.
For the full list of changes, check the release notes: https://github.com/VirtusLab/scala-cli/releases/tag/v1.6.2.

#ScalaSteward is already able to use the `fix` command to run Scalafix migrations in #ScalaCLI projects. An example is linked in https://github.com/scala-steward-org/scala-steward/pull/3564

https://softwaremill.social/@scala_space/113906104952391246

Support Scalafix migrations in Scala CLI builds by fthomas · Pull Request #3564 · scala-steward-org/scala-steward

This adds support for running Scalafix migrations in Scala CLI builds by using the scala-cli --power fix --scalafix-rules ... command that was added to Scala CLI 1.6.0. Example PR: scala-steward-or...

GitHub