github vaadin/flow 23.4.0.alpha1
Vaadin Flow 23.4.0.alpha1

latest releases: 24.6.0.alpha4, 24.5.4, 24.6.0.alpha3...
pre-release11 months ago

Changes since 23.3.24

All changes

Breaking changes

  • Use feature detection to show the unsupported browser page (#15813) (CP: 23.3)
    Commit · Pull request · Issue

    Changed to detect ResizeObserver This removes the WebBrowser. isTooOldToFunctionProperly() method as it is no longer possible to determine this information based on the user agent.

New features

  • Reset focus on active element in ShortcutRegistration
    Commit · Pull request · Issues 5959, 18048

    Adds setResetFocusOnActiveElement, resetFocusOnActiveElement and isResetFocusOnActiveElement to ShortcutRegistration class to optionally reset focus on active element (focused element in browser). Resetting means calling blur() and focus() on the active element to ensure that input fields with ValueChangeMode ON_CHANGE will fire value change event before shortcut handler is run. Updates ClickNotifier#addClickShortcut(Key,KeyModifier...) to reset focus on active element by default for click shortcuts.

  • More eager cleanup for UIs using Beacon API (#16657)
    Commit · Pull request

    Notifies server about closed UIs using a beacon request on pagehide event. At the same time unifies behaviour in certain edge cases, where Safari maintained the state when brought back from page cache. Previously Safari in some situations kept the state. Tested manually with Safari, Chrome, Firefox and validated results using VisualVM. Closes #6293

  • Enable running npm ci mode (CP: 23.4)
    Commit · Pull request · Issue

    (cherry picked from commit 5607864)

Fixes

  • Postpone commands scheduled with runWhenAttached for detached nodes (#18172)
    Commit · Pull request · Issues 1434, 18020

    When detach listeners are called, the node still has a parent set, causing commands scheduled with runWhenAttached to be executed immediately. This change make runWhenAttached postpone the command by registering an attach listener, if called durint node detach.

  • Postpone commands scheduled with runWhenAttached for detached nodes (#18078)
    Commit · Pull request · Issues 1434, 18020

    When detach listeners are called, the node still has a parent set, causing commands scheduled with runWhenAttached to be executed immediately. This change make runWhenAttached postpone the command by registering an attach listener, if the node has been detached during the same roundtrip.

  • Update atmosphere to 2.7.3.slf4jvaadin6 (#18047)
    Commit · Pull request

  • Support accept property in StreamReceiverHandler (#18022)
    Commit · Pull request

    StreamReceiverHandler understands accept property of the target element to block unwanted mime types. accept property takes comma separated list of mime types like 'text/plain, text/html'. e.g. for '/' or 'text/*'. e.g. for '.pdf'.

Don't miss a new flow release

NewReleases is sending notifications on new releases.