Skip to content

v0.9.13

Pre-release
Pre-release
Compare
Choose a tag to compare
@bitspittle bitspittle released this 05 Sep 22:39
· 2029 commits to main since this release

Frontend

  • Backwards Incompatible Migrated Kobweb's Text to SpanText
    • Previously, Kobweb's Text tried to be smart and only wrapped its text in a span if a Modifier was passed in, but this was really subtle, and probably surprising, behavior. By renaming it, we now avoid a common import overlap between Kotlin's Text and Kobweb's version. Additionally, the name makes it clearer that this is text wrapped in a <span> block, and that that implementation will be consistent.
    • If you get a compile error around Text in your Kobweb project, you should be able to rename it to SpanText.
  • Updated Font Awesome support from v5 to v6
    • Potentially backwards incompatible Some font awesome icon names have changed as part of the migration. Please use their icon search to figure out the new names.
  • Added support for clamp, min, and max CSS functions whose output can be passed into relevant Modifier methods.
  • The site's title is now automatically added to your app globals
    • So you can access it using AppGlobals["title"] in your code, instead of hard-coding it, in case things change down the line.
  • Fixed Modifier.role(...), which is now correctly implemented as an HTML attribute and not a style.
  • Fixed various copy/paste issues with CSS class instances (see commit cec1f7b for the changes)