Repository navigation
feat: include websocket and validation starters in the Spring Boot starter - #9521
Merged
Merged
Conversation
…arter vaadin-spring no longer exports spring-websocket or a Bean Validation implementation, so the starter brings Spring Boot's websocket and validation starters to keep websocket push in the embedded server and BeanValidationBinder working without extra dependencies.
Artur-
marked this pull request as ready for review
September 25, 2026 13:18
Contributor
Dependencies Report
|
Artur-
approved these changes
Sep 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vaadin-spring-boot-starternow also bringsspring-boot-starter-websocketandspring-boot-starter-validation. Spring Boot applications that use the starter therefore keep websocket push in the embedded server andBeanValidationBinderworking, without adding dependencies of their own.Why
vaadin-springstops exporting Spring dependencies at compile scope (vaadin/flow#25927). Until now it pulled inspring-websocketandhibernate-validatortransitively, and those are the pieces thatBeanValidationBinderneeds.A Spring Boot starter is expected to bring the starters it builds on, so the Vaadin starter is the right place for them. The versions still come from the application's Spring Boot version.
Risks
hibernate-validatorandspring-websocketthere throughvaadin-spring, so the only new pieces are Spring Boot's own auto-configuration modules for them.What changed
vaadin-spring-boot-starter/pom.xml: addsspring-boot-starter-websocketandspring-boot-starter-validationnext tospring-boot-starter-webmvc.How to test
mvn -pl vaadin-spring-boot-starter dependency:treelistsspring-websocketandhibernate-validatorunder the two new starters.🤖 Generated with Claude Code