Production mode and bugfixes
Pre-release
Pre-release
New features
- When not in production mode,
frontend://URLs will be resolved based on the assumed location of the original file instead of resolving to a URL in/es6/or/es5/. Thanks to this, changes to the application's own template files are used immediately without any separate build steps. - New
flow-server-production-modedependency that automatically sets the app to run in production mode if present on the classpath.
Fixes
- All traces of Polymer 1 have been removed.
- Model objects exposed to JavaScript are created with the standard
Objectprototype so that e.g.toStringis available. - Model objects exposed to JavaScript will no longer have enumerable properties for Flow metadata.
- Removed excessive logging about excessive imports.
- Fixed an IE11 compatibility issue
- The
UI.getElement()now works as any other element.
Breaking changes
com.vaadin.flow.dom.EventRegistrationHandlehas been renamed tocom.vaadin.shared.Registrationfor consistency with Vaadin Framework 8.Node.attachExistingElementhas been removed.- Prerendering has been removed
Demos
- All demos updated to not need rebuilding to pick up changes to HTML template files
Tutorials
- Updated Maven setup tutorial to reflect recent changes