|Java||8, 11 or 17|
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.
If you want to start using Hibernate Validator, please refer to the getting started guide:
If you need to upgrade from a previous series, please refer to the migration guide:
Latest release announcement (2020-12-16): 6.0.22.Final.
A detailed list of new features, improvements and fixes in this series can be found on our issue tracker.
Hibernate Validator 6.0 is the Reference Implementation of the Bean Validation 2.0 specification so it comes with all its new features:
First class support of container element constraints and cascaded validation (think
private Map<@Valid @NotNull OrderCategory, List<@Valid @NotNull Order>> orderByCategories;);
Support for the new JSR 310 date/time data types for
New built-in constraints:
We also have leveraged the new features of JDK 8 (built-in constraints are marked repeatable, parameter names are retrieved via reflection) as it is now the minimal version required.
We have done quite a lot of benchmarking and have significantly improved the performances of Hibernate Validator.
It can be up to four times faster than Hibernate Validator 5.4.2.Final in some cases.
Hibernate Validator collects a lot of metadata on the constrained beans. We reduced significantly the memory occupied by these metadata.
Releases in this series
Not publicly released.