Vaadin Flow 3.0.0.beta1 is a pre-release of Vaadin Flow 3.0.0
The major new feature in the Flow 3.x series is support for TypeScript views, and a new way to bootstrap the app based on index.html
and index.ts
files, without creating a server-side UI instance. The new way of bootstrapping required a breaking change to the bootstrapping APIs, whereas the support for TypeScript is compatible with the Flow 2.x series. The 3.x series has also removed a number of APIs deprecated in Flow 2.x.
New features in 3.0.0.beta1:
- Support for TypeScript views and client-side routing (#6218)
@Endpoint
annotation to allow calling Java methods from TypeScript views in a type-safe way (#6229)- No server-side state by default: bootsrapping based on a template file, without creating a UI instance (#6139)
- Deprecate the V14 bootstrapping-related APIs (#6517)
useDeprecatedV14Bootstrapping
flag to keep using the V14 bootstrapping for compatibility (#6367, #6557)AppShell
Java API for configuring theindex.html
page when using template-based bootstrapping (#7050, #7179, #7063, #7168, #7239)- option to use
pnpm
instead ofnpm
for faster front-end builds: thepnpm.enable
flag (#6966) - and everything from the Flow 2.2 series
API removals in 3.0.0.beta1:
- Drop ES5 (IE11, old Safari) support (#6856)
- Remove deprecated APIs (#7333)
Element#addEventListener(String, DomEventListener, String...)
Element#getSynchronizedPropertyEvents()
Element#getSynchronizedProperties()
Element#removeSynchronizedPropertyEvent(String)
Element#removeSynchronizedProperty(String)
Element#addSynchronizedPropertyEvent(String)
Element#addSynchronizedProperty(String, DisabledUpdateMode)
Element#addSynchronizedProperty(String)
Element#synchronizeProperty(String, String, DisabledUpdateMode)
Element#synchronizeProperty(String, String)
ElementStateProvider#addSynchronizedProperty(StateNode, String, DisabledUpdateMode)
ElementStateProvider#getSynchronizedProperties(StateNode)
ElementStateProvider#getSynchronizedPropertyEvents(StateNode)
VaadinServlet#getApplicationUrl(HttpServletRequest)
WebBrowser#isIOS()
BrowserDetails#isSafariOrIOS()
BrowserDetails#isIOS()
BrowserDetails#isIOS()
- Deprecated
ServletHelper
was removed, useHandlerHelper
instead (#6857)
Other changes in 3.0.0.beta1
- Spring 5.2.0 and Spring Boot 2.2.0 are supported (#7028)