Jakarta Validation 4.0 is still under development.
It is part of Jakarta EE 12 (but can of course be used with plain Java SE as the previous releases).
Support for ConstraintValidator declaration via the service loader mechanism was added.
The validatedBy attribute on the jakarta.validation.Constraint was made optional;
an empty array being the default.
A simpler way to get a single attribute from ConstraintDescriptor was introduced.
Support for string representation of numbers by Min / Max constraints was clarified.
Some methods of the ConstraintViolationBuilder were deprecated.
Previously, they were only deprecated in the Javadoc comments.
The expectations on applying @Valid twice were clarified.
Do you have feedback? Talk to us:
on our mailing list
in the API issue tracker for API related issues
in the Specification issue tracker for specification related issues
in the TCK issue tracker for TCK related issues
If you want to take the next step and contribute, read how to contribute.