|Java||6, 7 or 8|
Not compatible with your requirements? Have a look at the other series.
See also the Compatibility policy.
Documentation for this specific series can be accessed through the links below:
You can find more documentation for all series on the documentation page.
How to get it
More information about specific releases (announcements, download links) can be found here.
A detailed list of new features, improvements and fixes in this series can be found on our JIRA instance.
Hibernate Validator 5.3 allows you to enrich custom constraint violations with additional context data.
Code examining constraint violations can access and interpret this data in a safer way than by parsing string-based constraint violation messages.
You can find more information about this feature in the 5.3.0.Alpha1 release announcement.
The Bean Validation specification defines a set of rules which apply when defining constraints on methods within class hierarchies.
As per specification a Bean Validation provider is allowed to relax these preconditions.
Starting with 5.3, it is now possible to do so as explained in our documentation.
Until now, it was only possible to alter the list of
ConstraintValidator of a given constraint via the XML configuration. 5.3 brings the ability to do it via the programmatic API.
If you need to upgrade from a previous series, please refer to the migration guide.
Releases in this series