Changes since 23.1.0.beta1
Breaking changes
- Remove fusion-endpoint and related IT modules
Commit · Pull request - Always load static files from context root
Commit · Pull request · Issue - Rename dev mode gizmo to dev tools
Commit · Pull request
New features
-
Improving UX of Query parameters
Commit · Pull request · Issuemade 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 · IssueAdd 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 requestWhen 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 requestAllows 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 requestComponents 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 requestRequires 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 · IssuePreviously, 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