github varabyte/kobweb v0.25.1

4 hours ago

This release adds a few quality of life features and bumps up some versions.

[versions]
compose-runtime = "1.12.0"
kobweb = "0.25.1"
kotlin = "2.4.10"

[libraries]
compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose-runtime" }

Important

Planning to upgrade? Review instructions in the README.


Frontend

  • Added support for the recently added HTTP QUERY method

    • It's like GET but supports setting a payload body (finally!)
  • New CSS properties and modifiers

    • animation-composition
    • block-size
    • border-spacing
    • contain-intrinsic-width, contain-intrinsic-height, contain-intrinsic-size
    • text-rendering

Workers

  • Workers now respect a project's base path if it is set.

Backend

  • Fixed server logs not getting generated (accidentally broken in 0.25.0)
  • You can now use println and System.err in your @Api endpoints to generate info and warn logs.
    • Convenient if you are in a situation where you want quick debugging in a function that doesn't have access to a ctx.logger.

Gradle

  • Kobweb now runs multiple threads in parallel when doing exports, which can easily halve the total time it takes, or more, based on how powerful your machine is.

    • By default, we check how many cores your machine has and use 1/2 of them.
    • The number of threads we use can be configured by setting the kobweb.app.export.numThreads property in your build script, or (for CI convenience) via the KOBWEB_EXPORT_NUM_THREADS environment variable.
      • If using the environment variable, we also accept string values: "max" (all cores), "high" (75% of all cores), and "half"
  • Fixed all detected "Isolated Projects" issues in the Kobweb plugins (we think!)

    • In Gradle 9.7.0, the build system finally graduated their "Isolated Projects" feature from experimental to incubating. This feature enforces strict rules that, when followed, allowing Gradle to safely process projects in parallel. This should bring performance improvements especially to large projects.
    • It will likely be another year or more before this feature is actually usable for most end users, but at this point Kobweb plugins shouldn't end up in any "Isolated Project failure" callstacks (let us know if they do!)

Full Changelog: v0.25.0...v0.25.1

Don't miss a new kobweb release

NewReleases is sending notifications on new releases.