Vaadin Flow 9.0.0.beta1
Changes in Flow from 9.0.0.alpha11
-
New Features:
-
Fixes:
-
⧉ Show rejected promise errors in the debug window. PR:12156
-
⧉ Make Java resource folder available in application configuration. PR:12164
-
⧉ Do not create constant pool key eagerly. PR:12124
Stops creating a constant pool key eagerly as it was being created 11 times for a simple click listener after each event data expression was evaluated. The change improves the server side roundtrip processing time for 2000 buttons with click listeners from roughly 210ms to 130ms (-40%) by not eagerly creating the id using MessageDigest after evaluating each event data expression. Difference to buttons without any click listeners is still about x2 (65ms->130ms). Closes #7826
-
⧉ Move client side frontend resources to META-INF/frontend. PR:12128. Ticket:11057
-
⧉ Stop showing message start in error. PR:12013
Stops outputting the rpc message content's first 1000 characters in the error message, that could end up even visible in the UI. Instead only a part of the message details are output as debug-level log.
-
⧉ Poll dev server status using fetch so that the spinner keeps spinning. PR:12112
As server for status instead of reloading the whole page.
-
⧉ Remove 'target/' prefix for fusion form version check. PR:12110
Remove the target/ prefix for checking the legacy version of fusion form so that it also works with Gradle which uses build instead target for the output folder.
-
-
New Features and Fixes for expermental Vite based frontend build (behind a feature flag):
-
⧉ Enable livereload for theme. PR:12138. Ticket:12113
Enables live update of custom theme when files change during execution. Also handles situations where files are added to theme.
-
⧉ Vite production bundling. PR:12142
Run
vite build
in prod mode with bundles going to target/classes/META-INF/VAADIN/webapp If there is no features file disable all features (otherwise multi-module projects will inherit setting of previous projects in build-frontend) -
⧉ Allow passing Vite options using devmode.vite.options. PR:12118
-
⧉ Use correct URL in Vite status check so that a server is re-used. PR:12167
-
⧉ Load dev mode gizmo for Vite when not in production. PR:12105
Include gizmo in generated-flow-imports.js so it is also functional with v14 bootstrap mode.
-