diff --git a/website/blog/2024-03-01-0.2.x-release.md b/website/blog/2024-03-01-0.2.x-release.md index 9eb48276..12240e59 100644 --- a/website/blog/2024-03-01-0.2.x-release.md +++ b/website/blog/2024-03-01-0.2.x-release.md @@ -25,7 +25,7 @@ I am, personally, of the opinion that code is worth a million words so the best Let's start with a small web app. To keep things as simple as possible we'll use [scala-cli](https://scala-cli.virtuslab.org/) which will take care of packaging our application for us. We'll also use [tapir's](https://tapir.softwaremill.com/en/latest/server/jdkhttp.html) JDK HTTP server support and leverage Loom because it's just free performance. Let's create a directory for the whole project somewhere and then put our app in `./app` subdirectory. The `project.scala` file will look like this: ```scala -//> using scala 3.3.2 +//> using scala 3.3.3 //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement //> using jvm "graalvm-java21:21.0.2" @@ -41,7 +41,7 @@ Let's start with a small web app. To keep things as simple as possible we'll use ``` The `scala-cli` directives are pretty self-explanatory: -- we use Scala 3.3.2 LTS +- we use Scala 3.3.3 LTS - we add some linting options for the compiler - we select GraalVM CE for JDK 21 as the runtime (because of Loom and because GraalVM is awesome) - we also pull some dependencies - tapir for http server along with static file serving module and scribe for logging