Changes since 24.2.0.beta2
New features
-
Cache all classes from JARs (#17701)
Commit · Pull request -
Upgrade Node.js to v20.8.0 (#17744)
Pull request -
Upgrade Vite to 4.4.11 (#17780)
Pull request
Fixes
-
Improve LitTemplateParser to find correct content (#17765)
Commit · Pull request · IssueChanges regex in LitTemplateParser to find correct template content in case when lit template code contains "return html`" template also after the render function.
-
Ignore servlet registrations without server-class definition (#17749)
Commit · Pull request · IssueServletDeployer performs several checks on servlet registrations to determine if the Vaadin Servlet must be registered automatically. However, as of servlet 3.0, is optional in declaration in web.xml, and in this case ServletDeployer fails with a NPE. With this change ServletDeployer ignores servlet registration without a servlet-class definition.
-
Be less verbose when Vite is not running (#17730)
Commit · Pull request · Issue -
Disable the Vite public directory to not interfere with a folder named 'public' (#17732)
Commit · Pull requestIf you create a
src/main/resources/static/public
folder with static files, you will see a lot offiles in the public directory are served at the root path. Instead of /public/images/logo.jpg, use /images/logo.jpg.
when trying to access the files. This is because the default "publcDir" of Vite is "public" and the Vite server is queried for resources before loading from the class loader