Skip to content

Alpha 21: Renderer API updates

Pre-release
Pre-release
Compare
Choose a tag to compare
@SomeoneToIgnore SomeoneToIgnore released this 15 Feb 12:01
fece411

Breaking Changes

  • #3003 Renderer API refactor:

    • Now all the renderers (Template, Basic and ComponentRenderers) are part of the flow-data package (moved from flow-server). Existing code needs to update the imported package for the renderers to com.vaadin.flow.data.renderer.*.

    • ComponentTemplateRenderer was renamed to ComponentRenderer. The usage remains the same.

    • The API to set renderers to all components was standardized - setRenderer is now the name of the method to be used in all components (see individual component releases for more details).

Enhancements

  • #3505 Allow property being undefined from the server side except interim subrops

Bug Fixes

  • #3519 Router.getUrl() now behaves more consistently and fails if lacks parameters

  • #3439 Component error messages are treated a bit differently now: hidden instead of being removed

  • #3545 flow-maven-plugin treats non-jar files in classpath normally and omits them

  • #3540 flow-maven-plugin is able to remove directories outside the project output directory

  • #3185 if Router fails to parse a route param, the 404 error is returned now