Hibernate Validator is the reference implementation for the Bean Validation specification. For more information, see Hibernate Validator on hibernate.org.

Hibernate Validator 8.0.3.Final maintenance release is out.

This release contains a few bug fixes, and enables alphanumeric format for the @CNPJ constraint.

What’s new

For a summary of all new features and improvements since 7.0, head to the dedicated page on hibernate.org.

Other improvements and bug fixes

  • HV-1917: Fix a problem with the @MinDuration/@MaxDuration validation message for zero duration.

  • HV-1999: Enables alphanumeric format for the @CNPJ constraint.

  • HV-1978: Fix a problem with Expression Language not propagated to iterable nodes.

  • HV-1971: Fix a problem with the @CNPJ constraint when validating a value where all digits are the same

  • HV-1965: Fix a typo in CrossParameterConstraint message.

And more. Please see the release notes for a complete list of changes since the previous releases.

How to get this release

All details are available and up to date on the dedicated page on hibernate.org.

Getting started, migrating

For new applications, please refer to the getting started guide:

For existing applications, Hibernate Validator 8.0 is a drop-in replacement for 7.0, assuming you also upgrade the other Jakarta EE 10 related dependencies. Information about API changes is included in the migration guide.

Feedback, issues, ideas?

To get in touch, use the usual channels:


Back to top