Vaadin Flow 2.6.0.beta1
This is a beta release targeted to Vaadin 14.6 beta.
Flow 2.6. introduces the new custom theme feature for Vaadin 14.6, see alpha1 release notes for details. Please note that there are several issues to be addressed for custom theme feature during the beta period.
Changes in Flow from 2.6.0.alpha1
-
New Features:
- ⧉ Allow creation of Text and Element from nullable text content (#10434). PR:10499. Ticket: 10355
- ⧉ Allow spaces in addClassNames arguments array. PR:10354. Ticket: 10353
- ⧉ Add API to Binder for converting back to presentation
It is possible to setBinder
to convert value back to representation and write back to field when changed and validation passes. This ensures correct formatting of the value when a converter is used. The default behavior is not changed for Vaadin 14.6, but starting from Vaadin 20 the value is written back by default. Some applications might have workarounds in place for this and can now remove them. (cherry picked from commit 43871ff)
-
Fixes:
-
⧉ Use getContentLengthLong instead getContentLength (#10506). PR:10539. Ticket:10392
Use Servlet 3.1 ServletRequest::getContentLengthLong to get the content size as a long value for the big files upload, because getContentLength may return -1 (file size is bigger than int capacity).
-
⧉ Allow spaces between html function call and back tick. PR:10523. Ticket:8881
-
⧉ Use warn instead of trace for WC exporters discovering. PR:10507. Ticket:9855
-
⧉ Do lazy initialization in a thread-safe way (#10456). PR:10461. Ticket:9323
Forward port vaadin/framework#12230 (cherry picked from commit 43fd06f)
Only passes the delegated event forward when it maps to the shortcut key. For the shortcut key, preventDefault() is the default behavior and default can be allowed with allowBrowserDefault() in the ShortcutRegistration.
-