github vaadin/flow 24.5.10
Vaadin Flow 24.5.10

latest release: 24.4.15
10 hours ago

Changes since 24.5.9

All changes

Fixes

  • Trigger refresh on hotswap only for redefined classes (#20684)
    Commit · Pull request · Issues 20680, 20681

    Prevent hotswapper to trigger a refresh when the classes are loaded for the first time. Refreshing a view should make sense only if a project class has been modified. The only exception is auto layout classes, that must be applied even if they are not directly references in the component tree.

  • Re-build production bundle if index.html changes (#20729)
    Commit · Pull request · Issue

    Stores index.html hash in stats.json and forces production bundle to be re-built if file contents have changed. Changes to index.html do not trigger a dev bundle re-generation since in dev mode the file is served directly from the frontend folder.

  • Handle logout from a background thread (#20688)
    Commit · Pull request

    Allows AuthenticationContext.logout feature to be used from a background thread, handling the missing request by forcing the client to make an additional request. Applies the same logic used to support logout when using PUSH with websocket transport. References #11026

  • Fix role checking when using websocket push (#20679)
    Commit · Pull request

    When using PUSH with websocket transport, the atmosphere wrapped request can be a no-op implementation whose isUserInRole method alwasy returns false, causing, for example, wrong access checking during navigation. This change falls back to Spring Securty for role checking when PUSH transport is websocket. It also fixes some tests in order to propagate the Spring Security context when starting Thread that perform UI operations. References psi#123 Part of #11026

  • Catch exceptions from detach calls (#20656)
    Commit · Pull request

  • Ensure requestEnd clears Vaadin thread locals (#20687)
    Commit · Pull request

    Makes sure that Vaadin thread locals are cleared even if something fails durung requestEnd execution. It also wraps Vaadin interceptors execution in a try/catch block to ensure all of them are invoked and that potential failures does not affect the continuation of requestEnd method.

  • Fix redirect URL for PUSH with websocket transport (#20666)
    Commit · Pull request · Issue

  • Appended path on fast navigate (#20673)
    Commit · Pull request · Issue

    When navigating in quick succession check that path starts with / as else react wll append to current url.

  • Wrap UI closing to catch exceptions (#20645)
    Commit · Pull request · Issue

    When session destroy is triggered, wraps each UI close/detach to catch exceptions, making sure session destroy listeners are called.

  • Add React Router future flags for flow auto-generated routes file (#20641)
    Commit · Pull request

  • Service destroy listener exceptions (#20622)
    Commit · Pull request

    Related to #20577

Don't miss a new flow release

NewReleases is sending notifications on new releases.