Skip to content

Releases: vaadin/flow

Vaadin Flow 24.7.0.alpha8

27 Jan 10:29
7350de9
Compare
Choose a tag to compare
Pre-release

Changes since 24.7.0.alpha7

All changes

New features

Fixes

  • Build service worker without writing it to FS
    Commit · Pull request

  • Support bun 1.2 lock file
    Commit · Pull request

  • Trigger refresh from client on hotswap with PUSH
    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.

  • Set viewport-fit=cover to enable CSS env() variables in PWAs
    Commit · Pull request · Issue

    Using env() variables in PWAs requires viewport-fit=cover to be set in the . Without this setting, some parts of such components as app-layout get cut off on iOS devices. Adding viewport-fit follows MDN's documentation about env() variables and helps fix such issues .

Code refactoring

Vaadin Flow 24.6.3

28 Jan 07:03
b0f1422
Compare
Choose a tag to compare

Changes since 24.6.2

All changes

Fixes

  • 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.

  • Set viewport-fit=cover to enable CSS env() variables in PWAs (#20836)
    Commit · Pull request · Issue

    Using env() variables in PWAs requires viewport-fit=cover to be set in the . Without this setting, some parts of such components as app-layout get cut off on iOS devices. Adding viewport-fit follows MDN's documentation about env() variables and helps fix such issues .

  • Navigate with full url (#20846)
    Commit · Pull request · Issue

    for instance when adding a query parameter at the end.

  • 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.

  • Store the exception and not an array with the exception for uncaught promise exceptions (#20840)
    Commit · Pull request

Code refactoring

Vaadin Flow 24.7.0.alpha7

20 Jan 08:25
61f75cb
Compare
Choose a tag to compare
Pre-release

Changes since 24.7.0.alpha6

All changes

New features

Fixes

Vaadin Flow 24.7.0.alpha6

16 Jan 14:13
eff913f
Compare
Choose a tag to compare
Pre-release

Changes since 24.7.0.alpha5

All changes

New features

  • Queue message payloads
    Commit · Pull request · Issue

    Add sent payloads to message queue and resend if no response to message inside MaxMessageSuspendTimeout format server clear queue for push messaging.

  • Add interfaces for CRUD services
    Commit · Pull request · Issue

    Similar interfaces were previously in Hilla but are equally useful in Flow applications

Fixes

  • Fix setReadonly when using binder with records
    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.

  • Make route config errors more prominent
    Commit · Pull request · Issue

    When route configuration errors happen, make sure to output the actual error message as the first output at ERROR level. When this is detected at startup, we can't prevent printing out the stack trace too since the container does that when initialization throws. Also checked all the messages for different route misconfiguration cases, and they seem to be fine.

  • Store the exception and not an array with the exception for uncaught promise exceptions
    Commit · Pull request

Vaadin Flow 24.7.0.alpha5

13 Jan 13:32
4688eb1
Compare
Choose a tag to compare
Pre-release

Changes since 24.7.0.alpha4

All changes

New features

  • Add support for OAuth2 logout configuration
    Commit · Pull request · Issue

    Improves setOAuth2LoginPage method in order to configure an OIDC logout succes shandler capable of handling redirection for UIDL requests. Post logout URL is by default the application root, but a method overload allows to specify a custom URL.

Fixes

  • Validate downloaded node
    Commit · Pull request · Issue

    Validate downloaded node against the provided sha256 hash.

  • Remove broken node archive
    Commit · Pull request

    If archive extraction throws remove arcive to next time re-download. In cases where the archive can be corrupt remove file.

Vaadin Flow 24.7.0.alpha4

09 Jan 11:18
2a4dda7
Compare
Choose a tag to compare
Pre-release

Changes since 24.7.0.alpha3

All changes

New features

Fixes

Vaadin Flow 24.6.2

14 Jan 11:57
18c0b8d
Compare
Choose a tag to compare

No changes since 24.6.1

Vaadin Flow 24.5.11

14 Jan 11:57
045b456
Compare
Choose a tag to compare

Changes since 24.5.10

All changes

Fixes

Vaadin Flow 24.4.16

14 Jan 11:57
22a09eb
Compare
Choose a tag to compare

No changes since 24.4.15

Vaadin Flow 24.6.1

07 Jan 13:02
ac27405
Compare
Choose a tag to compare

Changes since 24.6.0

All changes

Fixes

  • Parse bot user agents (#20785)
    Commit · Pull request · Issue

    Add parsing for byte spider and duck duck bot user agents.

  • Close opened input stream. (#20772)
    Commit · Pull request · Issue

    ImageIO.read does not close the input stream. Close it after use.

  • 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.