Changes since 24.5.11
Fixes
-
Fix UI refresh event name (#20921)
Commit · Pull request · IssueThe name used to register the event listener for hotswap refresh and the name used to fire the event are different. This change fixes the name in the listener.
-
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.
-
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.
Code refactoring
- Use Vite official API for building sw.js (#20894)
Commit · Pull request