Changes since 24.0.0.alpha10
Breaking changes
-
Use servlet context path as the default logout url
Commit · Pull requestWith a root mapped servlet, this changes nothing. For a servlet with a context path, it assumes that you have the whole application in that context and logging out should take you to the root of that application This is a breaking change for applications where you want the logout path to be / even if Vaadin is deployed as /something and you then need to set the logout path explicitly to /
-
Remove V14 legacy bootstrap support
Commit · Pull requestThis still retains BootstrapHandler as the web component bootstrapping depends on it
-
Delete webpack 4 support
Commit · Pull request
New features
-
Serve theme files separately from dev bundle
Commit · Pull request · IssueIn the Express Build mode: - serves theme files (styles.css and other project's stylesheets imported to styles.css) separately from the dev-bundle directly from custom theme (frontend/themes/my-theme) folder - copies the assets referenced in theme.json to the dev bundle within bundle re-compilation serves assets/styles from dev-bundle, if can't find them in the frontend folder - Does not yet take into account serving styles from default bundle (from classpath).
-
Add dev-bundle-plugin
Commit · Pull requestAdd a maven plugin to generate a dev-bundle for express mode. Add test bundle module. Next is checking/using dev bundle from jar. Part of #15376 - Add a test module with no flow-maven-plugin to test dev-bundle usage from dependency. - Update stats modules to reflect package.json Review fixes.
-
Compare bundle and package.json contents
Commit · Pull requestCompare the stored hash of the bundle and package.json compare the dependency modules in bundle and package json compate NpmPackage annotations and bundle modules. part of #15376
-
Added method to get authenticate principal name
Commit · Pull request · IssuePrincipal name usually refers to a user identifier that can be used to retrieve additional details.
Fixes
-
Session resynchronization for embedded webcomponents
Commit · Pull request · Issue -
Ensure default logout url starts with '/'
Commit · Pull requestSpring Security requires logout url to start with
/
, otherwise throws withdefaultTarget must start with '/' or with 'http(s)'
. Our default value is using servlet context path, which could be empty. This change adds the/
prefix for the serlvet context path when using it for logout url. -
Flush all changes for events that triggers event listeners
Commit · Pull request · IssueThis patch fixes timing issues that may cause events to happen in wrong order on the server side.
-
Remove Serializable interface from AuthenticationContext
Commit · Pull requestThe component is Serializable because the idea was to potentially inject it into Vaadin views, but this may cause several issues: deserializating views we may end up with many of them Spring beans and we do not provide a simple way to inject them upon deserialization Kubernetes Kit This change removes the implementation of Serializable interface and updates javadocs.
-
Collect changes until UI is not dirty
Commit · Pull request · IssueWhen UidlWriter collects changes to send to the client, it may happen that UI is still dirty because features may enqueue additional changes. As a side effect, if UI is still dirty after UIDL response is written, a useless PUSH action is performed. This change performs changes collection until the UI is no more dirty.
-
Vite module path for windows
Commit · Pull requestVite gives modules list as
C:/Users/
where as the nodeModulesFolder isC:\Users\
Unify path separator for both when executing.