Compatibility
Java | 8, 11 or 17 |
Jakarta Bean Validation | 3.0 |
Jakarta EE | 9 |
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 7.0 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 7.0 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 7.0 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 7.0, 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
Latest release announcement (2022-08-04): 7.0.5.Final.
A detailed list of new features, improvements and fixes in this series can be found on our issue tracker.
Jakarta Bean Validation 3.0
Hibernate Validator 7.0 is the reference implementation for Jakarta Bean Validation 3.0.
The main change is that all the dependencies using javax.
packages are now using jakarta.*
packages.
Upgrade to Hibernate Validator 7 is only recommended if you are moving to Jakarta EE 9.
Expression Language overhaul (also in 6.2)
Expression Language disabled by default for custom violations.
Ability to define the Expression Language features enabled for more safety.
@SafeHtml removal (also in 6.2)
The @SafeHtml
constraint marked as deprecated for a while has been dropped from the codebase.
Releases in this series
Hibernate Validator 7.0 has reached its end-of-life: we recommend that you upgrade to a newer series if possible. See also the Maintenance policy. |
More records testing and support for records in annotation processor
Maven artifacts Download Resolved issues Release announcement
Documentation fixes
Fix the annotation processor, reintroduce java.sql.Date support, reliable order for composing constraints
Maven artifacts Download Resolved issues Release announcement
PESEL validator fixes, Log4j 2 test dependency upgraded
Maven artifacts Download Resolved issues Release announcement
TCK infrastructure adjustments
New @INN constraint
Maven artifacts Download Resolved issues Release announcement
Expression Language overhaul
Maven artifacts Download Resolved issues Release announcement
Jakarta Bean Validation TCK upgrade
XML namespace adjustments, @SafeHtml removal
Jakarta dependencies upgrade, Arquillian upgrade
JPA integration fix
fix for CDI extension, sync with 6.1.5.Final
Jakarta Bean Validation 3.0, jakarta.* packages