Skip to content

Do not include the validation starter in web starters by default #19550

Closed
@bclozel

Description

@bclozel

We've noticed that many applications are not using the validation features in web applications, while validator libraries on the classpath come with a cost.

We could do the following:

  • remove the spring-boot-starter-validation dependency from spring-boot-starter-web and spring-boot-starter-webflux
  • create a new spring-boot-starter-validation-web that brings in the validation dependencies without the tomcat-embed-el which is currently excluded by the web starters
  • properly document that change in the release notes and the reference docs

Metadata

Metadata

Assignees

Labels

status: noteworthyA noteworthy issue to call out in the release notestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions