Following the "release early, release often" motto, here comes a new version of Hibernate Validator, 6.0.9.Final.
It brings some nice improvements and fixes a couple of bugs.
This is a recommended upgrade for everyone using Hibernate Validator and it is a drop-in replacement of 6.0.8.Final, except if you already started to use the new constraint validator payload feature (see below).
The most significant feature in Bean Validation 2.0 (JSR 380) is the support for container element constraints.
I.e. you can now apply constraints to the contents of container types such as List, Map or Optional by annotating their type arguments
(which became possible with Java 8): List<@Future LocalDate> shipmentDates.
In this blog post you’ll learn how to take advantage of that for the validation of custom container types,
such as Multimap, Table or Graph from Google’s widely known Guava library.
Hibernate Validator is not the only Bean Validation implementation out there, we have one (friendly) competitor called Apache BVal.
Apache BVal has not caught up with Bean Validation 2.0 yet but, as the last benchmark in the Bean Validation field is dated from 2010 (remember "Machete don’t text"?), I thought it was high time to revisit this benchmark and get some fresh numbers.
Especially with all the optimization work we made for 6.0.