Releases: vaadin/flow
Vaadin Flow 24.5.0.rc2
Changes since 24.5.0.rc1
Fixes
-
Add usage stats for dynamic menu entries (#20212)
Commit · Pull request · Issue -
Add usage stats for automatic menu (#20224)
Commit · Pull request · Issue -
Menu page header path check (#20228)
Commit · Pull requestcheck the actual full path for the view and not the view path. For client entries the AvailableViewInfo.path is only the "route" for the file and not the whole path from parents.
-
Resolve route parameters when rerouting and forwardin with query parameters (#20210)
Commit · Pull request · Issue -
Check parent layouts only if path has a layout (#20214)
Commit · Pull requestPrevents NPE during hotswap when checking if changed classes are layouts for current active target.
-
Use correct encoding when sending translations (#20211)
Commit · Pull request -
VaadinSessionScopes for all sessions are destroyed when any single session expires #20092 (#20103)
Commit · Pull request
Vaadin Flow 24.5.0.rc1
No changes since 24.5.0.beta7
Vaadin Flow 24.5.0.beta7
Changes since 24.5.0.beta6
New features
-
Add a helper method for menu's page title (#20165)
Commit · Pull request · IssueAdds a new static helper method that gives a page title for views shown using menu.
Fixes
- Perform server navigation roundtrip only when client side navigation is completed (#20187)
Commit · Pull request · Issue
Vaadin Flow 24.5.0.beta6
Changes since 24.5.0.beta5
Fixes
-
Update document title for client route (#20184)
Commit · Pull requestUpdates document title for client view with flow layout based on
ViewConfig.title
and when not overridden by server'sHasDynamicTitle
. -
Navigatin to client view from server (#20151)
Commit · Pull requestNavigation to the client view using server navigate should work normally and not try to add layout for non layout client view.
-
Reintroduce static methods used by Hilla (#20168)
Commit · Pull requestReintroduces static methods used by Hilla in FlowModeAbstractMojo, preserving the ClassFinder creation improvements for Flow mojos.
-
Fix auto layout hotswap
Commit · Pull requestRefactor hotswap logic and tests to align with changes introduced by #20120.
-
Reload route configuration upon layout changes
Commit · Pull request · IssueWhen a [At]Layout annotated class is modified, the changes are not propagated to the route registry after hotswap happens. This change updates Route registry layouts configuration and re-registers routes potentially impacted by the change to apply the new settings. It also checks the route target chain for active UIs in order to trigger a page refresh if the layout changes should be applied.
Chore
- Update @vaadin-router to 2.0.0-rc2 (#20181)
Commit · Pull request
Vaadin Flow 24.5.0.beta5
Changes since 24.5.0.beta4
New features
-
HMR for translation files (#20142)
Commit · Pull requestFor #20118 Requires vaadin/hilla#2795 to fully fix the issue.
-
Add MenuConfiguration (#20138)
Commit · Pull request · IssueNew public API for building application menu: adds
MenuConfiguration
,MenuOptions
andMenuOption
whereMenuConfiguration
is the main entry point to access menu data to build main menu.
Fixes
-
Cache ClassFinder for reuse in mojo execution (#20148)
Commit · Pull request · IssueCreates ClassFinder once per mojo execution, preventing eccessive and useless scans.
-
Access-controlled layout (#20120)
Commit · Pull requestRemove layout name from deny context.
-
Always create AvailableViewInfo.menu (#20136)
Commit · Pull request · IssueCreate always MenuData in
AvailableViewInfo.menu
to avoid need for extra null checking in automatic menu in Hilla. This change affects only code that reads available client routes from Hilla generated json file. -
Change blank icon to null in MenuData (#20137)
Commit · Pull request · Issue
Vaadin Flow 24.5.0.beta4
Changes since 24.5.0.beta3
Fixes
-
Always fetch reactEnabled from service (#20125)
Commit · Pull request -
Consider layout prefixes when checking for route and alias paths (#20126)
Commit · Pull request · Issue -
Allow null response in logout (#20057)
Commit · Pull request · IssueDon't throw NullPointerException in case of null VaadinServletResponse in AuthenticationContext#logout. Tolerate null response better in case when running with @Push(transport = Transport.WEBSOCKET), or when response is null for some other reason. Makes logout also work in WEBSOCKET mode by automatically switching to WEBSOCKET_XHR for one additional request that executes logout.
Vaadin Flow 24.5.0.beta3
Changes since 24.5.0.beta2
New features
- ComponentTracker file location of Kotlin files (#20073)
Commit · Pull request
Fixes
-
Add nodeVersion in gradle plugin settings (#20059)
Commit · Pull requestPrior to this fix, the settings declared in Gradle were not being passed to the plugin. For example, changing the nodeVersion in build.gradle did not update the actual nodeVersion used.
-
Queued navigate with React Router (#19985)
Commit · Pull request · Issue
-
Store layout packages (#20075)
Commit · Pull request · IssueStore layout packages in development mode reload cache as layouts may not be in same packages as routes.
-
Layout should be collected as entyrpoint (#20076)
Commit · Pull request · IssueLayout annotated classes should be collected as entrypoints for production builds.
-
Update title after navigation (#20047)
Commit · Pull request · IssueUpdate the page title after navigation has ended to not have the wrong title in history.
-
Hide root output element (#20040)
Commit · Pull request · IssueEnsures that root output element added for React router in Flow.tsx doesn't accidentally change the main layout with CSS rules targeting it.
Vaadin Flow 24.4.9
Changes since 24.4.8
New features
- ComponentTracker file location of Kotlin files (#20073)
Commit · Pull request
Fixes
-
Queued navigate with React Router (#19985)
Commit · Pull request · Issue -
Add nodeVersion in gradle plugin settings (#20059)
Commit · Pull requestPrior to this fix, the settings declared in Gradle were not being passed to the plugin. For example, changing the nodeVersion in build.gradle did not update the actual nodeVersion used.
-
Update title after navigation (#20047) (CP: 24.4)
Commit · Pull request · Issue
-
Close overlay drawer on click (#19984)
Commit · Pull request · IssueClose the overlay drawer even when clicking on same link and no actual navigation happens. This in case the flag has for some reason not been reset after a click.
-
Do not throw if re-setting the login view (#19996)
Commit · Pull request · Issue -
Fail fast if view defines same path for route and route alias (#19977)
Commit · Pull request · Issue -
Forward with optional callback (#19959)
Commit · Pull request · Issues 19794, 19822Also fixes #19813 in a more coherent way. Relevant test is com.vaadin.flow.uitest.ui.PreserveOnRefreshForwardingIT
-
Evaluate target not active (#19945)
Commit · Pull request · IssueFor deciding what action to take we should evaluate where we are going and not the current active path.
Vaadin Flow 24.3.18
Changes since 24.3.17
Fixes
-
Add nodeVersion in gradle plugin settings (#20059)
Commit · Pull requestPrior to this fix, the settings declared in Gradle were not being passed to the plugin. For example, changing the nodeVersion in build.gradle did not update the actual nodeVersion used.
-
Fail fast if view defines same path for route and route alias (#19977)
Commit · Pull request · Issue -
Wait for output reading to complete before parsing version (#19921)
Commit · Pull requestNodeInstall.getVersion currently does not block waiting for STDOUT and STDERR to be read completely. This causes random failure during node installation because of forcing an empty version. This change waits for future to complete before parsing the version value.
Vaadin Flow 24.5.0.beta2
Changes since 24.5.0.beta1
New features
-
Report application URL when application is started (#20027)
Commit · Pull requestThis is useful in a couple of cases: 1. Browser launcher is not enabled 2. Browser launcher does not work 3. You closed the browser tab and a new one is not automatically reopened when you restart
Fixes
-
Validate Control Center feature when used (#20024)
Commit · Pull request · IssueChanges production build info to validate Control Center feature only when VaadinActuatorEndpoint is in the class path. Class will be included with
control-center-starter
Vaadin platform dependency. -
Close overlay drawer on click (#19984)
Commit · Pull request · IssueClose the overlay drawer even when clicking on same link and no actual navigation happens. This in case the flag has for some reason not been reset after a click.
-
Do not throw if re-setting the login view (#19996)
Commit · Pull request · Issue -
Ensure session is registered with Hotswapper
Commit · Pull request · IssueVaadinSession references are registered in Hotswapper in a session init listener. However, the listener might not always been invoked, for example if the HTTP session is serialized and deserialized on server restart. This change registers a UI init listener to make sure VaadinSession reference is also registered for existing sessions.
-
Fail fast if view defines same path for route and route alias
Commit · Pull request · Issue -
Forward with optional callback
Commit · Pull request