Skip to content

Components API module and Converter improvements

Pre-release
Pre-release
Compare
Choose a tag to compare
@gilberto-torrezan gilberto-torrezan released this 20 Jul 10:56

New features

  • Created a new module - flow-components, that contains the component API for the Vaadin webcomponents. Those components are built on top of the generated API, and provide all the features and documentation that are not possible to auto generate. The first released component is VaadinButton.
  • ModelConverters can now work with list of beans.
  • ModelConverters now have a default implementation for the getApplicationType and getModelType methods, so the developer doesn't need to provide those in most cases.

Fixes

  • QueryParameters now work with parameters without values (like in http://somedomain?parameter).
  • Fixed an error with NPM builds that prevented clean projects to run.
  • Fixed a problem that prevented two-way binding to work for beans that were set from the server-side.
  • Update the used versions of NPM, Yarn and Node across the modules.

Breaking changes

  • With the addition of the flow-components module, the components from the flow-generated-components were all renamed to have a Generated prefix. So, for example, the generated VaadinButton is now called GeneratedVaadinButton, and the final implementation is called just VaadinButton. Also, the base package of the generated components were changed to com.vaadin.generated.

Demos

Tutorials

All changes

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