Vaadin Flow 24.6.3
Changes since 24.6.2
Fixes
-
Build service worker without writing it to FS (#20909)
Commit · Pull request -
Support bun 1.2 lock file (#20900)
Commit · Pull request -
Trigger refresh from client on hotswap with PUSH (#20848)
Commit · Pull request · IssueWhen PUSH is enabled, Flow Hotswapper uses it to refresh only the affected UIs. However, this can cause issues if Flow views contain code that relies on VaadinRequest thread local, since hotswap refresh start in a background thread. This change defines a client side event listener to trigger the refresh, and uses PUSH only to fires the event.
-
Set viewport-fit=cover to enable CSS env() variables in PWAs (#20836)
Commit · Pull request · IssueUsing env() variables in PWAs requires viewport-fit=cover to be set in the . Without this setting, some parts of such components as app-layout get cut off on iOS devices. Adding viewport-fit follows MDN's documentation about env() variables and helps fix such issues .
-
Navigate with full url (#20846)
Commit · Pull request · Issuefor instance when adding a query parameter at the end.
-
Fix setReadonly when using binder with records (#20855)
Commit · Pull request · IssueWhen Binder is used with record, calling setReadonly method does not have any effect because the logic only considers bindings with a proper setter. This change fixes the setReadonly logic to take care of all bindings when Binder is using a record.
-
Store the exception and not an array with the exception for uncaught promise exceptions (#20840)
Commit · Pull request
Code refactoring
- Use Vite official API for building sw.js (#20894)
Commit · Pull request