Changes since 23.2.0
New features
-
Allow rerouting to an external URL
Commit · Pull request · Issue -
Allow setting content of the Html component
Commit · Pull requestAllow to change content of the Html component
-
Log why Vite recompiles using debug level and a separate logger
Commit · Pull request
Fixes
-
Fix navigation to secured view with oauth2 without router-ignore
Commit · Pull request · IssueThis is to fix the problem of navigating to a secured view from a public view before login in while using the OAuth2 external login page. Prior to this, it was needed to set "router-ignore" attribute on the links from public pages to skip vaadin-router and let the spring-security forward the user to the external login page.
-
Redirect to the correct server view also when coming from a non-root URL
Commit · Pull request · Issue -
Sort classes by name in ReflectionsClassFinder
Commit · Pull requestClass scan in production build may differ from development mode because DefaultClassFinder and ReflectionsClassFinder may provide classes in different order. As a result, when there are multiple NpmPackage annotations for the same package wit different version, the final version used in package.json may be different in dev mode and production build. This change makes ReflectionsClassFinder sort classes by name, as DefaultClassFinder does in its constructor. Ref #14381
-
Redirect to login page without showing the 404 page
Commit · Pull request · Issue -
Do not overwrite generated files with the same content
Commit · Pull request · IssueOverwriting the files will cause the frontend tooling to recompile when there is no need to do that
-
Add build resource dir to classpath element to scan
Commit · Pull request · IssueClassFinder used for frontend build is missing build resources directory. This change adds it to the list of elements to scan during build.
-
Adapt iPad detection for iOS 15
Commit · Pull request · IssueFor iPad with iOS 15, navigator platform does not start with iPad anymore but is MacIntel. This change assumes device is an iPad when platform is MacIntel and the it is a touch device
-
Added support for custom frontendDirectory in TaskCopyTemplateFiles
Commit · Pull request -
Be more sensible when adding changes to list of pending changes
Commit · Pull request · IssueMakes memory consumption optimisation for collecting state tree changes on the server-side: change list is checked and re-indexed (if needed) on each change, making removed objects be eligible for garbage collecting.
-
Remove presence check on item refresh
Commit · Pull request -
Set load-on-startup for automatically registered Vaadin servlet
Commit · Pull requestWhen using Vite, DevModeInitializer blocks dev-server startup until a VaadinServlet is deployed because it needs to get the servlet path to use. If the container lazily loads servlets, Vite will not start until the first HTTP request for the Vaadin servlet is received. This change sets load-on-startup feature for automatically deployed Vaadin servlet, to ensure that the servlet and Vite are loaded on the startup of the Web application Part of #14479
-
Hide elements with 'hidden' attribute via CSS
Commit · Pull request · IssueAdds a global CSS to the page to always apply display: none to the elements with hidden attribute. Needed for Component:setVisible to work properly.
-
Add ?inline for CSSimports so they do not end up in the document
Commit · Pull request · Issue -
Make Lit import rewrites lazy
Commit · Pull requestThe import rewrites must only match one row and not a similar import on the following row