Releases: vaadin/flow
Vaadin Flow 23.5.6
No changes since 23.5.5
Vaadin Flow 23.5.5
Changes since 23.5.4
Fixes
- Fail fast if view defines same path for route and route alias (#19977)
Commit · Pull request · Issue
Vaadin Flow 24.5.0.beta1
All Changes since Vaadin Flow 24.4
New features
-
Automatic Flow main layouts
DocsVaadin Flow automatically adds the Flow routes to the router layout that is marked with
AtLayout
new annotation.
Includes the following commits:-
Automatic Flow layout
Commit · Pull requestAutomatically match layout for both flow and hilla route. format Add server layout usage information to routes.tsx template This reverts commit bad2fec. Have OutletElement as a tsx file in flow-react jar Add javadoc for auto layout getParentLayout method.
-
Generate layout.json
Commit · Pull requestGenerate a layout.json for Hilla to automatically enable server layouts part of vaadin/hilla#2709.
-
-
Dynamic menu items in Flow main layout
DocsCollects and provides
AtMenu
annotated Flow routes and Hilla views filtered by access control resolutions, can be used in the Flow main layout to render links in the navigation bar in a generic way without explicit Java classes for routes.-
Add collectMenuItemsList() to MenuRegistry
Commit · Pull request · Issue -
Get menu views api
Commit · Pull request · IssueCreate MenuRegistry for getting automatic menu views for population.
-
Filter client routes by authentication and role
Commit · Pull requestAdd filtering of menu client routes by checking authentication and roles. Do not check for routes in ClientRoutesProvider as the results are generated from the same source data as the data read/generated by MenuRegistry.
-
-
Flow components as children for React-based component
Doc · Commit · Pull request · IssueAllows having Flow Components as children in a ReactAdapterComponent (Flow wrapper for React component).
-
HotSwap improvements
Provides a single endpoint for hotswap tools that internally chooses the best strategy of UI update - full page reload or UI component reload.
Includes the following commits:
-
API for reloading current route target
Commit · Pull request -
Add a common API to integrate with hotswap tools
Commit · Pull request
-
-
Record support in Binder
Commit · Pull requestProvides an API to use Java Records as bean types for read-only beans in Binder.
-
Support for nonce-based strict Content Security Policy
DocsVaadin Flow isn’t generally compatible with strict CSP rules, however, with some effort, nonce-based strict CSP can be used with Vaadin Flow applications. See the linked documentation for how to set it up.
-
Add alternative translate methods to I18NProvider
Commit · Pull request · IssueAdds static
I18NProvider#translate
methods for alternative way to get translation. Compares to calling getTranslation viaVaadinService.getCurrent().getInstantiator().getI18NProvider()
.translate
methods throws IllegalStateException without active VaadinService. -
Speedup startup time by excluding jars
Commit · Pull request · IssueOptimize class scanning of VaadinServletContextInitializer by excluding some commonly used jars and add support for vaadin.blocked-jar boolean property in META-INF/VAADIN/package.properties to exclude whole jar content from the class scanner.
-
Added HasLabelAsText interface to NativeButtonElement.
Commit · Pull request -
Filterable class scanning of JAR
Commit · Pull request · IssueThis change improves optimization of class scanning of
VaadinServletContextInitializer
by reading optional configuration file within a JAR dependency. Configuration file is a regular properties file that can containvaadin.allowed-packages
orvaadin.blocked-packages
to exclude/include packages being scanned byVaadinServletContextInitializer
. Package exclusion/inclusion effects only classes in the JAR/module whereMETA-INF/VAADIN/package.properties
is located at. Notice that this is only affecting the performance of the class scanning of Vaadin specific annotations and types and this feature is not meant to be used for excluding packages from the whole application. E.g. excludingVaadinServiceInitListener
in a Spring application is not stopping Spring and Vaadin initializing it anyway, although some time-consuming actions likeDevModeServletContextListener
would still exclude it for optimization. -
Add raw html table and related components
Commit · Pull request -
Create converters for numeric values from NumberField
Commit · Pull request · IssueThis pull request introduces converter classes which converts between Numeric data types. This change addresses the need for such converters as outlined in issue #5134. With the availability of a NumberField in Vaadin, it is essential to have converters that facilitate the use of various number formats with this component.
-
Add ValueContext.getBinder()
Commit · Pull requestoriginal authors: @archiecobbs and @mstahv
-
Load Lumo utility CSS by default
Commit · Pull requestThe imports have been manually defined in all new starter projects for a long time so this is not supposed to break much anything.
-
Upgrade to TypeScript 5.5
Commit · Pull request -
Add application identifier to build info
Commit · Pull requestGets or computes an application identifier during production build and store it into flow-build-info.json.
-
Refresh browser using dev-tools connection
Commit · Pull requestUses the dev-tools websocket connection to refresh the UI when PUSH is not available, instead of forcing a page reload.
-
Push and replace without navigation callback
Commit · Pull request · IssueAdd feature to support replace and push without getting a callback to the server for the change.
-
Add CompletableFuture WebStorage API
Commit · Pull request · IssueAdds CompletableFuture methods for WebStorage.getItem.
-
Strongly cache Copilot files
Commit · Pull requestSpeeds up every reload as there is no need to check if the files have changed.
-
Create Fieldset - Legend Java API
Commit · Pull request · IssueJava API to create a and html tag without using a custom Java class to group fields.
-
Add option to not modify readonly files during copy, add logging of time
Commit · Pull request · IssueAllows to skip setting writable flag on copied files by providing the vaadin.frontend.disableWritableFlagCheckOnCopy system property. This may improve performance in c...
Vaadin Flow 24.5.0.alpha20
Changes since 24.5.0.alpha19
Fixes
-
Reset the Premium Features flag before license checking
Commit · Pull requestThe pre-compiled production bundle comes with true value of this flag always, because Vaadin CI server has a sub that enables it. Thus, Flow need to reset this flag before it calls the license server.
Vaadin Flow 24.5.0.alpha19
Changes since 24.5.0.alpha18
New features
-
Generate layout.json
Commit · Pull requestGenrate a layout.json for Hilla to automatically enable server layouts part of vaadin/hilla#2709
Fixes
-
Evaluate target not active
Commit · Pull request · IssueFor deciding what action to take we should evaluate where we are going and not the current active path.
-
Propagate Premium Features flag value to configuration
Commit · Pull request
-
Wait for output reading to complete before parsing version
Commit · Pull requestNodeInstall.getVersion currently does not block waiting for STDOUT and STDERR to be read completely. This causes random failure during node installation because of forcing an empty version. This change waits for future to complete before parsing the version value.
Vaadin Flow 24.4.8
Changes since 24.4.7
New features
-
Add option to not modify readonly files during copy, add logging of time (#19894)
Commit · Pull request · IssueAllows to skip setting writable flag on copied files by providing the vaadin.frontend.disableWritableFlagCheckOnCopy system property. This may improve performance in certain scenarios with Windows OS.
Fixes
-
Wait for output reading to complete before parsing version (#19921)
Commit · Pull requestNodeInstall.getVersion currently does not block waiting for STDOUT and STDERR to be read completely. This causes random failure during node installation because of forcing an empty version. This change waits for future to complete before parsing the version value.
Vaadin Flow 23.5.4
Changes since 23.5.3
New features
- Add ConditionalOnMissingBean for ServletRegistration (#17883)
Commit · Pull request
Fixes
-
Prevent NPE when creating init parameters (#19856) (CP: 23.5)
Commit · Pull request · IssueServletConfig might contain init parameter with null values. This is however not supported by java Properties class. This change adds a null check and logs offending keys for debugging purpose.
Vaadin Flow 2.11.1
Vaadin Flow 2.11.1 for Vaadin Platform 14.12.
Changes since 2.11.0
Fixes
- Fix for dropping support for bower mode
Commit · Pull request
Vaadin Flow 24.5.0.alpha18
Changes since 24.5.0.alpha17
New features
-
Add option to not modify readonly files during copy, add logging of time
Commit · Pull request · IssueAllows to skip setting writable flag on copied files by providing the vaadin.frontend.disableWritableFlagCheckOnCopy system property. This may improve performance in certain scenarios with Windows OS.
-
Add download progress listener to FileDownloader
Commit · Pull request -
Make proxy reading method public
Commit · Pull request
Fixes
-
Client navigation for server layout
Commit · Pull request · Issues 3169, 19895 -
Use instantiator to lookup DAUCustomizer implementation
Commit · Pull requestUsing instantiator instead of directly calling Lookup allows CDI and Quarkus projects to expose the implementation as a bean instead of registering it as a ServiceLoder component.
Vaadin Flow 24.3.17
No changes since 24.3.16