Changes since 23.0.0.beta3
New features
-
Use Vaadin component container bundles in Vite dev mode (#13039) (CP: 23.0)
Commit · Pull request · IssueEnables using use pre-bundled modules from @vaadin/bundles in Vite development mode, if available Disables bundle usage if different package versions are installed
-
Add modality helpers (#13026)
Commit · Pull request · IssueAdd methods to check if there is a modal component set and to add component to current modal component.
Fixes
-
Remove the duplicate optimizeDeps section (#13122)
Commit · Pull request -
Apply theme in V14 legacy mode
Commit · Pull request · IssueSet a DOM flag to enable theme initialization in generated-flow-imports.js. It is only activated in V14 legacy bootstrap mode.
-
Add Vaadin entrypoints to optimizeDeps.entries (#13112)
Commit · Pull request -
Handle service worker content in production mode when running on non root sevlet mapping (#13073)
Commit · Pull request · IssueIn production mode service worker content is loaded from
META-INF/VAADIN/webapp/sw.js
classpath resource. When running on a "non root" servlet mapping, sw.js was not served at all because servlet path was prepended to file name when getting resource from classpath. This change handles the special case of "sw.js" inStaticFileServer.getRequestFilename
, in order to ignore servlet path on the returned file name. -
Fix usage of deprecated webpack API
Commit · Pull request · Issue -
Get boolean only if eventData has the key (#13021)
Commit · Pull request -
Save platform version in node_modules
Commit · Pull requestTo decide whether the platform has been updated, compare the version of vaadin-core in package.json with the platform published version. Was previously using vaadin-shrinkwrap, which is removed in V23.
-
Slow npm warning when no package-lock
Commit · Pull requestLog an additional warning when package-lock.json is missing.
-
Don't create a new UI instance for service worker resource (#12963)
Commit · Pull request · IssueAlso ignore Service-Worker request for IndexHtmlRequestHandler
-
Supported node is updated to 16.14 · Pull request · Issue