Changes since 24.5.9
Fixes
-
Trigger refresh on hotswap only for redefined classes (#20684)
Commit · Pull request · Issues 20680, 20681Prevent 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 · IssueStores 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.
-
Handle logout from a background thread (#20688)
Commit · Pull requestAllows 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 (#20679)
Commit · Pull requestWhen 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 (#20656)
Commit · Pull request -
Ensure requestEnd clears Vaadin thread locals (#20687)
Commit · Pull requestMakes 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.
-
Fix redirect URL for PUSH with websocket transport (#20666)
Commit · Pull request · Issue -
Appended path on fast navigate (#20673)
Commit · Pull request · IssueWhen navigating in quick succession check that path starts with / as else react wll append to current url.
-
Wrap UI closing to catch exceptions (#20645)
Commit · Pull request · IssueWhen session destroy is triggered, wraps each UI close/detach to catch exceptions, making sure session destroy listeners are called.
-
Add React Router future flags for flow auto-generated routes file (#20641)
Commit · Pull request -
Service destroy listener exceptions (#20622)
Commit · Pull requestRelated to #20577