Hibernate Validator

Roadmap

Interested in our past releases?

To learn more about what we introduced in our past releases, please consult the "What's new" section of a given series .

Hibernate Validator is community driven and as such the roadmap constantly evolves to reflect the users needs and contributions.

You can find a fine grained roadmap in our issue tracker, but this page is a good starting point to see where we are going.

Hibernate Validator 6.0.x

Engine

Explore message interpolators receiving several locales (HV-1436)
Support custom field/getter selection strategy (HV-1363)
Improve the performances and reduce the memory footprint

Annotation processor improvements

Taking into account new places where constraint annotations can be placed (HV-879)
Taking into account XML configuration (HV-308)

Hibernate Validator 6.1

Engine

Explore taking some distance from the reflection API (e.g. dealing with Type is rather confusing, replace some of the types with memory-friendly counterparts (Method?), do not rely on TypeVariable). Note that it might also help with the future usage of Jandex for annotation discovery.
Provide an SPI for making the retrieval of bean properties more flexible, allowing to support models not following the JavaBeans conventions, e.g. types generated by Immutables which will use property() instead of getProperty()

Remote API

Provide an HTTP endpoint which allows to validate single properties and also exposes constraint metadata via JSON (HV-1500). Web applications can integrate that endpoint to allow client-side validation of their models.

Programmatic API

Be able to define constraint on properties using lambdas (ie without constraint annotations)

Java 9

Usage of method handles for accessing bean states (HV-1226)
Explore usage of ResourceBundleProvider for obtaining validation error messages from other modules
Providing Hibernate Validator with JDK 9 module descriptors

Future versions

Engine

Explore the ability to validate an object and a list of changes (BVAL-214)
Explore support for constraint ordering (BVAL-248)
Explore support for other models than JavaBeans (HV-1000)
Explore the usage of Jandex (a Java annotation indexer and offline reflection library) to build the metadata (HV-644)

Back to top