Releases: vaadin/flow
Releases · vaadin/flow
Alpha 2: Grid and more Router features
New Features
- Added more Router features:
- Grid
- VaadinIcons #2341
Bug fixes
Breaking Changes
- Replace the custom JSoup implementation for the standard one. #1519
- Removed selected-item-changed and change events on VaadinComboBox. Now the
setValue
andaddValueChangeListener
is used for all cases #2092 - ComboBox now uses
ItemLabelGenerator
to define the labels for items. ThesetItemXXXPath
methods were removed. #2177 - Old router was deprecated and is up for removal in the near future #2494
All Changes
First alpha release: More Router features, easier frontend configuration and package renames
First alpha release: More Router features, easier frontend configuration and package renames
Pre-release
Pre-release
New Features
- Added more Router features:
- The frontend plugin configuration (which deals with polymer, npm and bower) has been simplified #2419
- Enhancements to Flow Components based on user feedback
FormLayout:addFormItem
#2361- FormLayout can now be used inside a composite #2301
Checkbox
boolean constructor #2364setSizeFull
andsetSizeUndefined
onHasSize
interface #2387- Changes to how the component alignments, expansion and justification are configured at
VerticalLayout
andHorizontalLayout
#2388 #2389 #2366
Bug fixes
DependecyFilter
now is evaluated whenPolymerTemplate
s are parsed #2434- Server-side
TextField
is properly updated when the last char of the input is deleted #2276 - Removed assertion error when nagivating quickly between views #2385
Breaking Changes
- For the first alpha release the package names of several classes were revisited, to make a solid and stable foundation for the next releases to come. See #2435 for details
- Each Flow component now has its own package. For instance,
TextField
is now atcom.vaadin.ui.textfield
#2450
- Each Flow component now has its own package. For instance,
- The default frontend path has been changed from
src/main/frontend
tosrc/main/webapp/frontend
. Tutorials and demos were updated to reflect the changes #2419 - Due to the refactor of the
VerticalLayout
andHorizontalLayout
code using the old layouting methods will break
All Changes
Binder validation improvements and new routing mechanism
New Features
- DependencyFilter was introduced to make it easier to manipulate the dependencies, more in the documentation.
- New Routing is partially implemented: documentation.
- Dialog component initial implementation is added: live demo.
- Binder automatically updates validation status for each component that implements
HasValidation
mixin
Breaking Changes
- Fluent api was removed from the components (it will be available later, when the proper API design will be created)
- The Flow documentation got restructured and some urls were updated
All Changes
Server side bugfixes
Bugfixes
- #2314
@Id
-mapped components get mixed when returning to the view. - #2163
Element.callFunction()
fix - #2035 Client model gets out of sync with the server if a property is modified inside its change observer
- #2245
@Id
doesn't work with template in template - #2162 Turning on SuperDevMode breaks the app
- #2064 Custom element lifecycle callbacks should not get generated
All Changes
Binder and PasswordField
New Features
Binder
API for easier databinding with forms- New component: PasswordField
- New method:
UI::beforeClientResponse
, to register actions to be executed right before the response is sent to the client
Breaking Changes
CheckBox::setLabelText
-method is renamed tosetLabel
All Changes
New Component Properties, Bundling Fixes and Javadoc Improvements
New Features
- Added
readonly
property for Components with value (implementingHasValue
) - Added
requiredIndicatorVisible
property to Components with value (implementingHasValue
) - Sizing API available for all Vaadin Components (via
HasSize
)
Fixes
- Now
CheckBox::setValue(null)
sets the value tonull
- Fixed sub-templates not working with bundling
Improvements
- Improved Javadocs of generated components
- Updated
vaadin-checkbox
andvaadin-datepicker
versions - Improved handling of boolean environment variables
- You can enable production mode with
-Dvaadin.productionMode
without explicitly setting the value totrue
- You can enable production mode with
All Changes
New Layouts: VerticalLayout and HorizontalLayout
New Features
- Added VerticalLayout
- Added HorizontalLayout
Demos
- New demo for VerticalLayout
- New demo for HorizontalLayout
- Demo source code is now displayed alongside the demo
- The demo menu has been restructured
Breaking Changes
- Using
@Id
annotation for elements inside nested templates is now explicitly prohibited
Fixes and Improvements
- Dom events with
null
data no longer throw an exception - Using
@Convert
on template model getters is now supported - Bootstrapping performance has been improved
- The exception message for when multiple components use the same
@Tag
and are not in the same class hierarchy has been improved - The exception message for when a template model receives an unexpected value from the client has been improved
All Changes
New component: Vaadin Date picker
New Features
Build Changes
- Snapshots are published as
0.1-SNAPSHOT
instead of the previous convention of0.1.x-SNAPSHOT
.
Breaking Changes
- Component classes don't have Vaadin prefix anymore
New Components: CheckBox, ComboBox and SplitLayout
New Features
- VaadinCheckBox
- VaadinComboBox
- VaadinSplitLayout (new demo might not be yet deployed)
- Component events now return the actual component type (e.g.
VaadinComboBox
) forgetSource()
instead of generated component (GeneratedVaadinComboBox
) - Generated Components slot methods now have Fluent API
Demos & New Tutorials
- Flow Components demo is published now
- Tutorial on starting to use Flow Components
Breaking Changes
- ModelConverter method has been renamed
- Now
P toPresentation(M modelValue)
instead oftoApplication(M modelValue)
- Now
Fixes
- Navigating back doesn't crash the app anymore in certain cases #2089
- On production mode, client side logging is now disabled
- Template parsing ignores comments
More Vaadin Components added to Flow
New features
- Two more Vaadin Components are added to Flow:
vaadin-text-field
andvaadin-form-layout
Fixes
- General component generator improvements, leading to better component APIs
- Template in template functionality works correctly now for big number of components, extending the base component