Skip to content

Primitives in model lists and Polymer 2.0.0

Pre-release
Pre-release

Choose a tag to compare

@Legioth Legioth released this 18 May 11:24

New features

  • Model lists can now use "primitive" types in addition to beans. In particular, List<String> is now fully supported as the type of model properties.
  • Polymer 2.0.0 is used in all demos and examples.

Fixes

  • No longer setting the async attribute property for HTML imports because of browser compatibility issues
  • List.clear() can be used for model list proxies even if the item type doesn't have a default constructor.
  • The mechanism for resolving @Id elements has been improved to work consistently in all browsers.

Breaking changes

  • @Id does no longer work with elements where the id attribute has been set dynamically: the id value must be present in the HTML template file.

Demos

All changes

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