fritz2 v0.4 Release Notes

Release Date: 2020-05-26 // almost 4 years ago
  • ๐Ÿ’ฅ breaking changes

    ๐Ÿš€ This release contains changes, that break code written with earlier versions:

    • ๐Ÿ— since it was the source of much confusion we renamed the function to build a tree of Tags (formerly html) to render:

      render { div("my-class") { // ... } }

    • the overloaded operator <= to bind a Flow of actions or events to a Handler was definitely not Kotlin-like, so we replaced it by the handledBy infix-function (please note the reversed order):

      button("btn btn-primary") { text("Add a dot") clicks handledBy store.addADot }

    ๐Ÿ†• new features

    • ๐Ÿ‘Œ improved remote-api
    • ๐Ÿ‘Œ support for building and using WebComponents

    ๐Ÿ› bug fixes

    • ๐Ÿ‘Œ improved examples
    • ๐Ÿ‘Œ improved documentation

    ๐Ÿ— build.gradle.kts

    ๐Ÿ’… Kotlin style

    dependencies { implementation("io.fritz2:fritz2-core-js:0.4") }
    

    ๐Ÿ’… Groovy style

    dependencies { implementation 'io.fritz2:fritz2-core-js:0.4'}