Skip to content

v0.17.2

Compare
Choose a tag to compare
@bitspittle bitspittle released this 12 Apr 20:44

This release adds a few features and has also migrated its dependencies to target Compose 1.6.2. (Projects using 1.6.1 should still work).

Important

Planning to upgrade? Review instructions in the README.

The biggest change is support for specifying route redirects, which you can read more about here.

server:
  redirects:
    - from: "/socials/facebook/([^/]+)"
      to: "/socials/meta/$1"

Changes

Frontend

  • Navigation logic updated to take redirects into account.
  • Users can now configure their site's lang setting, e.g. kobweb { app { index { lang.set("fr") } } } in your build script
    • If not set, defaults to "en"
    • You can use lang.set("") if you want to clear the language setting entirely.

Silk

  • Fixed an issue with the checkbox implementation that could occasionally mess up scrolling vertical layouts.
  • Modifier.backdropFilter now works on Safari targets

Backend

  • Added routing support for redirects. Visiting an old URL will now return a 301 redirect code.

Full Changelog: v0.17.1...v0.17.2