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

pre-release9 months ago

Changes since 24.3.0.beta1

All changes

Breaking changes

New features

  • Add getItemIndex to DataView
    Commit · Pull request · Issue

    New getItemIndex method in DataView affects ListDataView and LazyDataView implementations. LazyDataView introduces in addition a new method setItemIndexProvider(ItemIndexProvider). With ListDataView, getItemIndex works out-of-the-box with the in-memory data. With LazyDataView, it's required to set item index provider first with setItemIndexProvider(ItemIndexProvider). Otherwise getItemIndex will throw UnsupportedOperationException. Provider can be implemented to fetch correct item index using item and Query parameters. Query object is set up to fetch all items with sorting and filter.

  • Support DataProviderWrapper better in AbstractDataView
    Commit · Pull request · Issue

    Adds in AbstractDataView a better support for wrapper data providers that implements DataProviderWrapper. AbstractDataView won't throw exception anymore if wrapped data container is supported by the data view implementation. Adds public getWrappedDataProvider method in DataProviderWrapper.

  • Show informative page during dev-bundle creation
    Commit · Pull request · Issue

    When 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 request

    Add anchor handling so we do not loose all data for flow navigation.

  • Added a style method for the transform-origin property
    Commit · Pull request

    menambahkan properti transform-origin added a style method for the transform-origin property ---------

Fixes

  • Single request navigation
    Commit · Pull request

    Only 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 · Issue

    When 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 · Issue

    If 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 · Issue

    BundleUtil 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, 18020

    When 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 · Issue

    Generate 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 · Issue

    If 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

Don't miss a new flow release

NewReleases is sending notifications on new releases.