Changes since 24.7.1
Fixes
-
Prevent resending message when request is in progress (#21216)
Commit · Pull request · IssueWhen a request takes longer to respond than the configured
maxMessageSuspendTimeout
, the Flow client still attempts to resend the last message to the server, causing inconsistencies with the connection state indicator in subsequent requests. This change prevents messages from being resent while a request is in progress. It also updates the reconnection mechanism to properly attempt an HTTP request, instead of merely re-adding the unsent message to the client queue. -
Add native hint for feature flags file (#21224)
Commit · Pull request · Issue -
Prevent hot-reload failure caused by prepare-frontend task (#21174)
Commit · Pull request · Issues 20831, 19748If the prepare-frontend task is invoked while the Vaadin application is running, it may happen that some generated files are mistakenly removed, causing the frontend compilation to fail and sometimes an infinite reload loop. This happens, for example, in Hilla projects based on Gradle and IntelliJ IDEA: when the IDE compiles a class, it runs Gradle, and the vaadinPrepareFrontend task is executed. Some generated files are then deleted for two reasons: Hilla is not detected because the check is done during the Gradle configuration phase, and it uses the plugin class loader, which does not have references to the project dependencies. The TaskRemoveOldFrontendGeneratedFiles is executed, but it fails to compare non-normalized paths. This change fixes the two issues by detecting Hilla from the project dependencies and normalizing paths before comparison. (cherry picked from commit 5fe0e3b)