Changes since 24.1.0.alpha2
Breaking changes
-
Move generated Flow files into frontend/generated/flow
Commit · Pull requestRemoves the need for importing from the target folder and simplifies when all generated frontend files are in the same folder
New features
-
Enable skipping dev bundle rebuild
Commit · Pull requestMake it possible to skip checks for devBundle rebuild. Closes #16037
-
HMR for changing styles injected into shadow roots
Commit · Pull request -
HMR for theme styles.css in bundle mode
Commit · Pull requestRewrites and inlines CSS imports so that changes to imported CSS files are also taken into account
-
Make AtPush inherited
Commit · Pull request · IssueAllows you to use a super class for configuration
Fixes
-
Prevent deadlock on concurrent push disconnection
Commit · Pull request · IssueIf the AtmospherePushConnection.disconnect method is invoked concurrently by multiple threads, a deadlock may happen if the servlet container somehow locks HTTP session, as closing AtmosphereResource may cause accesses to the HTTP session. For example, is a thread (A) is invalidating the HTTP session, thus closing Vaadin UIs and disconnecting push, and another thread (B) is also requesting a push disconnect, then B will be blocked when closing the atmosphere resource by the lock on the session held by A, but A is actually waiting to acquire the lock on AtmospherePushConnection held by B, causing the deadlock. This change allows a single thread to perform the disconnect operation, to avoid potential deadlocks.
-
Improve production build time by not visiting unnecessary classes
Commit · Pull request -
Prevent dev tools interactions from closing application overlays
Commit · Pull request -
Offer auto complete for vaadin.frontend.hotdeploy for Spring Boot
Commit · Pull requestUnifies autocomplete for frontend and pnpm
-
Handle hierarchy of parent themes in frontend folder
Commit · Pull request -
Import global typography and color styles
Commit · Pull requestThis seems to have gotten lost in some merge
-
Initialize the route only once when using eager server load
Commit · Pull request · IssueChanges bootstrap for eager mode so that the index page contains the <flow-container-[appId]> div and the virtual child for this element is created eagerly on the server. This allows the initial render on the client side to put the content inside the flow-container instead of document body as happened before. By using a convention on how the container div is created and id is set, we no longer need to communicate the element tag and id from the client.
-
Fix importCss being imported twice
Commit · Pull request · Issue -
Use default XOR CSRF token mechanism in Spring
Commit · Pull request · IssueThe stateless configuration is copied from https://docs.spring.io/spring-security/reference/5.8/migration/servlet/exploits.html#_i_am_using_angularjs_or_another_javascript_framework
-
Do not downgrade es-version
Commit · Pull request · Issue -
Do not require extensive setup for AtSpringBootTest
Commit · Pull request · Issue -
Remove /VAADIN/dev-bundle/ from bundle url
Commit · Pull request · Issue -
Make material styles work in hotdeploy dev mode
Commit · Pull request · Issue -
Claim a path is not an anonymous route when it is unclear
Commit · Pull request · Issue