github varabyte/kobweb v0.9.11

latest releases: v0.24.0, v0.23.3, v0.23.2...
pre-release4 years ago

A very small update, but pushed out since the Gradle export bug fix is important to people who change the route prefix.

Frontend

  • Added versions of ComponentModifier / ComponentVariant methods thenIf and thenUnless that evaluate lazily
    • Before: Modifier.thenIf(condition, ConditionalModifier)
    • After: Modifier.thenIf(condition) { ConditionalModifier }
    • This additional version can be useful if you want to do something expensive when creating the modifier (or variant) that's supplied

Gradle

  • Remove hardcoded reference to .kobweb/site in the Gradle plugin
    • This value should have been changed earlier to ready from the .kobweb/conf.yaml file after the route prefix feature was added
    • This should resolve issues some users would see when trying to re-export their site using a non-standard route prefix setting, e.g. targeting github pages

Don't miss a new kobweb release

NewReleases is sending notifications on new releases.