A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
May 16th, 2024, ISSUE 532

READING

Duchess at Scala.io

A couple of months ago, a significant number of female speakers participated at the Scala.IO conference held in the city of Nantes. Thankfully, three event tickets were gifted to the Duchess France community, and we took advantage of this opportunity to write and share what we’ve learned from these speakers.
Pauline Iogna (@pauline_io)
Purify Your Tests

When I say "purify" I mean it in the pure functional programming sense of making the tests side-effect-free. But more specifically, I'm going to show you a way to avoid mutable mocks.
Daniel Beskin
Tuning ZIO for high performance

Learn how to optimize runtime flags, parallelism, executors, and more!
Pierre Ricadat (@ghostdogpr)
JetBrains Joins the Scala Center Advisory Board!

As the next step in our journey to support the ecosystem, we are pleased to announce that JetBrains has joined the Scala Center Advisory Board as an Affiliate Member!
Dmitrii Naumenko (@JetBrains)
Introducing com-lihaoyi Issue Bounties

To encourage engagement and contribution by the com-lihaoyi community, I (Li Haoyi) am putting up issue bounties for various issues within the com-lihaoyi ecosystem.
Li Haoyi (@li_haoyi)
Announcing Kaleidoscope

Today is Scala 3's third birthday, and I'm celebrating by releasing Kaleidoscope, the first library in the Soundness ecosystem, available right now on Maven Central for Scala 3.4.0+.
Jon Pretty (@propensive)

EVENTS

ScalaMatsuri, June 7th-9th, Tokyo, Japan

The largest international Scala conference in Asia.
ScalaMatsuri (@ScalaMatsuri)

VIDEOS

Anti-corruption layers through functional type safety

Recording from the Scalar Conference 2024. This presentation describes the development of a financial middleware that internationally connects several ERP systems (Navision and SAP) to a cloud-based invoicing solution. Both the invoicing service and the ERP systems pose integration challenges, due to a combination of API mismatches and stability issues. Still, a goal of this middleware was to provide added value by having a useful financial representation across all countries.
Yan Ypma
Scala tooling ecosystem

Another talk from Scalar 2024. Tooling is one of the topics most discussed in the Scala community. We often complain about its issues or have to deal with its’ imperfect solutions. However, Tomasz believe we have gone a really long way during the last few years and we are consistently improving with most Scala core teams being highly conscious of the current imperfections. He would like to go over the most relevant tools and changes that can improve your developer experience.
Tomasz Godzik (@TomekGodzik)
htmx, ScalaTags and ZIO HTTP - Single-Page Web Applications in Scala

This video is a demonstration of a small web application written in Scala, called Neon Pages: a catalogue of contacts where you can add, edit, remove and bulk-edit data with instant feedback and persistence.
Daniel Ciocîrlan (@rockthejvm)
Generative art with Scala, no AI required

A talk from Scalar 2024. Math is beautiful, sometimes very literally. In this talk, we will demonstrate some elegant applications of functional programming in Scala, with even more elegant visual results - all with live code and real-time output.
Daniel Ciocîrlan (@rockthejvm)
Improved reuse in Smithy with Mixins

Eight part in the series about Smithy4s.
Jakub Kozłowski (@kubukoz)
Barely functional: writing lean scala app

A recording of live coding session. Let's build an app without overengineering it (not the Scala way but let's try).
Łukasz Biały (@lukasz_bialy)

RELEASES

tapir 1.10.7

With zio-json support in codegen plus some dependency updates and fixes.
tapir contributors
zio 2.1.0

This version brings a lot of performance improvements in the fiber runtime as well as the scheduler. It is fully binary compatible with the 2.0.x branch with the exception of some internal classes that shouldn't be used anywhere else.
zio contributors
Laminar 17.0.0 & Shoelace Web Components 0.1.0

This release has it all: new features, ergonomic improvements, and bug fixes, in both Laminar and Airstream. Laminar is a Scala.js library for building web application interfaces and managing UI state.
Laminar contributors
ScalikeJDBC 4.3.0

ScalikeJDBC 4.3.0 is now available for Scala 2.12, 2.13, and Scala 3 application development! The notable feature enhancement is scalikejdbc-orm module addition!
ScalikeJDBC contributors
gears 0.2.0

An Experimental Asynchronous Programming Library for Scala 3. Enables direct-style programming. Allows an idiomatic way of structuring concurrent programs minimizing computation leaking (structured concurrency), while providing a toolbox for dealing with external, unstructured events..
gears contributors
Redacted 0.5.1

Prevents leaking sensitive fields defined inside case class. Version 0.5.1 brings some bufixes.
Diego Casella (@polentino911)





  1. Scala Times Issue #536

    Scala 3 improvements in Metals (and hopefully, IntelliJ IDEA). Purify Your Tests III: Lean, Mean Testing Machine. 12 years of the com.lihaoyi Scala Platform. Scala Is Not Going Anywhere. OpenTelemetry With Scala Futures.


  2. Scala Times Issue #535

    GraphQL in Scala: Role-Based Access Control. WebSocket chat using structured concurrency, Ox & Tapir. Tapir tutorials, part 1. Scala 2.13 LTS planning. A Sighting of filterA in Typelevel Rite of Passage.


  3. Scala Times Issue #534

    Lagom is approaching end of life: possible migration paths. WebSockets in Scala, Part 2: Integrating Redis and PostgreSQL. Scala service combined with PostgreSQL, Flyway, Doobie, Ciris, IO(Cats Effects), Http4s…. Akka 24.05: More Security. More Performance. More Efficiency.. Forking and Interruption in ZIO.


  4. Scala Times Issue #533

    Apache Pekko becomes a Top-Level Project. Scala Meetup at Evolution. Purify Your Tests: 2 Parametric, 2 Declarative. Introducing TARP Stack – Tapir, React and PostgreSQL. IO effect tracking using Ox.


  5. Scala Times Issue #532

    Duchess at Scala.io. Purify Your Tests. Tuning ZIO for high performance. JetBrains Joins the Scala Center Advisory Board!. Introducing com-lihaoyi Issue Bounties.


  6. Scala Times Issue #531

    Que es un Higher-Kinded Type de Scala?. ScalaMatsuri, June 7th-9th, Tokyo, Japan. Custom-compile errors with a venegance. Data Engineering at Netflix using Apache Spark and Flink.


  7. Scala Times Issue #530

    Direct-style Effects Explained. How to build AI apps with Scala 3 & Besom. Spec-first and code-first, hand in hand. ScalaMatsuri, June 7th-9th, Tokyo, Japan. Direct Style Scala Stack - An Experiment.


  8. Scala Times Issue #529

    Jacek Kunicki - My Scala Story. Kalix tutorial: Building invoice application. Safe direct-style Scala: Ox 0.1.0 released. LambdaConf, May 4th-10th, Estes Park, Colorado. LambdaConf - The Grand Hackathon Finale, May 10th.


  9. Scala Times Issue #528

    Lean Scala: Reddit discussion. Learn Functional Programming The Fast Way!. Caliban on Tailcalls's GraphQL benchmarks. LambdaConf, May 4th-10th, Estes Park, Colorado. LambdaConf - The Grand Hackathon Finale, May 10th.


  10. Scala Times Issue #527

    How implicits are useful . ScalaWAW #32, Apr 18th, Warsaw. LambdaConf, May 4th-10th, Estes Park, Colorado. LambdaConf - The Grand Hackathon Finale, May 10th. ScalaMatsuri, June 7th-9th, Tokyo, Japan.


  11. Scala Times Issue #526

    Announcing the Scala Ambassadors initiative. Supporting high-performance response streaming in Shardcake. IntelliJ Scala Plugin 2024.1 Is Out!. LambdaConf, May 4th-10th, Estes Park, Colorado. ScalaMatsuri, June 7th-9th, Tokyo, Japan.


  12. Scala Times Issue #525

    Scams in the Scala Community update. Why we bet on Scala at SwissBorg. Capture Checking in Scala 3.4. Why Effects libs? . Benchmarking Tapir: Part 3 (Loom).


  13. Scala Times Issue #524

    Tapir dropping Scala 2.12 support. Scala 3 Roadmap for 2024. Leveraging sbt remote caching on a big modular monolith. Krzysztof Ciesielski - My Scala Story. The Montréal Effect: Why Programming Languages Need a Style Czar.


  14. Scala Times Issue #523

    Zainab Ali - My Scala Story. Handling errors in direct-style Scala. Scala 3.3.2 post-mortem analysis. Distributed Context Propagation with otel4s. Pre-SIP: Improve Syntax for Context Bounds and Givens.


  15. Scala Times Issue #522

    The Functional Programming in Scala Course Is Out!. Shipping your code to cloud with Scala, Besom and Pulumi. Flavors of shared state in Cats Effect. Pekko Akka Compatibility. Benchmarking Tapir: Part 2.


  16. Scala Times Issue #521

    What to do with your End Of Life Akka?. Introducing Playwright-jsEnv for unit testing in scala-js environments. The holy graal of GitHub Actions. Gabriel Volpe - My Scala Story. Game development in Scala.js with David Smith.


  17. Scala Times Issue #520

    My team built and productionized a custom rate limiter in Scala. Benchmarking Tapir: Part 1. WebSockets in Http4s. Improving my Distributed System with Scala 3 (Part 2). Tomas Mikula - My Scala Story.


  18. Scala Times Issue #519

    Debugging session #1: zio-logging & quill. Scala Developer Advocate open hours - AMA . Better Shell Scripting with Scala-CLI. C-style for loops in Scala 3. Paweł Marks - My Scala Story.


  19. Scala Times Issue #518

    Scala Center Roadmap for 2024. Maciej Gorywoda - My Scala Story. Vladyslav Pekker - My Scala Story. Nicolas Rinaudo - My Scala Story. Adam Warski - My Scala Story.


  20. Scala Times Issue #517

    #1BRC in Scala & Scala-Native. Errors happen. Can we get rid of them using ZIO Test?. Scala IO, Feb 15th-16th, Nantes, France. Functional stream processing workshop before Scalar, Mar 20th, Warsaw, Poland. Scalar, March 21st - 22nd, Warsaw, Poland.


  21. Scala Times Issue #516

    GraphQL in Scala: Handling side effects. Type class constraints in object algebras. Migrating event sourced Akka application from CockroachDB to AlloyDB. Jakub Kozłowski - My Scala Story. Scala 3: My migration journey.


  22. Scala Times Issue #515

    Deriving Tail Recursive Fibonacci. Virtual Threads Looming with Adam Warski. Scala Meetup, Jan 31st, Hamburg, Germany. Scala Meetup @ MOIA feat. VirtusLab, Feb 1st, Berlin, Germany. Scala IO, Feb 15th-16th, Nantes, France.


  23. Scala Times Issue #514

    Kotlin from Scala perspective: Advent Of Code 2023. Partially applied functions and currying. GraphQL in Scala: Advanced Schema Generation. Async File IO. Update NextDNS with a Scala CLI script.


  24. Scala Times Issue #513

    Scala 2 Macro Tutorial. A Beginner's Guide to GraphQL in Scala. Writing modular application using the Kyo library. What Can Scala Learn from Rust?. Scala IO 2024, Feb 15th-16th, Nantes, France.


  25. Scala Times Issue #512

    Scala's great ecosystem. What Can Scala Learn from Rust?. Scala IO 2024, Feb 15th-16th, Nantes, France. Scalar 2024 CFP, March 21st-22nd, Warsaw, Poland. LambdaConf 2024, May 4th-10th, Estes Park, Colorado.


Organizing an event?
Promote it with
Scala Times.
The Scala Times reader?
Get a banner!
Got a tip?Send it in!
Follow us onTwitter.
Curated by SoftwareMill.
We are hiring.
And taking on projects.