
Hibernate Validator 6.0.10.Final 已发布,建议 6.x 版本的用户尽快升级,它是 6.0.9.Final 的直接替换版本,带来了一些不错的改进并修复 bug 。
更新内容:
Bug 修复
- HV-1604 – Initializing
JPATraversableResolver
fails withIllegalAccessException
: this is a regression from 6.0.3.Final, theJPATraversableResolver
was not correctly instantiated and thus not used, even in a JPA environment. - HV-1609 – CDI extension should not rely on
@WithAnnotations
filtering:@WithAnnotations
does not consider the annotations in the class hierarchy so a bean with constraint annotations only in the class hierarchy would not see these constraints applied. - HV-1614 – Unable to specify constraints at more than 1 nested parameter of a typed container: in the programmatic API, nested container element constraints and cascading were not working as expected.
JDK 10 支持
现在可以使用 JDK 10 构建和使用 Hibernate Validator。
完整更新内容请查看 JIRA.
转自 https://www.oschina.net/news/96157/hibernate-validator-6010-released