Hibernate Validator

8.0 series stable

Jakarta EE 10, @UUID constraint

Compatibility

Java 11 or 17
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.

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 and to the JBoss Maven repository. Refer to the Maven Getting Started guide on the JBoss Wiki for more information on how to configure the JBoss Maven repository.

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

Zip archive

Direct download is available from SourceForge:

Download Zip archive

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.

Releases in this series

8.0.0.CR3

2022-08-09

8.0.0.CR2

2022-08-04

8.0.0.CR1

2022-06-28

Dependency upgrades, adjustment in GetterPropertySelectionStrategy SPI

Maven artifacts Download Resolved issues

8.0.0.Alpha3

2022-04-01

8.0.0.Alpha2

2022-03-10

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

Maven artifacts Download Resolved issues

8.0.0.Alpha1

2022-02-28

Back to top