João Costa @JD557@blog.joaocosta.eu Follow

Portuguese software engineer at Kevel.

My instance is running on a small server so please #nobot

Web

https://www.joaocosta.eu/

GitHub

https://github.com/JD557

Twitter

https://twitter.com/JD557

Itch.io

https://jd557.itch.io

  • Notes
  • Articles 6
  • Followers 41
  • Following 59
Scala Space's avatar
Scala Space
@scala_space@softwaremill.social

We're thrilled to announce the release of Scala CLI v1.5.0!
It's quite feature packed, including:
• support for Scala 3.5.0 and Scala Native 0.5.5
• auto-completions for fish shell user
• ( experimental) export to Maven
• ( experimental) improvements to JMH benchmarking 👇

  • permalink
  • 10 months ago
Scala Space's avatar
Scala Space
@scala_space@softwaremill.social

in reply to this object

(2/7) By the way, do try the Maven export when you have the time! ⚡
Life's that much easier when one doesn't have to write the pom.xml on their own. Just keep in mind it's still an experimental feature (and awaits your feedback!)

  • permalink
  • 10 months ago
Scala Space's avatar
Scala Space
@scala_space@softwaremill.social

in reply to this object

(3/7) JMH benchmarking has received some improvements as well (but is still an experimental feature as well). Benchmarks can now be controlled with dedicated using directives as well as command line options.

  • permalink
  • 10 months ago
Scala Space's avatar
Scala Space
@scala_space@softwaremill.social

in reply to this object

(4/7) They're also now supported in multiple sub-commands (and not just run, so you can compile your project separately, for example). Importing a benchmarking project to an IDE is now also supported.
More changes coming soon!

  • permalink
  • 10 months ago
Scala Space's avatar
Scala Space
@scala_space@softwaremill.social

in reply to this object

(5/7)It is now possible to launch an app with Scala CLI by just specifying its dependency, without the need to provide any source files. 🚀
There's also no need to specify the main class, as it's now being detected automatically in dependencies as well.

  • permalink
  • 10 months ago
Scala Space's avatar
Scala Space
@scala_space@softwaremill.social

in reply to this object

(6/7) This can be used similarly to Coursier's cs launch. Just do note that explicitly calling the run sub-command is necessary here, as otherwise Scala CLI will default to the REPL.

  • permalink
  • 10 months ago
Scala Space's avatar
Scala Space
@scala_space@softwaremill.social

in reply to this object

(7/7) For more details about all the features and fixes included in Scala CLI 1.5.0, check out the release notes https://github.com/VirtusLab/scala-cli/releases/tag/v1.5.0.

Release v1.5.0 · VirtusLab/scala-cli GitHub
  • permalink
  • 10 months ago
Powered by microblog.pub 2.0.0+dev (source code) and the ActivityPub protocol. Admin.