This is a major upgrade bringing important breaking changes. See dedicated migration guide for details.
Major breaking changes
- The deprecated modules, containing support for Electron, Cordova and OnsenUI have been removed. Maintaining them, in the context of migration to ESM, would require a great amount of work and unfortunately I don't have enough spare time to do this.
- The fullstack modules have been removed in favour of direct integration with my other library Kilua RPC. You can fairly easy migrate your applications to Kilua RPC, just by changing some imports and plugins.
- All code has been migrated to ES modules and
es2015
target. As a resultrequire
function, used for importing resources and integrating NPM libraries, is no longer available. Use@JsModule
annotation instead. - The default layout of KVision apps has been modified (
src/jsMain/web
directory is no longer used).
Other changes
- Upgraded dependencies (Kotlin 2.1.20, Coroutines 1.10.2, Serialization 1.8.1, npm-publish 3.5.3, multiplatform-diff 1.0.0, kotlin-wrappers 2025.4.10, Kotest 5.9.1, Bootstrap 5.3.5, Chart.js 4.4.8, Tempus Dominus 6.10.2, Material Web 2.3.0, React 19.1.0, Trix 2.1.13, Tom Select 2.4.3, Gradle 8.13)
- New
kvision-tailwindcss
module with TailwindCSS support (#556) - Possibility to access the list of modals and close all modals (#568)
- New options (
startOfTheWeek
,hourCycle
) for Date/Time components (#566) - Removed default CSS theme from
Pace.init()
function (a parameter is required) - Removed KSP processor and simplified KVision Gradle Plugin