Compatibility
Java | 6, 7 or 8 |
Bean Validation | 1.1 |
Not compatible with your requirements? Have a look at the other series.
See also the Compatibility policy and Maintenance policy.
Documentation
Documentation for Hibernate Validator 5.3 can be accessed through the links below:
You can find more documentation for all series on the documentation page.
How to get it
Hibernate Validator 5.3 has reached its end-of-life: we recommend that you upgrade to a newer series if possible. See also the Maintenance policy. |
More information about specific releases (announcements, download links) can be found here.
Getting started
Hibernate Validator 5.3 has reached its end-of-life: we recommend that you upgrade to a newer series if possible. See also the Maintenance policy. |
If you want to start using Hibernate Validator 5.3, please refer to the getting started guide:
Migrating
If you need to upgrade from a previous series, please refer to the migration guide:
What's new
A detailed list of new features, improvements and fixes in this series can be found on our issue tracker.
Dynamic payloads for constraints
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.
Relaxation of requirements for method validation in class hierarchies
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.
Programmatic API improvements
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.
Releases in this series
Hibernate Validator 5.3 has reached its end-of-life: we recommend that you upgrade to a newer series if possible. See also the Maintenance policy. |
bug fixes, JDK 9 related updates
bugfix for modular environments
Maven artifacts Download Resolved issues Release announcement
bug fix, JDK 9 related updates
Maven artifacts Download Resolved issues Release announcement
bug fixes, JDK 9 related updates
Maven artifacts Download Resolved issues Release announcement
dynamic constraint payload, parameter relaxation, new api for programmatic constraint definition, new translations
Maven artifacts Download Resolved issues Release announcement
new api for programmatic constraint definition, translations
Maven artifacts Download Resolved issues Release announcement
dynamic constraint payload, parameter relaxation
Maven artifacts Download Resolved issues Release announcement