We just released Hibernate Validator 6.0.16.Final which includes several improvements and bugfixes.

This is a recommended upgrade for everyone using Hibernate Validator and it is a drop-in replacement for 6.0.15.Final.

What’s new

Performance improvements

We fixed a performance regression compared to 5.x when validating unconstrained beans.

Note that Hibernate Validator 6.x is significantly faster than 5.x and it keeps improving.

Rounding error with @Min/@Max/@DecimalMin/@DecimalMax constraints

All the min/max constraints were affected by a rounding error.

JDK 12 support

Hibernate Validator is now also tested with JDK 12.

Windows build

It was not possible to run the full build on Windows, it is fixed now.

Full changelog

The complete list of fixed issues can be found on our JIRA.

Getting 6.0.16.Final

To get the release with Maven, Gradle etc. use the following GAV coordinates:

  • org.hibernate.validator:hibernate-validator:6.0.16.Final

  • org.hibernate.validator:hibernate-validator-cdi:6.0.16.Final

  • org.hibernate.validator:hibernate-validator-annotation-processor:6.0.16.Final

Note that the group id has changed from org.hibernate (Hibernate Validator 5 and earlier) to org.hibernate.validator (from Hibernate Validator 6 onwards).

Alternatively, a distribution bundle containing all the bits is provided on SourceForge (TAR.GZ, ZIP).

If you want to benefit from the new features of this version on WildFly, we also provide WildFly patches for WildFly 16 and WildFly 15. You can read about how to apply such patches here.

Feedback, issues, ideas?

To get in touch, use the usual channels:

Back to top