Releases: vaadin/flow
Alpha 21: Renderer API updates
Breaking Changes
-
#3003 Renderer API refactor:
-
Now all the renderers (Template, Basic and ComponentRenderers) are part of the
flow-datapackage (moved fromflow-server). Existing code needs to update the imported package for the renderers tocom.vaadin.flow.data.renderer.*. -
ComponentTemplateRendererwas renamed toComponentRenderer. The usage remains the same. -
The API to set renderers to all components was standardized -
setRendereris 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
Alpha20: Component API overhaul in preparation for the beta
This release contains several improvements in preparation for the upcoming beta release.
Breaking Changes
- Related to #3423 :
GeneratedPaper*components are no longer provided by the platform. They were used in the past as a way of testing the code generator and to provide features yet not present on Vaadin Components.- All
GeneratedVaadin*components are now abstract and provide onlyprotectedmethods. The generated classes are not meant to be used directly - they are just a bridge between the client-side webcomponent and the server implementation. Specific relevant details are listed in each component repository. - Most components have had their public API changed or improved due to the changes in the Generated classes. Now only methods meant to be public are actually visible to the end developer.
Enhancements
- Bumped the version of all webjars used by Flow, to match the beta releases of the Vaadin elements #3516
@AllowClientUpdatesnow can be used without parameters, which impliesClientUpdateMode.ALLOW#3497
Bug Fixes
Alpha19: Flow with New Webjars, Enhancement and Internal Improvements
Breaking Changes
- Change reverse getters/setters to straight getters/setters for
flow components#2329 - Rename
flow-maven-pluginproduction goal #3360
Enhancements
- Enable helper-method for handling null-values, when setting CSS-properties for components #2429 (Thanks external contributor @heruan )
- Enable HTML/JS/CSS dependencies loading for Composite contents #2454
- Allow to adjust value change mode for components #3229
- Enable bootstrap annotations to be set on a abstract superclass. #3384
- Fix memory leak issue in StateTree::beforeClientResponse #3486
Internal Improvements
- Enable to specify I18N Provider via the Spring mechanism #2928
- Flow Maven Plugin
Documentation Updates
Bugs Fix
- Regression: Combobox setValue not working when combobox not displayed #2930
- Parent layout theme not inherited by HasErrorParameter #3333
- Regression:
hiddenattribute is set to false when server instantiates the component #3334 - Deploying an app on Tomcat 7.0.39 fails with "Skipping automatic servlet registration because there are no navigation targets annotated with @route" #3359
Alpha18: Theming Support and Bug Fixes
New Features
- Component Theme support with
@Theme(Lumo.class)annotation #3197
Enhancements
- Enable bundling by default for
flow-maven-plugin#3317 - Refactor the documentation structure based on feedback #1698
- Improve Spring documentation based on DX feedback #3179
Documentation Updates
Bugs Fix
- Binder can't update a field whose status is invalid #2460
- Subproperties in template models do not get updated on the server #3117
- Cannot bind elements by @id when template extend Polymer.mixinBehavior #3277
- Java.util.ConcurrentModificationException: null when testing with ~10 concurrent users #3293
- Client engine is not protected from several property change events when only one property is modified #3312
Internal Improvement
- Flow Maven plugin has been integrated to Flow repository
- Move production build tutorials from vaadin/flow-maven-plugin repo to flow/documentation #3289
- Make people notice the missing @theme #3338
All Changes
Alpha17: intermediate release
New Features
- Add basic html5 elements to flow (#3188) Contributed by @knoobie
- Theme Support:
- Create a AbstractTheme class for controlling theme (#3196)
- Support kebab-case css property names (#3234)
Bug Fixes
- Fixed Flow silently won't fill in final properties of a model item when being transmitted from client to server (#2636)
- StreamResource handling is broken in Spring applications (#3244)
- Fixed Critical performance problem in client side when injecting
Id(#3264).
Internal Improvement
- Unify the usage of
window.vaadinandvaadin.flow(#3119) - Enable the validation among
flow,flow-maven-pluginandvaadin-<component>-flow(#3172)
All Changes
Alpha16: Maintenance Release
New Features
StreamResourceshorthands added toAnchorandImage(#3250). Contributed by @heruan.- Added a dedicated wrapping mode enum for usage with initial page settings (#3249).
- Added shorthands
addLinkandaddFavIcontoInitialPageSettings(#3247).
Bug Fixes
- Stack traces for exceptions thrown during navigation are now correctly displayed in production mode (#3266).
- Fix detaching of state nodes (#3235).
Documentation
- New tutorial for basic component features, including
Component::setVisibleintroduced in1.0.0.alpha15 - Added additional documentation for error handling during navigation
⚠️ Breaking changes
BeforeNavigationEventhas been replaced withBeforeEnterEventandBeforeLeaveEvent(#3260).
All Changes
Alpha15: Component visibility API, package renamings
New Features
Componentvisibility can now be toggled through thesetVisiblemethod.- Registered routes can now be inspected through the methods
Router::getRoutesandRouter::getRoutesByParent
Bug Fixes
- Fixed
HasErrorParameterto work correctly with@ParentLayout
Documentation
- New tutorial for
Router::getRoutesandRouter::getRoutesByParent - Bean grid and column key documentation added to the grid tutorial
⚠️ Breaking changes
- Several packages have been renamed, relevant commits are listed below:
All Changes
Alpha14: intermediate release
This is an intermediate release.
Alpha13: Initial Page Settings
New Features
- Initial Page Settings:
- Allow custom exception handler for NotFoundException and Exception #3108
Internal Improvement
- Remove EventRouter #2777
- Create a mechanism that allows creating elements in the client-side memory from server-side without attaching them to the DOM #2826
- Refactor implementation for feature
Inject by Id (@Id)#3057 - Refactor implementation for feature
Template-in-template#3058
Bug Fixes
- Enable Grid component renderer to work in IE11 #2914
- Fix client-side exception when using callFunction from beforeClientResponse #2987
- Fix client-side function is executed twice when using callFunction from beforeClientResponse #2988
Breaking changes
- Update Spring add-on to use Boot 2.0.0.M7 #3006
- Reworked on Flow plugin dependencies mechanism #3096
Documentation
All Changes
Alpha12: Maintenance release
New Features
- Added API to create elements on the client-side without attaching them to the DOM #3070
Features ported from FW 8.2
- Improved Binder value change handling #3048
- Added API for running BindingValidationStatusHandlers #3035
- Added methods to remove Bindings from Binder #3026
Bug Fixes and Enhancements
- Default client side template model properties are not overridden #3023
- The lang attribute is now added by the bootstrap handler #3053
- Production mode information is now exposed to client-side JavaScript #3083
Breaking changes
- The release repository has been moved to https://maven.vaadin.com/vaadin-prereleases/ #3045
flow-componentsmodule has now been removed #3037
Documentation
- Updated tutorial after removal of the
flow-componentsmodule #3047