Hibernate Validator 5.4.1.Final 发布了,该版本主要没有大的变更,主要是 bug 的修复。建议升级。
该版本中突出的错误修复:
HV-1088 - Fix a concurrency issue in validator initialization that you probably wouldn’t encounter in a normal usage - you’re supposed to use a shared ConstraintValidatorFactory
which mitigates the issue
HV-1280 - Fix a class loading conflict with Xerces in modular environements (e.g. WildFly)
HV-1252 - Fix an issue with the annotation processor and JavaMoney support. Thanks go to Guillaume Husta for this one.
HV-1253 - A few TYPE_USE mentions had been mistakenly introduced in 5.4 when backporting from 6 (5.4 still supports Java 6)