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.
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
More information about specific releases (announcements, download links) can be found here.
Getting started
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
7.0.5.Final
2022-08-04
More records testing and support for records in annotation processor
Maven artifacts Download Resolved issues Release announcement
7.0.4.Final
2022-03-10
Documentation fixes
7.0.3.Final
2022-03-02
Fix the annotation processor, reintroduce java.sql.Date support, reliable order for composing constraints
Maven artifacts Download Resolved issues Release announcement
7.0.2.Final
2021-12-14
PESEL validator fixes, Log4j 2 test dependency upgraded
Maven artifacts Download Resolved issues Release announcement
7.0.1.Final
2021-02-06
TCK infrastructure adjustments
7.0.0.Final
2020-12-23
New @INN constraint
Maven artifacts Download Resolved issues Release announcement
7.0.0.CR1
2020-12-08
Expression Language overhaul
Maven artifacts Download Resolved issues Release announcement
7.0.0.Alpha6
2020-07-22
Jakarta Bean Validation TCK upgrade
7.0.0.Alpha5
2020-07-20
XML namespace adjustments, @SafeHtml removal
7.0.0.Alpha4
2020-06-29
Jakarta dependencies upgrade, Arquillian upgrade
7.0.0.Alpha3
2020-05-26
JPA integration fix
7.0.0.Alpha2
2020-05-13
fix for CDI extension, sync with 6.1.5.Final
7.0.0.Alpha1
2020-03-25
Jakarta Bean Validation 3.0, jakarta.* packages