Skip to content

Vaadin Flow 24.5.12

Compare
Choose a tag to compare
@vaadin-bot vaadin-bot released this 29 Jan 13:43
8084ebf

Changes since 24.5.11

All changes

Fixes

  • Fix UI refresh event name (#20921)
    Commit · Pull request · Issue

    The 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 · Issue

    When 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 · Issue

    When 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