Vaadin Flow 3.2.0.alpha7 is a prerelease of the Java Framework targeted to the upcoming Vaadin 17. (https://maven.vaadin.com/vaadin-prereleases/).
Changes since 3.2.0.alpha6
All changes since 3.1
3.2 Feature Highlights
TypeScript API for form binding and validation
The @vaadin/form
package includes the Binder
API to create forms in TypeScript with lit-html templates. It includes helpers to save and load data, bind data to the UI template, update the form state reactively, and run validation (based on Java Bean validation constraints). See more details in the docs.
Live browser reload when using Java hot-swap tools
When using HotswapAgent, Spring Boot Devtools, or JRebel, the browser is now automatically refreshed as soon as the Java changes have been compiled.
Extended URL parameters support
Parameters in the middle of the URL (#2740) and multiple optional parameters (#4213) are now supported.
Add support for Unit in similar fashion to Vaadin 8 (#8533)
When we have been doing migration assessments of various customer projects, we have learned that usage of methods like setWidth(float width, Unit unit)
in Vaadin 8 are rather popular. In order to make migration of such applications easier and support legacy style of setting sizes of components it is useful to have this feature in Flow HasSize
as well.
Basic LitTemplate support based on LitElement for Java UIs (#8041)
Supports @id mapping in the same way as PolymerTemplate. Contrary to PolymerTemplate, contains no special support for template in template, @uses or a template model. For more details see the PR #8041.
Behavior or Incompatible Changes
The PWA install prompt feature was removed because it will not be supported other browsers than Chrome. The parameter enableInstallPrompt
was removed from the @PWA
annotation. See more details from #8038.