Hibernate Validator 6.0.0.CR2 已发布,兼容 Bean Validation 2.0 CR 2 。
Hibernate Validator 是 Bean Validation 的参考实现。随着 Bean Validation 2.0 最终版本的临近,Hibernate Validator 6.0.0 也更多的聚焦在最新的规范说明和更新文档上。
主要更新内容:
The
from
of@ConvertGroup
and is now optional: it defaults to theDefault
group.Some last minute changes were made in the Bean Validation API on the naming of the value unwrapping related method: we updated Hibernate Validator accordingly.
We made a first pass on the documentation: some things are still missing (mostly about the new value extraction feature) but the documentation should not contain outdated information anymore.