github vaadin/flow 24.4.0.alpha31
Vaadin Flow 24.4.0.alpha31

latest releases: 24.5.7, 23.5.10, 24.4.13...
pre-release7 months ago

Changes since 24.4.0.alpha30

All changes

New features

  • Add API for automatic main menu
    Commit · Pull request · Issue

    Adds API to get and control only accessible routes for automatically build routes based on Menu annotated routes. This change is targeting primarily client side menu build with Hilla. Adds RouteRegistry#getRegisteredAccessibleMenuRoutes to get a list of accessible RouteData objects. Method takes in a collection of access control objects which are implementing BeforeEnterListener. Supports NavigationAccessControl and ViewAccessChecker. Adds MenuAccessControl interface to control getRegisteredAccessibleMenuRoutes return value. This change adds first part of control by adding API to enable, disable or automate populating client side main menu with the server side routes. Interface has space for future for more advanced control. Default MenuAccessControl implementation can be customized by implementing it as a Spring bean, or by providing the implementation class via 'menu.access.control' property.

Fixes

  • Prevent embedded styles to leak main document
    Commit · Pull request · Issue

    When using an exported a themed Flow web-component, Lumo style may leak the embedding document, causing invalid CSS rules to be applied. This change prevents applying Lumo global imports when the theme is applied to a web-component.

  • Allow css properties in react components (#19077)
    Commit · Pull request · Issue

  • Only minify in production
    Commit · Pull request · Issue

    Only minify in production mode. For development and devBundle builds do not minify sources.

Don't miss a new flow release

NewReleases is sending notifications on new releases.