Skip to content

Releases: vaadin/flow

Alpha 2: Grid and more Router features

27 Sep 18:37
Compare
Choose a tag to compare
Pre-release

New Features

  • Added more Router features:
    • @OptionalParameter #2293
    • Update RouterLink to work with new Routing #2440
    • Automatically register a Vaadin servlet for the new router #2439
  • Grid
    • Single selection #2180
    • Implement data lazy loading support for Grid #2423
  • VaadinIcons #2341

Bug fixes

  • Client-side assertion exception #2305
  • Fixed Text-field validation errors #2519

Breaking Changes

  • Replace the custom JSoup implementation for the standard one. #1519
  • Removed selected-item-changed and change events on VaadinComboBox. Now the setValue and addValueChangeListener is used for all cases #2092
  • ComboBox now uses ItemLabelGenerator to define the labels for items. The setItemXXXPath methods were removed. #2177
  • Old router was deprecated and is up for removal in the near future #2494

All Changes

https://github.com/vaadin/flow/milestone/51?closed=1

First alpha release: More Router features, easier frontend configuration and package renames

21 Sep 11:41
Compare
Choose a tag to compare

New Features

  • Added more Router features:
    • AfterNavigationEvent #2347
    • Router:getUrl methods #2295
    • HasUrlParameter interface #2291
    • @RouterPrefix #2290
    • @ParentLayout #2289
  • 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 #2364
    • setSizeFull and setSizeUndefined on HasSize interface #2387
    • Changes to how the component alignments, expansion and justification are configured at VerticalLayout and HorizontalLayout #2388 #2389 #2366

Bug fixes

  • DependecyFilter now is evaluated when PolymerTemplates 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 at com.vaadin.ui.textfield #2450
  • The default frontend path has been changed from src/main/frontend to src/main/webapp/frontend. Tutorials and demos were updated to reflect the changes #2419
  • Due to the refactor of the VerticalLayout and HorizontalLayout code using the old layouting methods will break

All Changes

https://github.com/vaadin/flow/milestone/50?closed=1

Binder validation improvements and new routing mechanism

14 Sep 12:57
Compare
Choose a tag to compare

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

08 Sep 12:32
Compare
Choose a tag to compare
Server side bugfixes Pre-release
Pre-release

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

31 Aug 12:19
Compare
Choose a tag to compare
Pre-release

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 to setLabel

All Changes

New Component Properties, Bundling Fixes and Javadoc Improvements

25 Aug 13:53
Compare
Choose a tag to compare

New Features

Fixes

  • Now CheckBox::setValue(null) sets the value to null
  • Fixed sub-templates not working with bundling

Improvements

  • Improved Javadocs of generated components
  • Updated vaadin-checkbox and vaadin-datepicker versions
  • Improved handling of boolean environment variables
    • You can enable production mode with -Dvaadin.productionMode without explicitly setting the value to true

All Changes

New Layouts: VerticalLayout and HorizontalLayout

17 Aug 12:45
Compare
Choose a tag to compare

New Features

  • Added VerticalLayout
  • Added HorizontalLayout

Demos

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

10 Aug 10:38
Compare
Choose a tag to compare
Pre-release

New Features

Build Changes

  • Snapshots are published as 0.1-SNAPSHOT instead of the previous convention of 0.1.x-SNAPSHOT.

Breaking Changes

  • Component classes don't have Vaadin prefix anymore

New Components: CheckBox, ComboBox and SplitLayout

03 Aug 10:13
Compare
Choose a tag to compare

New Features

  • VaadinCheckBox
  • VaadinComboBox
  • VaadinSplitLayout (new demo might not be yet deployed)
  • Component events now return the actual component type (e.g. VaadinComboBox) for getSource() instead of generated component (GeneratedVaadinComboBox)
  • Generated Components slot methods now have Fluent API

Demos & New Tutorials

Breaking Changes

  • ModelConverter method has been renamed
    • Now P toPresentation(M modelValue) instead of toApplication(M modelValue)

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

27 Jul 11:17
Compare
Choose a tag to compare
Pre-release

New features

  • Two more Vaadin Components are added to Flow: vaadin-text-field and vaadin-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

All changes

https://github.com/vaadin/flow/milestone/42?closed=1