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.
- Annotation processor improvements
Explore taking some distance from the reflection API (e.g. dealing with
Typeis 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
- 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
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)