Help

Time to update your dependencies or to hit the download site. Hibernate Validator 4.2.0.Final is released. All artifacts are either available via the JBoss Maven Repository or SourceForge. Links to the latest documentation can be found on the Validator homepage.

We have been blogging about the different new features and major changes during the interim releases, so let me just remind you. The most important new features are:

  • method level validation
  • boolean composition for composed constraints via @ConstraintComposition
  • ValueFormatterMessageInterpolator
  • GroupSequenceProvider annotation for the dynamic definition of the default group sequence

You can find more information about these features in the release blogs for Hibernate Validator 4.2.0 Beta1 and Hibernate Validator 4.2.0 Beta2.

The feature which underwent most changes during the development of Hibernate Validator 4.2.0 was the programmatic configuration API. In order to add programmatic configuration for method level validation and group sequence providers we had to go through several iterations. The final result is described in Hibernate Validator 4.2.0 CR1. We are sorry if you had to change your mappings several times, but we believe the outcome is worth it :-)

Even though we did not plan to add any new features after CR1, we introduced - thanks to a last minute contribution - a new constraint annotation - @SafeHtml. This constraint allows to check whether a given character sequence contains potentially malicious html code. Check the online docs for more information.

It is also important to know that together with Hibernate Validator 4.2.0.Final a new version of the Bean Validation TCK was released (1.0.5.GA). You find the latest documentation of the TCK here. The TCK contained wrong tests related to the Node.Path API (BVTCK-12) and it also checked wrongly for a ValidationException in case a constraint is placed on a non getter method (BVTCK-14).

You can find more information on how to upgrade Hibernate Validator on the Hibernate Validator Migration Guide.

The full change log for this release is available here. Feedback is welcome via the Validator Forum and the Jira issue tracker.

Last, but not least, this release would not have been possible without the help from the community. Thanks in particular to Dag, Frederico, George, Gunnar and Kevin!

Enjoy!

13 comments:
 
20. Jun 2011, 19:54 CET | Link

Awesome :) Congratulations.

 
21. Jun 2014, 16:09 CET | Link

Todays real estate market may existing some special and seeking problems. Financing for starters, especially for traders is very restricted. Real estate and also the economic climate are experiencing the biggest recession considering that the Great depression. todays market For example Business owners of huge UK government agencies are now pondering the unthinkable in response for this period of spending price range austerity business uk

19. Jul 2014, 09:07 CET | Link

After conducting my own investigative Girlfriend Activation System review, every guy who has ever been confused, nervous, or frustrated around women he likes will benefit from GFAS, but it's my opinion that the program is best suited for guys who are looking for a long-term relationship with just one special girl.christian h. girlfriend activation system review

 
20. Jul 2014, 06:55 CET | Link
Ben

Very nice and useful information. Why not write a book about this particular subject. For today’s economic variation and be short of of opportunities, it actually will be a very hot topic. Thanks a lot...Learn More on Venus Factor

 
20. Jul 2014, 06:57 CET | Link
Carl

Very nice and useful information. Why not write a book about this particular subject. For today’s economic variation and be short of of opportunities, it actually will be a very hot topic. Thanks a lot. Learn More on Total Wellness Cleanse

 
03. Oct 2014, 04:45 CET | Link

I say thank you to the creator of this article, Jual Crystal X Asli Mengatasi dan Menghilangkan Keputihan this article contains information that is very helpful for readers smeua especially my own. I'm waiting for the other information that is not less interesting. Good luck to you. visit our website to increase knowledge Crystal X NASA

 
20. Oct 2014, 11:47 CET | Link
cheus

This is a great article thanks for sharing this informative information. HD mxf files conversion software mxf converter pdf conversion to Office pdf to word .

 
20. Oct 2014, 11:55 CET | Link
juedy

This is a great article thanks for sharing this informative information. HD mxf files conversion software mxf converter pdf conversion to Office pdf to word ew

 
27. Oct 2014, 10:23 CET | Link

your site is very beneficious as well when i am actually willing to hvae so much more info about the different thngs that you can very easily give also

 
29. Oct 2014, 08:15 CET | Link

what am i supposed to say actually guys this is somethingthat i am happy to see al ovr alos

 
11. Nov 2014, 19:06 CET | Link
jack

Thanks for ones marvelous posting! urgent care palm beach gardens I genuinely enjoyed reading it, you are a great author. I will be sure to bookmark your blog and may come back very soon. I want to encourage you to definitely continue your great job, have a nice weekend

 
16. Nov 2014, 16:08 CET | Link

The valuable text instruction given in the article will be a lot of more from some where others diabetes protocol reviews

 
02. Dec 2014, 09:24 CET | Link
jack

There are a lot of blogs and articles out there on this weightloss treatment palm beach gardens topic, but you have acquired another side of the subject. This is reliable content thank you for sharing it