Changes since 25.0.0
New features
-
Add protected API to regenerate data in viewport (#23043)
Commit · Pull requestThe PR adds a protected
refreshViewportmethod to both DataCommunicator and HierarchicalDataCommunicator. This method regenerates and resends data for items that are currently visible in the viewport. -
Implement getItems(offset, limit) in DataView
Commit · Pull request · Issue- Added getItems with offset/limit to DataView interface - Implemented efficient query-based retrieval in AbstractDataView - Optimized backend fetching in AbstractLazyDataView - Added verification tests in AbstractLazyDataViewTest and AbstractListDataViewTest
Fixes
-
Do not serve reserved folders (#22998)
Commit · Pull requestDo not run indexhtmlrequesthandler for requests to vaadin reserved folders.
-
Install hilla-generator dependencies if Hilla is available (#23012)
Commit · Pull request · IssueAdds hilla-generator-* dependencies to package.json when Hilla is available via EndpointRequestUtil.isHillaAvailable(), not only when Hilla is used (FrontendUtils.isHillaUsed(...)).
-
Register client callable methods for reflection (#23016)
Commit · Pull request · IssueRegisters reflection hints for client callable methods to ensure they can be detected and invoked when running native executables.
-
Register layout as beans for native build hints (#23006)
Commit · Pull request · IssueLayout classes referenced by Vaadin routes are instantiated programmatically and they might contain annotation managed by Spring like
@PostConstruct. This change discovers and registers layout classes as beans during AOT processing so that related information are available for native build. -
Allow access to SecurityContext for invalidated http session (#23004)
Commit · Pull request