Hibernate Validator

8.0 series latest stable

Jakarta EE 10, @UUID constraint

Compatibility

Java 11, 17, 21, 22 or 23
Jakarta Bean Validation 3.0
Jakarta EE 10

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 8.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

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:8.0.1.Final
Core implementation
org.hibernate.validator:hibernate-validator-cdi:8.0.1.Final
CDI integration
org.hibernate.validator:hibernate-validator-annotation-processor:8.0.1.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

If you want to start using Hibernate Validator 8.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

A detailed list of new features, improvements and fixes in this series can be found on our issue tracker.

Jakarta EE 10

Hibernate Validator 8.0 is the reference implementation for Jakarta Bean Validation 3.0 in Jakarta EE 10.

Upgrade to Hibernate Validator 8 is only recommended if you are moving to Jakarta EE 10.

UUID constraint

A new @UUID constraint was added to validate UUIDs.

Development versions (SNAPSHOTS)

The latest development versions of Maven artifacts for Hibernate Validator are published to the OSSRH snapshots repository.

OSSRH 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://oss.sonatype.org/content/repositories/snapshots and to enable snapshots:

Maven Gradle

Releases in this series

8.0.0.Final

2022-09-09

ASL v2

8.0.0.CR3

2022-08-09

ASL v2

8.0.0.CR1

2022-06-28

ASL v2

Dependency upgrades, adjustment in GetterPropertySelectionStrategy SPI

Maven artifacts Download Resolved issues

8.0.0.Alpha3

2022-04-01

ASL v2

8.0.0.Alpha2

2022-03-10

ASL v2

Java 11 as base version, fix annotation processor, documentation fixes

Maven artifacts Download Resolved issues

8.0.0.Alpha1

2022-02-28

ASL v2

Back to top