|Java||8, 11 or 17|
|Jakarta Bean Validation||2.0|
Not compatible with your requirements? Have a look at the other series.
Documentation for Hibernate Validator 6.2 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 6.2, please refer to the getting started guide:
If you need to upgrade from a previous series, please refer to the migration guide:
A detailed list of new features, improvements and fixes in this series can be found on our issue tracker.
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 disabled by default for custom violations.
Ability to define the Expression Language features enabled for more safety.
@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 OSSRH snapshots repository.
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
and to enable snapshots:
Releases in this series