DEV Community

loading...

KVision v4.0.0 is released (major upgrade with lots of improvements)

rjaros profile image Robert Jaros ・2 min read

KVision is an open source web framework created for Kotlin/JS. It allows developers to build modern web applications with the Kotlin language.

I have released KVision 4.0.0. This is a major upgrade bringing a lot of significant changes and new features.

After the information about the upcoming sunset of Bintray warmed the Java/Kotlin community, I've made the decision to move publication to Maven Central while changing group identifier and package name to io.kvision at the same time. This is a breaking change for all KVision projects, but a simple global replace should fix the problems. More details can be found in the migration guide.

Other highlights include:

  • Update to Kotlin 1.4.30 with IR backend enabled by default in all templates and examples.
  • Upgraded dependencies (Serialization 1.1.0-RC, Ktor 1.5.1, Javalin 3.13.3, Vert.x 4.0.2, Micronaut 2.3.2, Dokka 1.4.20, Gradle 6.8.1, Bootstrap 4.6.0, NPM Publish 1.1.1).
  • Support bidirectional data binding for all form components.
  • Support for custom serializers module in the RestClient component.
  • Major performance optimizations.

Enabling IR by default can now significantly decrease the bundle size of most KVision projects, without much additional trouble.

For more details about this release see the changelog.

I've also published new example demo application, created with Patternfly UI toolkit. It presents how easy it is to create KVision application with a modern design system alternative to Bootstrap, even without direct support for this toolkit. You can find sources in the kvision-examples GitHub repo and live demo here.
Note: The application is heavily inspired by the Patternfly Kotlin project demo.

Don't forget to ⭐️ my project if you like it!

As always, any feedback is appreciated!

Discussion (0)

pic
Editor guide