Vaadin Flow 9.0.0.rc1
Changes in Flow from 9.0.0.beta4
-
New Features:
-
⧉ Add support for @eventdata of type Component. PR:12334
Makes it possible to use event data expressions that map to any Component / Element from server side state tree. For example it will be possible to use: -
@EventData("event.target") Component eventTarget
for@DomEvent
-@EventData("event.target") Element eventTarget
for@DomEvent
-DomEventRegistration::addEventDataElement(String expression)
to get any element mapped, - and fetch it with `DomEvent::getEventDataElement(String expression) Follow up for #11992, #3356
-
-
Fixes:
Wait for an element on the main page to load before commencing tests.-
⧉ Support Vite with npm 7. PR:12397
Pass --legacy-peer-deps when installing npm dependencies to allow vite and vite-plugin-checker to coexist. This is a temporary tweak until the vite dep is a stable version.
-
⧉ Restrict which files Vite publishes. PR:12390. Ticket:12362
-
⧉ Make Vite serve the index page only when using the exact URL of it. PR:12382. Ticket:12366
-
⧉ Update URL if Vite reload happens during navigation. PR:12375. Ticket:12179
-
⧉ Write generated index.ts to frontend/generated. PR:12373. Ticket:12367
-
⧉ Make webpack work with Node 17.1+. PR:12353. Tickets:12246, 12285
Disallows usage of Node 17.0.
-
⧉ Use correct URL for generated/vaadin.ts. PR:12352. Ticket:12351
-