You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 2.2.25 and newer of swagger-core-jakarta and define version 3.1.0 instead of 3.0.2 of component jakarta.validation-api.
The current version definition was introduced in swagger-core-jakarta:2.2.25 in pull request 4740 where ${jakarta.validation-version} was updated from 3.0.2 to 3.1.0. This may have happened accidentally.
The rest of the Jakarta components (e.g. jakarta.ws.rs-api:jar:3.1.0) are also based on Jakarta 10 EE.
Example: this would resolve to jakarta.validation-api:3.1.0 which is the release for Jakarta 11 EE
dependencies {
implementation("org.springframework.boot:spring-boot-starter:3.4.3") /* based on Jakarta 10 EE */
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.5")
}
In fact, you would expect this to resolve to jakarta.validation-api:3.0.2.
So my suggestion would be to reverse this change and create a new version.
The text was updated successfully, but these errors were encountered:
This project is not related to Spring. So that's not an issue. Also there are no backwards incompatible changes in Jakarta Validation 3.1. The only real issue I see is, that Jakarta Validation 3.1 now requires Java 17 instead of previously Java 8 as minimum.
Version
2.2.25
and newer ofswagger-core-jakarta
and define version3.1.0
instead of3.0.2
of componentjakarta.validation-api
.The current version definition was introduced in
swagger-core-jakarta:2.2.25
in pull request 4740 where${jakarta.validation-version}
was updated from3.0.2
to3.1.0
. This may have happened accidentally.Jakarta (Bean) Validation versions
See https://jakarta.ee/specifications/bean-validation/ for more details.
The baseline for Spring Boot 3.x and Spring Framework 6.x is Jakarta 10 EE, so components such as
swagger-core-jakarta
should not update this baseline to versions based on Jakarta 11 EE, which will be the baseline for Spring Boot 4.x and Spring Framework 7.x.The rest of the Jakarta components (e.g.
jakarta.ws.rs-api:jar:3.1.0
) are also based on Jakarta 10 EE.Example: this would resolve to
jakarta.validation-api:3.1.0
which is the release for Jakarta 11 EEIn fact, you would expect this to resolve to
jakarta.validation-api:3.0.2
.So my suggestion would be to reverse this change and create a new version.
The text was updated successfully, but these errors were encountered: