Changes since 25.0.0-alpha16
New features
-
Conditionally load workbox dependencies only when PWA is enabled
Commit · Pull requestMove workbox-core and workbox-precaching from default dependencies to a new workbox folder that is only loaded when PWA is enabled. This reduces unnecessary dependencies for projects that don't use PWA functionality.
-
Allow
StyleSheet
onAppShellConfigurator
class
Commit · Pull request · IssueAllows StyleSheet annotation on top of AppShellConfigurator extending class. This allows to load stylesheets globally and also import Vaadin themes in V25 as they are shipped as single CSS files.
-
Add getItemIndex and getParent to hierarchical data providers
Commit · Pull requestThis PR adds getItemIndex and getParent to HierarchicalDataProviders. This allows the users to define ways to provide item indexes and parents of items efficiently. This allows the TreeGrid component to implement scrollToItem functionality for any data provider without breaking existing implementations. Part of vaadin/flow-components#8076 ---------
-
Make Page.addStyleSheet() return Registration for dynamic removal
Commit · Pull requestEnables dynamic removal of stylesheets added via Page.addStyleSheet() methods by returning a Registration object. When Registration.remove() is called, the corresponding stylesheet is removed from the DOM on the client side.
Fixes
-
Authentication redirect to login
Commit · Pull request · Issueauthenticated, but getting accessDenied.