Repository navigation
Vaadin Flow Components V25.2.0-alpha2
Pre-releaseVaadin Flow Components 25.2.0-alpha2
This is a release of the Java integration for Vaadin Components to be used from the Java server side with Vaadin Flow.
Changes in Flow Components from 25.1.0-beta1
Changes in All Components
- Chore:
Changes in vaadin-ai-components-flow
-
New Features:
-
⧉ Implement grid AI controller state management. PR:9058
## Description Implements state management for
GridAIController: - Introduces new APIs: -GridState getState()-void restoreState(GridState)- Adds public recordGridStatethat holds the current query for the grid - Makes implementation detailGridEntrypackage-private Fixes https://github.com/orgs/vaadin/projects/103/views/1?filterQuery=&pane=issue&itemId=169426064 ## Type of change - [ ] Bugfix - [x] Feature ## Checklist - [x] I have read the contribution guide: https://vaadin.com/docs/latest/contributing/overview - [x] I have added a description following the guideline. - [x] The issue is created in the corresponding repository and I have referenced it. - [x] I have added tests to ensure my change is effective and works as intended. - [x] New and existing tests are passing locally with my change. - [x] I have performed self-review and corrected misspellings. - [x] Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created. -
⧉ Add chart AI controller state support. PR:9060
## Summary - Add
ChartStaterecord andgetState()/restoreState()API toChartAIControllerfor capturing and restoring chart state (queries + configuration) - AddaddStateChangeListener()for reacting to state changes after AI requests complete Closes https://github.com/orgs/vaadin/projects/103/views/3?pane=issue&itemId=165657963 🤖 Generated with Claude Code --------- -
⧉ Add ChartAIController. PR:9029
## Summary - Add
ChartAIControllerfor AI-powered chart visualization from database data - AddChartConfigurationApplierfor mapping JSON config to Vaadin Chart objects - AddChartRendererfor the query→series→drawChart pipeline with axis defaults, datetime detection, and configuration reset across chart type switches - AddChartEntryfor per-chart pending state management - AddConfigurationKeysconstants for Highcharts property names Closes https://github.com/orgs/vaadin/projects/103/views/3?pane=issue&itemId=165662231 🤖 Generated with Claude Code --------- -
⧉ Add grid ai controller. PR:9027
## Description Adds
GridAIControllerthat implementsAIController. Constructors: -GridAIController(Grid<Map<String, Object>>, DatabaseProvider)APIs: -String getSystemPrompt(). Features: - Default system prompt - Grid tools support - Empty state message - Built-in renderer support - End-aligned columns for number columns - Resizable, sortable, and auto-width by default - Column grouping support - Header formatting Support not included in this PR: - Custom renderers - State management and persistence Fixes https://github.com/orgs/vaadin/projects/103/views/1?filterQuery=&pane=issue&itemId=165824311 ## Type of change - [ ] Bugfix - [x] Feature ## Checklist - [x] I have read the contribution guide: https://vaadin.com/docs/latest/contributing/overview - [x] I have added a description following the guideline. - [x] The issue is created in the corresponding repository and I have referenced it. - [x] I have added tests to ensure my change is effective and works as intended. - [x] New and existing tests are passing locally with my change. - [x] I have performed self-review and corrected misspellings. - [x] Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created. -
⧉ Add multi grid support and update tool names
-
⧉ Add ChartAITools factory for reusable chart LLM tool specs
-
⧉ Improve chart tool schema with plotOptions, lowercase enums, and better descriptions
- Add plotOptions support (series stacking, dataLabels, markers, pie innerSize for donuts, column/bar borderRadius) - Lowercase enum values for axis types, legend alignment, and zoomType to match Highcharts API conventions - Add axis type enum to xAxis, yAxis, and zAxis schemas - Support numeric chart height in addition to string - Replace exporting config with plotOptions (more useful for AI) - Improve tool and parameter descriptions
-
⧉ Implement default data converters
-
⧉ Database provider tools
-
-
Fixes:
Changes in vaadin-app-layout-flow
Changes in vaadin-avatar-flow
- New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
⧉ Add missing unprefixed theme variants. PR:8851
Add unprefixed variants and deprecate AURA prefixed duplicates for AvatarGroupVariant (REVERSE), TabSheetVariant (TABS_SHOW_SCROLL_BUTTONS), and TabsVariant (SHOW_SCROLL_BUTTONS)._
-
Changes in vaadin-badge-flow
-
New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
-
Fixes:
Changes in vaadin-button-flow
-
New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
-
Fixes:
Changes in vaadin-checkbox-flow
-
New Features:
-
Fixes:
Changes in vaadin-combo-box-flow
-
New Features:
-
Fixes:
-
⧉ Override bind items for combobox. PR:8803. Ticket:23659
ComboBox requires filter convertor and thus fails for generic data provider. This PR adds: overload for bindItems that takes the converter overload for bindItems that uses default items filter (uses items label generator and contains) unit tests for both methods E2E test. E2E test uses a custom equality checker for value signal and re-uses the Person entity class which equality is based in ID: ComboBox uses ID for refreshing items, whereas item signals should use some other equality (first name + last name), because otherwise signals skip calling the effects and value updates if they see equal values.
-
Changes in vaadin-confirm-dialog-flow
-
New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
-
Fixes:
Changes in vaadin-context-menu-flow
-
New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
-
Fixes:
Changes in vaadin-crud-flow
-
New Features:
-
⧉ Add methods to get grid selection as a signal
Add getSelectedItemSignal() and getSelectedItemsSignal() convenience methods that create a ValueSignal internally, bind it to the selection, and return it — so users can directly get a signal representing the grid's selection state without managing their own signal. This reverts commit 83f2e91.
-
Fixes:
-
⧉ Clean up selection signal binding on model switch and reduce duplication
Address review comments: add signal binding cleanup in selection model remove() so bindings are properly released when switching selection modes, and extract shared bindValue logic into GridSelectionSignalHelper to eliminate code duplication between single and multi selection models.
-
Changes in vaadin-dashboard-flow
-
New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
-
Fixes:
Changes in vaadin-date-picker-flow
- New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
Changes in vaadin-date-time-picker-flow
-
New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
-
Fixes:
Changes in vaadin-dialog-flow
-
New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
-
Fixes:
Changes in vaadin-grid-flow
-
New Features:
-
⧉ Add methods to get grid selection as a signal
Add getSelectedItemSignal() and getSelectedItemsSignal() convenience methods that create a ValueSignal internally, bind it to the selection, and return it — so users can directly get a signal representing the grid's selection state without managing their own signal. This reverts commit 83f2e91.
-
⧉ Add constructors with items signal. PR:8896
---------
-
Fixes:
-
⧉ Clean up selection signal binding on model switch and reduce duplication
Address review comments: add signal binding cleanup in selection model remove() so bindings are properly released when switching selection modes, and extract shared bindValue logic into GridSelectionSignalHelper to eliminate code duplication between single and multi selection models.
-
Changes in vaadin-icons-flow
- New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
Changes in vaadin-list-box-flow
-
New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
Fixes:
Changes in vaadin-login-flow
-
New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
-
Fixes:
Changes in vaadin-master-detail-layout-flow
- New Features:
-
⧉ Add detail placeholder API to MasterDetailLayout. PR:9017
Add setDetailPlaceholder/getDetailPlaceholder for content shown in the detail area when no detail is selected. The placeholder is hidden in overlay mode, unlike the detail content which becomes an overlay.
-
⧉ Add MasterDetailLayout constructor with sizes and expand
Add constructor MasterDetailLayout(String masterSize, String detailSize, Expand expandingSide) for convenient initialization.
-
Changes in vaadin-messages-flow
- New Features:
-
⧉ Add signal bind method to message list component. PR:8783
Add
bindItems(Signal<List<S>>)method and a signal-based constructor to MessageList, allowing items to be reactively bound to signals. The rendered messages update automatically when the list signal or any individual item signal changes. Implementation details: - Extract privateupdateItems()fromsetItems()for reuse by the signal effect callback - GuardsetItems()andaddItem()withthrowIfItemsBindingActive()to prevent manual mutation while a signal binding is active - UseSignalBindingFeaturefor binding lifecycle management - Add unit tests covering signal constructor, reactive updates for both list and item signals, deferred activation until attach, and error cases (mutation while bound, double bind, null signal) - Add manual test page and integration tests for signal binding ---------
-
Changes in vaadin-progress-bar-flow
- New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
Changes in vaadin-radio-button-flow
-
New Features:
-
⧉ Add constructors with items signal. PR:8896
---------
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
-
Fixes:
Changes in vaadin-select-flow
- New Features:
Changes in vaadin-slider-flow
- New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
Changes in vaadin-spreadsheet-flow
- Fixes:
-
⧉ Reset freeze pane split positions when switching sheets. PR:9035. Ticket:9006
## Summary - Fixes freeze pane state bleeding between sheets when switching tabs in Spreadsheet - When switching from a sheet with a freeze pane split to one without that split type, the previous sheet's split position was not reset to 0, causing it to persist visually - Root cause: commit a1963f9 guarded
setHorizontalSplitPosition/setVerticalSplitPositionbehind split-exists checks but theelsebranches never explicitly reset the positions to 0 ## Test plan - [x] New unit tests inSpreadsheetFactoryTestverify all freeze pane combinations (both splits, only rows, only columns, none) and the sheet-switching bleed scenario - [x] Rollback verification: 3 of 5 unit tests fail without the fix, pass with it - [x] Existing regression tests (HiddenAndFrozenIT,LoadFileWithFrozenPaneScrolledIT,MergedCellFrozenIT) all pass 🤖 Generated with Claude Code
-
Changes in vaadin-tabs-flow
-
New Features:
-
Fixes:
Changes in vaadin-text-field-flow
-
New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
-
Fixes:
Changes in vaadin-time-picker-flow
- New Features:
-
⧉ Return SignalBinding from all bind methods. PR:8860
Change all component-level bind methods from void to returning SignalBinding, enabling fluent .onChange() callbacks. This includes bind methods that delegate to super, to SignalPropertySupport.bind(), to Element.bindProperty/bindAttribute, and methods that throw UnsupportedOperationException.
-
Changes in vaadin-upload-flow
-
New Features:
-
Fixes:
Changes in vaadin-virtual-list-flow
Compatibility
- This release use Web Components listed in Vaadin Platform 25.2.0-alpha2
- Tested with Vaadin Flow version 25.2.0-alpha1