Changes since 24.3.0.beta1
Breaking changes
- Remove unused method
Commit · Pull request - Reject AppShell classes which extend Component
Commit · Pull request · Issue - Rename
dev.hilla
tocom.vaadin.hilla
Commit · Pull request
New features
-
Add getItemIndex to DataView
Commit · Pull request · IssueNew
getItemIndex
method inDataView
affectsListDataView
andLazyDataView
implementations.LazyDataView
introduces in addition a new methodsetItemIndexProvider(ItemIndexProvider)
. WithListDataView
,getItemIndex
works out-of-the-box with the in-memory data. WithLazyDataView
, it's required to set item index provider first withsetItemIndexProvider(ItemIndexProvider)
. OtherwisegetItemIndex
will throwUnsupportedOperationException
. Provider can be implemented to fetch correct item index using item andQuery
parameters.Query
object is set up to fetch all items with sorting and filter. -
Support DataProviderWrapper better in AbstractDataView
Commit · Pull request · IssueAdds in
AbstractDataView
a better support for wrapper data providers that implementsDataProviderWrapper
.AbstractDataView
won't throw exception anymore if wrapped data container is supported by the data view implementation. Adds publicgetWrappedDataProvider
method inDataProviderWrapper
. -
Show informative page during dev-bundle creation
Commit · Pull request · IssueWhen a new dev-bundle is required, the server startup is blocked until the bundle creation completes. This change allow the server startup to complete, showing an informative page to the user until the bundle creation is completed. ---------
-
Anchor handling for react-router
Commit · Pull requestAdd anchor handling so we do not loose all data for flow navigation.
-
Added a style method for the transform-origin property
Commit · Pull requestmenambahkan properti transform-origin added a style method for the transform-origin property ---------
Fixes
-
Single request navigation
Commit · Pull requestOnly one request sent to the server for flow navigation so that the request contains removals and adds in the same query. Change UI clean rule Add test to check react actually in use
-
Delay web-component bootstrap during dev-bundle creation
Commit · Pull request · IssueWhen a Flow component is embedded as a web-component, the bootstrap process may fail if the dev-bundle is still under creation, because an HTML page is returned instead of the javascript initialization code. This change waits for dev-bundle to be ready before loading the web-components bootstrap script.
-
Support fragmented messages in debug window
Commit · Pull request -
Use Atmosphere for debug window connection
Commit · Pull request -
Throw for missing server routes
Commit · Pull request · IssueIf serverSideRoutes is missing from the routes.tsx then log error on what to do and throw exception.
-
Consider theme variants from JAR in bundleImports
Commit · Pull request · IssueBundleUtil computes import paths for component theme variants from npm packages, but it does not consider variants from JAR add-ons. This change applies the same import rules for both variants from npm packages and JAR unpacked in the fronted generated folder.
-
Postpone commands scheduled with runWhenAttached for detached nodes
Commit · Pull request · Issues 1434, 18020When detach listeners are called, the node still has a parent set, causing commands scheduled with runWhenAttached to be executed immediately. This change make runWhenAttached postpone the command by registering an attach listener, if called durint node detach.
-
Generate files to Frontend
Commit · Pull request · IssueGenerate the App.tsx and routes.tsx to Frontend and correct the import in index.ts
-
Prevent warning in TaskRunDevBundleBuild when README exists
Commit · Pull request · IssueIf README.md already exists, do not attempt to create the file (and thus show a warning).
-
Also show drag over style when effect is undefined
Commit · Pull request -
Remove old bundle in clean-frontend goal or task
Commit · Pull request