Changes since 24.4.0.alpha26
New features
-
Use a new RouterBuilder API for routes.tsx
Commit · Pull request · Issues 2238, 18988Removes the buildRoutes method and replaces it with a new RouterBuilder API that automatically injects server side routes where needed and adds the auth level.
Fixes
-
Postpone creation of WebIconsRequestMatcher
Commit · Pull request · IssueDuring a hot reload, there may be requests incoming before VaadinService completes its intialization. In this situation a NPE is thrown when trying to create WebIconsRequestMatcher. This change postpones the instantiation until VaadinService is available.
-
Detect Flow PUSH requests as internal framework requests
Commit · Pull request · IssueHandlerHelper is currently not considering Flow PUSH requests (/VAADIN/push) as internal, preventing VaadinWebSecurity to ignore CSRF checks. The issues happen only for ping requests; the connection request is not affected because it is a GET request.
-
Query in path
Commit · Pull requestparameters into the route breaking route resolution when navigating thrhough link. part of #19080
-
Normalize and replace line separator in node task lock file
Commit · Pull request · IssueNormalizes and replaces line separators potentially present in the process command line before writing the lock file, so that it will contain only two lines. Same normalization is applied when getting the command line for the process identified by the pid in the lock file before comparing it with the value stored in the lock file.
-
Return empty list
Commit · Pull request · IssueReturn an empty list if no listeners for type exist.