Hibernate Validator 6.2 is in limited support mode:
We recommend that you upgrade to a newer series if possible or look for paid support. See also the Maintenance policy. |
Compatibility
Java | 8, 11 or 17 |
Jakarta Bean Validation | 2.0 |
Jakarta EE | 8 |
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 6.2 can be accessed through the links below:
Getting started guide HTML PDF
What's new HTML
Migration guide HTML
Reference HTML PDF API (Javadoc)
You can find more documentation for all series on the documentation page.
How to get it
Current series status: limited-support
More information about specific releases (announcements, download links) can be found here.
What's new
A detailed list of new features, improvements and fixes in this series can be found on our issue tracker.
Jakarta Bean Validation
Hibernate Validator 6.2 uses the Jakarta Bean Validation API artifact i.e. jakarta.validation:jakarta.validation-api
in version 2 and with the javax.validation.*
package name.
No API changes.
Expression Language overhaul
Expression Language disabled by default for custom violations.
Ability to define the Expression Language features enabled for more safety.
@SafeHtml removal
The @SafeHtml
constraint marked as deprecated for a while has been dropped from the codebase.
Development versions (SNAPSHOTS)
The latest development versions of Maven artifacts for Hibernate Validator are published to the Sonatype Maven Central snapshots repository.
Sonatype Maven Central snapshots subdirectory
You should only need those (unstable) versions for testing recently merged patches, and should never use them in production.
To consume these artifacts, you may need to configure your build tool to fetch artifacts
from
https://central.sonatype.com/repository/maven-snapshots
and to enable snapshots:
Releases in this series
Hibernate Validator 6.2 is in limited maintenance mode: we recommend that you upgrade to a newer series if possible or look for paid support. See also the Maintenance policy. |
More records testing and support for records in annotation processor
Maven artifacts Download Resolved issues Release announcement
Reliable order for composing constraints
Reintroduce java.sql.Date support
Maven artifacts Download Resolved issues Release announcement
PESEL validator fixes, Log4j 2 test dependency upgraded
Maven artifacts Download Resolved issues Release announcement
New @INN constraint
Maven artifacts Download Resolved issues Release announcement
Expression Language overhaul, @SafeHtml removal
Maven artifacts Download Resolved issues Release announcement