Hibernate Validator

7.0 series end-of-life

Jakarta Bean Validation 3.0, jakarta.* packages

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:

HTML PDF API (JavaDoc)

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.

Maven, Gradle...

Maven artifacts of Hibernate Validator are published to Maven Central. Most build tools fetch artifacts from Maven Central by default, but if that's not the case for you, see this page to configure your build tool.

You can find the Maven coordinates of all artifacts through the link below:

Maven artifacts

Below are the Maven coordinates of the main artifacts.

org.hibernate.validator:hibernate-validator:7.0.5.Final
Core implementation
org.hibernate.validator:hibernate-validator-cdi:7.0.5.Final
CDI integration
org.hibernate.validator:hibernate-validator-annotation-processor:7.0.5.Final
Annotation processor

All Maven artifacts of this project released after 2022-02-08 are signed.

To verify signed Maven artifacts, head to this page.

Direct download

A ZIP archive containing all JAR files, documentation and source is available from SourceForge:

Download ZIP archive

Individual Maven artifacts may be downloaded directly from the Maven repository:

Maven Central subdirectory

See here for how to download all dependencies of your Maven project to a local directory on your filesystem.

See here for how to download an explicitly listed set of artifacts to a local directory on your filesystem.

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:

HTML PDF

Migrating

If you need to upgrade from a previous series, please refer to the migration guide:

HTML

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.

7.0.5.Final

2022-08-04

7.0.4.Final

2022-03-10

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

7.0.0.CR1

2020-12-08

7.0.0.Alpha6

2020-07-22

Jakarta Bean Validation TCK upgrade

Maven artifacts Download Resolved issues

7.0.0.Alpha5

2020-07-20

XML namespace adjustments, @SafeHtml removal

Maven artifacts Download Resolved issues

7.0.0.Alpha4

2020-06-29

Jakarta dependencies upgrade, Arquillian upgrade

Maven artifacts Download Resolved issues

7.0.0.Alpha3

2020-05-26

7.0.0.Alpha2

2020-05-13

fix for CDI extension, sync with 6.1.5.Final

Maven artifacts Download Resolved issues

7.0.0.Alpha1

2020-03-25

Jakarta Bean Validation 3.0, jakarta.* packages

Maven artifacts Download Resolved issues

Back to top