Skip to content

Vaadin Flow 24.7.0.alpha2

Pre-release
Pre-release
Compare
Choose a tag to compare
@vaadin-bot vaadin-bot released this 18 Dec 11:02
· 16 commits to main since this release
fb02577

Changes since 24.7.0.alpha1

All changes

Breaking changes

  • Change supported Node from 18 to 20
    Commit · Pull request

    Node 20 is the active LTS version for Node. Node 18 will be end of life soon and new libraries like React 19 support Node 20+

Fixes

  • Re-build production bundle if index.html changes
    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.

  • Disable workbox developer logs by default
    Commit · Pull request · Issue

  • Handle logout from a background thread
    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
    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
    Commit · Pull request

  • Ensure requestEnd clears Vaadin thread locals
    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.

  • Browser parsing
    Commit · Pull request

    Added new opera userAgent string. Better logging for failures. Better matching for version string. Fixed android mistaken check. Part of #20610 Add isIPad Add testing userAgent strings from json file.

  • Fix redirect URL for PUSH with websocket transport
    Commit · Pull request · Issue

    When PUSH is enabled with websocket transport, the redirect URL to be used after a successfull login is not correctly computed because it is based on the PUSH servlet mapping. This change detects the situation and computes the correct URL.

  • Appended path on fast navigate
    Commit · Pull request · Issue

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

  • Complete client websocket future on open
    Commit · Pull request · Issue

    Completing the websocket future in onOpen event prevents the connection to hang indefintely when application run on low resources.