There are no functional changes between CR1 and this Final release. Some minor issues in the @Min, @Max and @EmailValidator got fixed (HV-335, HV-339) as well as some documentation typos. We also spend some time improving the parsing and validation speed by reviewing and improving some reflection based code (HV-340, HV-341, HV-342). Review the full release notes for details.
Download as usual either from the JBoss Maven repo or from SourceForge.
There are already several issues on the 4.2 roadmap, but we are welcoming ideas and suggestions for the next release on the Validator Forum. One of the major new features will most likely be method-level validation (as specified in Appendix C of the Bean Validation specification) as well.
Stay tuned!
Amendment: Gunnar did a great job summarizing the new features of Hibernate Validator 4.1 on his blog. And of course we covered already most of the new features here as well. See programmatic constraint configuration, ResourceBundleLocator and @ScriptAssert.
Good job guys!
I have been waiting for this, it fixes a bug that made it impossible to use class level constraints with the latest Hibernate version, at least on Glassfish (Jira).
Hibernate Validator is packaged in an OSGI module in Glassfish, does anyone know the correct way of updating this? I have tried asking in the Glassfish forums but the only solution I found was to manually replace the class files in the bean-validation.jar. From the MANIFEST.MF of that jar:
Does this mean that the module is built by the Glassfish guys or is this module something that the Hibernate Validate project provides?
Regards, Anders
Ok I just found out that a Sun employee is responsible for building the bean-validator.jar for Glassfish: wiki.glassfish.java.net
-Anders
The regression in Hibernate 3.5.3 http://opensource.atlassian.com/projects/hibernate/browse/HHH-5322 still exists in combination with Hibernate Validator 4.1.0