Help

Today we are happy to announce the 5.0.1.Final release of Hibernate Validator. In case you are wondering what happened with 5.0.0.Final - it has not gone missing. In fact it was released on the 11th of April.

The long story is, that we had to release 5.0.0.Final to meet the Java EE 7 release schedule. At the time the functionality was complete, but documentation was not. Given the amount of changes introduced by Bean Validation 1.1, we felt it was important to wait with the announcement of Hibernate Validator 5 until the documentation is up to scratch. That's the case with 5.0.1.Final. Not only does this release offer a complete Bean Validation 1.1 implementation it also includes an updated online documentation.

The highlights of Hibernate Validator 5 are (with pointers into the freshly baked documentation):

  • Standardized method validation of parameters and return values. This has been a Hibernate Validator 4 specific functionality, but got now standardized as part of Bean Validation 1.1.
  • Integration with Context and Dependency Injection (CDI). There are default ValidatorFactory and Validator instances available and you can now use @Inject in ConstraintValidator implementations out of the box. Requested custom implementations (via validation.xml) of resources like ConstraintValidatorFactory, MessageInterpolator, ParameterNameProvider or TraversableResolver are also provided as managed beans. Last but not least, the CDI integration offers transparent method validation for CDI beans.
  • Group conversion
  • Error message interpolation using EL expressions

We are also planning to create a little blog series introducing these new features in more detail. Stay tuned!

For now have a look at the Getting Started section of the documentation to see what you need to use Hibernate Validator 5. Naturally you will need the new Bean Validation 1.1 dependency, but you will also need an EL implementation - either provided by a container or added to your Java SE environment. Additional migration pointers can also be found in the Hibernate Validator migration guide.

You find the full release notes as usual on Jira. Maven artefacts are on the JBoss Maven repository under the GAV org.hibernate:hibernate-validator:5.0.1.Final and distribution bundles are available on SourceForge.

We are looking forward to get some feedback either on the Hibernate Validator forum or on stackoverflow using the hibernate-validator tag.

Enjoy!

4 comments:
 
02. May 2013, 15:36 CET | Link
Gunnar

Yeah! Happy Validating :)

ReplyQuote
 
02. May 2013, 22:10 CET | Link

Thank you very much! I've been looking forward for this release.

 
12. Apr 2014, 07:52 CET | Link

Initial designer watches are a great deal more trusted since that they feature extended extended warranty times

 
16. Jul 2014, 11:44 CET | Link

CliHow are you Try to fendi outlet accept a artist replica Louis Vuitton bag appearance that is the adverse of your physique type. If you are alpine and thin,rounded artist replica louis vuitton bag to acclaim your figure. If you're abbreviate and replica handbags voluptous, play off opposites by allotment replica Louis Vuitton handbags that is alpine and ellipsoidal or continued and sleek.While the artist replica louis vuitton handbags appearance should argue your physique blazon for best flattery, the admeasurement of the artist louis vuitton bag should be in admeasurement to Louis vuitton replica your figure. Think of a woman who is 6 anxiety alpine and a admeasurement 14 would attending absent with a teensy hand-held artist bag. A baby admeasurement would attending afflicted by an astronomic angled artist louis vuitton bag.A Louis Vuitton accept bag's breadth will accentuate whatever allotment of the gucci replica physique it comes near. we are committed to accommodate our replica louis vuitton bag at the accomplished artist bag superior standard. to our baby replica Louis Vuitton bag customers.Our replica louis vuitton accoutrements accept every individual detail that a branded artist louis vuitton bag should have. Our replica louis vuitton accoutrements accomplish you blockage in the arch of the latest artist bag appearance trends in the world, with a lot of agreeableness searching designer. We are alms top brand qualities affected Louis Vuitton handbags and affirmed artist replica louis vuitton bag supply in prompt.ck HELP for text formatting instructions. Then edit this text and check the preview.

Post Comment