Scala News

Scala News -

A curated list of Scala related news from the community.

Articles

Compile-time data contracts in Scala 3

Explains using Scala 3 macros, TypeInspector patterns, and policy-driven validation to enforce compile-time data contracts, catching schema drift at build time rather than in production.

Hybrid IO-driven Promise (Scala snippet)

Presents an IOPromise Scala snippet: a hybrid Promise/Deferred alternative enabling imperative completion (unsafeTryComplete) plus non-leaky IO-based awaiting, easing Akka/Pekko–Cats-Effect interop.

Parsing from scratch - Part 1

First part of a series introducing parsing fundamentals and building a simple custom parser from scratch using Scala.

Scala 3.8.2 is now available!

Scala 3.8.2 release notes: new warning for for-comprehensions with multiple vals affecting map behavior, REPL :dep support, Scala.js 1.20.2, and Scala CLI 1.12.2 upgrades.

Seamless k6.io Performance Testing in Scala Projects Using Scala.js

SoftwareMill explores writing k6.io performance tests in Scala via Scala.js, enabling type safety, functional composition, and reuse of domain logic instead of using k6's default JavaScript scripting

State of the TASTy reader and Scala 2.13 ↔ Scala 3 compatibility

Explains that Scala 3.8 breaks Scala 2.13's TASTy reader compatibility; Scala 3.7 is last version Scala 2 can consume, detailing reader limitations and recommended publishing strategies.

The Effect Pattern and Effect Systems in Scala

Explores Scala effect systems: monadic approaches like Cats Effect, ZIO, Kyo, plus newer direct-style handlers using context functions, such as Ox and YAES.

typelevel.org built with Typelevel

Announces typelevel.org's rewrite using Laika, generated via a Scala script. Outlines future plans: onboarding docs, a Typelevel Project Index webapp, mdoc integration, and community contribution via

sbt and the miners of the wild west