Hibernate Validator

5.4 series end-of-life

JavaMoney support, annotation processor improvements.

Compatibility

Java 6, 7 or 8
Bean Validation 1.1

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

JavaMoney support

Hibernate Validator 5.4 introduces JavaMoney (JSR 354) support. You can use @DecimalMin and @DecimalMax constraints on your MonetaryAmount fields and we also introduced a new @Currency annotation allowing you to constrain the currency used in your MonetaryAmounts.

More information can be found in this blog post.

Annotation processor improvements

A lot of improvements were made to the annotation processor to keep it up to speed with our latest features.

WildFly patch

Starting with Hibernate Validator 5.4, we provide a WildFly patch so that you can easily use our latest versions on top of WildFly.

You can find more information in the 5.4.0.Beta1 release announcement.

Other improvements

  • Improvements to the @Email constraint

  • New constraints specific to Polish identification numbers

  • Ukrainian and Persian translations

Releases in this series

Hibernate Validator 5.4 has reached its end-of-life: we recommend that you upgrade to a newer series if possible.

See also the Maintenance policy.

5.4.2.Final

2017-10-19

bugfixes, security fix, JDK 9 related updates

Maven artifacts Download Resolved issues

5.4.0.Final

2017-02-02

JavaMoney support, annotation processor improvements

Maven artifacts Download Resolved issues Release announcement

5.4.0.CR1

2017-01-12

JavaMoney support improvements, annotation processor improvements

Maven artifacts Download Resolved issues Release announcement

5.4.0.Beta1

2016-12-08

JavaMoney support, annotation processor improvements, WildFly patch

Maven artifacts Download Resolved issues Release announcement

Back to top