Changes since 24.1.0.alpha5
New features
-
Automatically use jar resource listener in a multimodule Maven project
Commit · Pull request -
Add parameter to force prod build
Commit · Pull requestAdd a parameter that forces a production bundle build even when an applicable bundle exists.
-
Allow listening to additional jar-resources folders
Commit · Pull requestThis enables listening to
src/main/resources/META-INF
in another module in a multi module project so that live reload works for frontend resources Usage:vaadin.frontend.hotdeploy.dependencies=../relative-path-to-module-with-frontend-resources, ../possibly-another-module
inapplication.properties
or as a system property -
Added single and double click event listeners registration methods
Commit · Pull request · IssueThis change adds
addSingleClickListener
andaddDoubleClickListener
methods to theClickNotifier
interface to simplify the creation of specific listeners for click and double click events.
Fixes
-
Postpone serverSyncId computation after changes are applied
Commit · Pull request · IssueWhile UIDLWriter is encoding changes, it may happen that a push operation is invoked, thus incrementing the serverSyncId counter. If this happens, the client may receive the messages in the wrong order and and subsequently there may be a gap in the counter, so that a message will never be created for an expected id, and the client will force a resynchronization. This change reads the serverSyncId for the current request after all changes are applied, so the client will receive messages in the expected order.
-
Restore JRebel support
Commit · Pull requestJRebel detects
BrowserLiveReloadAccess
and uses it to trigger the browser reload