Vaadin Flow 2.5.2
Changes in Flow from 2.5.1
-
Fixes:
-
⧉ Force pnpm version <= 5. PR:10576. Ticket:10571
pnpm >= 6.0.0 requires at least Node.js v12.17. This requirement may not be satisfied as framework current accepts Node.js 10. pnpm 6.0 can be used with newer Node.js versions if the versions check is disabled with vaadin.ignoreVersionChecks=true. But in pnpm 6 the pnpmfile.js is renamed to .pnpmfile.js and thus the Flow generated pnpmfile.js will not be used by pnpm - meaning that versions are not locked.
-
⧉ Consider first added route as main route and always return it first (#10556). PR:10568. Ticket:10528
-
⧉ Provide info on file name when Json parsing fails (#10423). PR:10548. Ticket:10323
Adds the package file name to exception message in case of JsonException in order to provide clean explanation where to look into. (cherry picked from commit 1ea4cef)
-
⧉ Don't use ErrorHandler for IOExceptions in StreamReceiverHandler. PR:10553. Ticket:10351
-
⧉ Use getContentLengthLong instead getContentLength (#10506). PR:10540. 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
-
⧉ Make shortcuts not break writing on inputs. Ticket:10362
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.
-