Releases: vaadin/flow
Alpha23: Easier Configuration of Push and Migration Guide
Bug Fixes
- #3577 Theme resolving doesn't work in dev mode when having a servlet path.
- #3612 Asynchronous work on generated property change listeners
Enhancements
Breaking Changes
- #3610
UI::navigateTo
method has been renamed toUI::navigate
- #3617 Add context object to
beforeClientResponse
calls - #3621 Making
ContinueNavigationAction
class to be an inner class
Documentation Updates
- About
Server Push
- Migration Guide from Vaadin 8 to Vaadin 10
All Changes
Alpha 22: Bugfixes
Bug Fixes
- #3587 Bakery storefront view can't be shown in production mode
- #3574 Theme defined in RouterLayout doesn't work in production mode
- #3573 PolymerTemplate parsing is not thread safe in production mode
- #3562 vaadin-flow-bundle-manifest.json is not found when its context path has double slash
- #3513 Element methods do not work in some cases inside vaadin-dialog
Enhancements
Alpha 21: Renderer API updates
Breaking Changes
-
#3003 Renderer API refactor:
-
Now all the renderers (Template, Basic and ComponentRenderers) are part of the
flow-data
package (moved fromflow-server
). Existing code needs to update the imported package for the renderers tocom.vaadin.flow.data.renderer.*
. -
ComponentTemplateRenderer
was renamed toComponentRenderer
. 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
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 onlyprotected
methods. 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
@AllowClientUpdates
now 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-plugin
production 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:
hidden
attribute 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.vaadin
andvaadin.flow
(#3119) - Enable the validation among
flow
,flow-maven-plugin
andvaadin-<component>-flow
(#3172)
All Changes
Alpha16: Maintenance Release
New Features
StreamResource
shorthands added toAnchor
andImage
(#3250). Contributed by @heruan.- Added a dedicated wrapping mode enum for usage with initial page settings (#3249).
- Added shorthands
addLink
andaddFavIcon
toInitialPageSettings
(#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::setVisible
introduced in1.0.0.alpha15
- Added additional documentation for error handling during navigation
⚠️ Breaking changes
BeforeNavigationEvent
has been replaced withBeforeEnterEvent
andBeforeLeaveEvent
(#3260).
All Changes
Alpha15: Component visibility API, package renamings
New Features
Component
visibility can now be toggled through thesetVisible
method.- Registered routes can now be inspected through the methods
Router::getRoutes
andRouter::getRoutesByParent
Bug Fixes
- Fixed
HasErrorParameter
to work correctly with@ParentLayout
Documentation
- New tutorial for
Router::getRoutes
andRouter::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.