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

latest releases: 24.4.0.beta2, 24.3.10, 24.4.0.beta1...
pre-release22 months ago

Changes since 23.1.0.beta1

All changes

Breaking changes

New features

  • Improving UX of Query parameters
    Commit · Pull request · Issue

    made it easier to use both query and URL parameters shorthand to create URL parameters from single key-value pair

  • Find a parent component with a given type
    Commit · Pull request · Issue

    Add a helper method to seek the parent component of a given type from the component tree.

  • Make the Router lookup method available for others to use
    Commit · Pull request

    When building a navigation menu component that is not based on RouterLink, there is the same need as RouterLink has: to create links to certain views. That requires a Router reference.

  • Enable components to notify binder when validation state changes
    Commit · Pull request

  • Add API to modify a view after UI.navigate
    Commit · Pull request

    Allows users to configure the target view, with a proper Java API provided by the target view itself, instead of forcing them to use query/path parameters (which ruins the power of having a language like Java in use).

  • Notify component about identifier provider changes
    Commit · Pull request

    Components like Grid or MultiSelectComboBox are supposed to reuse the identifier provider of the Flow data classes to identify items, for example, to manage a selection state. However retrieving the identifier provider from a component is problematic at the moment as developers can set an identifier provider on any data view, and there is no way to react to that apart from extending individual implementations of data view classes to implement a custom notification mechanism that the setIdentifierProvider method was called. This change introduces an IdentifierProviderChangeEvent that is fired when the developer sets an identifier provider on a data view. Components like Grid or MultiSelectComboBox can listen for this event, and retrieve the new identifier provider from it.

  • Support @NonNullApi to define @Nonnull for all methods in a package
    Commit · Pull request

  • Support view access checking in background threads with Spring
    Commit · Pull request

    Requires the spring context to be properly set up for the background thread. Based on #13674

Fixes

  • Separate core and commercial components version files
    Commit · Pull request · Issue

    Previously, the vaadin_versions.json contained both core and commercial components listed which led to including them all in package.json even if the user only used vaadin-core. Now platform generates vaadin-core-version.json in vaadin-core and vaadin-version.json to include commercial components in vaadin artifact. This commit will adopt having separate files while generating package.json and pinning the platform dependencies.

  • Do not rely on web components calling the license checker
    Commit · Pull request

Don't miss a new flow release

NewReleases is sending notifications on new releases.