org.hibernate.validator:hibernate-validator-osgi
7.0.2.Final
#1117 most downloaded on Maven Central
hibernate/hibernate-validator
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Ships unpredictably
gaps range from 9 days to 10 months
Some releases are documented
notes for 20 of 37 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
58 releases · first in 2017
0 releases in the last 12 months
see the full history below
Release timeline
58 releases · Feb 2017 to Feb 2022Releases
latest 58-
7.0.2.Final14 Dec 2021Release notes
Open source →Bug
- HV-1854 - PESELValidator does not valid correct
- HV-1833 - DomainNameUtil issues java.lang.StackOverflowError on very large error (@Email validation)
Improvement
- HV-1840 - Remove deprecated CDI API usage
Task
- HV-1862 - Update Log4j 2 test dependency to 2.16.0
- HV-1861 - Switch to the nexus-staging-maven-plugin
- HV-1860 - Add GitHub SSH keys to SSH agent during Jenkinsfile release
- HV-1859 - Update Log4j 2 test dependency to 2.15.0
- HV-1858 - Switch to OSSRH for deployment to Maven Central
- HV-1848 - Set up SSH config as part of the Jenkinsfile
- HV-1846 - Upgrade to Byte Buddy 1.11.6 in tests
- HV-1845 - Test Hibernate Validator against JDK 18
- HV-1844 - Upgrade Jakarta EL to 4.0.1
- HV-1843 - Upgrade Jackson test dependency to 2.12.3
- HV-1842 - Upgrade Guava test dependency to 30.1.1-jre
- HV-1841 - Expose a getter for the configured PropertyNodeNameProvider
- HV-1838 - Skip forbiddenapis on JDK17+
- HV-1837 - Language rework initiative
- HV-1836 - Restore CI for JDK 15
- HV-1835 - Test Hibernate Validator against JDK17
-
7.0.1.Final06 Feb 2021Release notes
Open source →Task
- HV-1826 - tck-runner - Reintroduce TCK Runner in container tests for Jakarta EE 9 using WildFly Preview
-
7.0.0.Final23 Dec 2020Release notes
Open source →Bug
- HV-1821 - engine - HV-1755 introduces NPE in org.hibernate.validator.internal.engine.ValidatorFactoryImpl constructor
New Feature
- HV-1822 - validators - Add Russian specific validator for russian taxpayer identification number
-
7.0.0.CR107 Dec 2020 pre-releaseRelease notes
Open source →Bug
- HV-1804 - translations - Fix Dutch translation for @Size constraint
- HV-1797 - validators - Validation on classes with a bidirectional relationship cause stack overflow on 6.1.x
Improvement
- HV-1815 - translations - Fix DecimalMax and DecimalMin in zh_CN translation
- HV-1814 - tests - Upgrade JUnit to 4.13.1
- HV-1812 - engine - Avoid reflection-based metadata extraction for built-in value extractors
New Feature
- HV-1816 - engine - Disable Expression Language by default for custom constraint violations
Task
- HV-1820 - engine - Upgrade JBoss Logging to 3.4.1.Final
- HV-1819 - engine - Upgrade Classmate to 1.5.1
- HV-1818 - build - Upgrade Jakarta API dependencies
- HV-1817 - build - Upgrade to checkstyle 8.38
- HV-1809 - tests - Upgrade to TestNG 6.14.3
- HV-1808 - tests - Upgrade to Arquillian 1.7.0.Alpha4
- HV-1807 - build - Add Maven profile to improve contributor experience on Intellij IDEA
- HV-1806 - tests - Use the local repository from the Maven build in OSGi/WildFly integration tests
- HV-1805 - build - Add a Jenkinsfile to test multiple JDKs from a single job
- HV-1803 - tests - Move the tests to log4j2
- HV-1802 - tests - Update ByteBuddy test dependency to 1.10.16
- HV-1795 - build - Remove link to JavaMoney javadoc
-
7.0.0.Alpha622 Jul 2020 pre-release -
7.0.0.Alpha520 Jul 2020 pre-releaseRelease notes
Open source →Bug
- HV-1761 - engine - Interpolation of primitive arrays causes a ClassCastException
Remove Feature
- HV-1790 - engine, validators - Remove the SafeHtml constraint
Task
- HV-1789 - engine, tests - Upgrade to Bean Validation 3.0.0 and update the XML namespaces
-
7.0.0.Alpha429 Jun 2020 pre-releaseRelease notes
Open source →Improvement
- HV-1782 - translations - Remove trailing dot from @Max constraint German translation
New Feature
- HV-1780 - validators - Add @Normalized contraint that validates if text is normalized in a given form
Task
-
7.0.0.Alpha326 May 2020 pre-release -
7.0.0.Alpha213 May 2020 pre-releaseRelease notes
Open source →Bug
- HV-1776 - annotation-processor - Rename annotation processor service file for new jakarta package
- HV-1775 - integration - Rename CDI extension service file for new jakarta package
- HV-1774 - engine - Invalid parsing of EL expression can lead to invalid EL expressions considered valid
- HV-1772 - engine - Building multiple ValidatorFactory instances from a single Configuration violates specification for MessageInterpolator
- HV-1771 - translations - Fix DecimalMin message German translation
- HV-1760 - validators - @Negative*/@Positive* do not support CharSequence as documented
Improvement
- HV-1773 - documentation - Be more explicit about issues with EL injection and how to avoid them
- HV-1770 - engine - Relax constraint consistency checking for built-in constraints
- HV-1769 - engine - Only create the default TraversableResolver if none has been specified
- HV-1767 - engine - Reduce the overhead of ConstraintHelper initialization in the predefined scope case
- HV-1763 - engine - Improve performances of ExecutableHelper#getSignature
- HV-1762 - engine - Avoid cloning overhead from Method.getParameterTypes()
Task
-
7.0.0.Alpha125 Mar 2020 pre-releaseRelease notes
Open source → -
6.2.1.Final14 Dec 2021Nothing published for this version
-
6.2.0.Final23 Dec 2020Nothing published for this version
-
6.2.0.CR107 Dec 2020 pre-releaseNothing published for this version
-
6.1.7.Final16 Dec 2020Nothing published for this version
-
6.1.6.Final30 Sep 2020Nothing published for this version
-
6.1.5.Final06 May 2020Nothing published for this version
-
6.1.4.Final17 Apr 2020Nothing published for this version
-
6.1.3.Final10 Apr 2020Nothing published for this version
-
6.1.2.Final31 Jan 2020Release notes
Open source →Bug
- HV-1756 - translations - Incorrect variables in the newly added translations
Task
- HV-1753 - tests - Force Pax-Exam and Karaf to use Maven Central repository with SSL enabled
-
6.1.1.Final15 Jan 2020Release notes
Open source →Improvement
- HV-1750 - engine - Add debug log when expression factory has failed to load
- HV-1747 - engine - Allow overriding the message interpolator in PredefinedScopeValidatorFactory context
- HV-1744 - documentation - Use auto-expanding entries in the documentation TOC
New Feature
- HV-1749 - engine - Introduce a LocaleResolver SPI
- HV-1748 - engine - Improve localization support via Locale.LanguageRange
Task
- HV-1745 - tests - Bump Jackson test dependency to 2.10.1
-
6.1.0.Final25 Oct 2019Release notes
Open source →Bug
- HV-1730 - engine - JavaBeanExecutable fails to initialize for enum type
- HV-1715 - engine - Validation can sometimes proceed to the next group in sequence even after one of the constraints generated a violation
Improvement
- HV-1729 - performance - Skip allocation of an action for each need to access the context classloader
Task
- HV-1743 - build - Upgrade maven-compiler-plugin to 3.8.1
- HV-1742 - build - Upgrade to WildFly 18.0.0.Final
- HV-1741 - build - Upgrade ByteBuddy test dependency to 1.10.2
- HV-1740 - engine - Deprecate @SafeHtml
- HV-1739 - engine - CVE-2019-10219 Security issue with @SafeHtml
- HV-1738 - build - Update Jackson test dependency to 2.9.10
- HV-1733 - tests - Fix locale settings of PredefinedScopeValidatorFactoryTest
- HV-1732 - build - Change tarLongFileMode to posix for assembly building
- HV-1731 - tck-runner - Move TCK signature check to tck-runner module
- HV-1728 - build - Upgrade to WildFly 17.0.1.Final
- HV-1727 - build - Update Jackson Databind test dependency to 2.9.9.2
- HV-1725 - build - Switch to using Jakarta EE artifacts
- HV-1724 - build - Update to OpenJFX 11.0.2
- HV-1680 - engine - Avoid reflection by using instrumentation - build the enhancer
-
6.1.0.Alpha619 Jul 2019 pre-releaseRelease notes
Open source →Bug
- HV-1722 - engine - Remove settings-example.xml reference from .travis.yml
- HV-1721 - engine - Take into account Hibernate Validator-specific configuration with PredefinedScopeValidatorFactoryImpl
- HV-1720 - engine - Support bounded wildcard types in container value unwrapping
New Feature
- HV-1723 - validators - Provide a DigitsValidatorForMonetaryAmount to support @Digits on MonetaryAmounts
Task
- HV-1726 - engine - Make PredefinedScopeHibernateValidatorFactory extend HibernateValidatorFactory
-
6.1.0.Alpha513 Jun 2019 pre-releaseRelease notes
Open source →Bug
- HV-1713 - engine - Missing violation when a bean is validated with different groups
- HV-1709 - validators - Polish Identification numbers are not considering length of the value
- HV-1706 - validators - ISBN-13 algorithm does not handle checksum 10
Improvement
- HV-1719 - engine - Accept setting per-validator TraversableResolver with PredefinedScopeValidatorFactoryImpl
- HV-1708 - translations - Add Danish translations of validation messages
- HV-1707 - validators - Add ISBN.Type.ANY
New Feature
- HV-823 - engine - Provide contract for customization of property names in constraint violation
Task
- HV-1718 - engine - Predefined scope ValidatorFactory: uninitialized bean class shouldn't throw an exception
- HV-1717 - build - Update test dependencies
- HV-1716 - build - Update WildFly secondary version to 17.0.0.Beta1
- HV-1712 - engine - Add org.hibernate.validator.metadata to OSGi manifest
- HV-1711 - build - Fix aggregated javadoc build with recent JDK 11
- HV-1710 - build - Remove settings-example.xml
-
6.1.0.Alpha422 Mar 2019 pre-releaseRelease notes
Open source →Bug
- HV-1704 - build - Build fails on Windows
- HV-1699 - validators - Rounding error when having a BigDecimal at runtime with @Max/@Min annotation set on a Number field
Improvement
- HV-1701 - - Add Max/MinValidatorForInteger
- HV-1700 - tests - Remove reference of absent valueextractor from test resources
- HV-1697 - engine - Reduce memory allocation of ValidationContexts
- HV-1696 - engine - Avoid using computeIfAbsent for the common case when getting bean metadata
- HV-1695 - engine - Avoid creating an empty map for group conversions
- HV-1694 - engine - Reduce memory allocation for unconstrained beans
Task
-
6.1.0.Alpha318 Feb 2019 pre-releaseRelease notes
Open source →Bug
- HV-1692 - engine - Custom group sequence might cause StackOverflowError on objects with cycles
- HV-1684 - validators - StackOverflowError with Hibernate Validator 6.0.13.Final
Improvement
- HV-1691 - engine - IndexOutOfBoundsException in PathImpl
- HV-1689 - engine - In GetInstancesFromServiceLoader, do not hide ServiceConfigurationError
- HV-1687 - engine - Reduce bootstrap log verbosity
- HV-1686 - translations - Fix a few typos in the Dutch translation
- HV-1683 - build - Upgrade javadoc plugin
New Feature
- HV-1657 - engine - Make the “propertyPath” available via the “HibernateMessageInterpolatorContext”
Task
- HV-1685 - integration - Upgrade the WildFly versions we generate patches for to 14.0.1.Final and 15.0.0.Final
-
6.1.0.Alpha219 Dec 2018 pre-releaseRelease notes
Open source →Bug
- HV-1681 - engine - PredefinedScopeValidatorFactory and @Valid on unregistered bean throws a NPE
Improvement
- HV-1651 - translations - Contribute additional language translations from OpenLiberty
New Feature
- HV-1682 - engine - Provide a way to normalize the class before getting the bean metadata
-
6.1.0.Alpha111 Dec 2018 pre-releaseRelease notes
Open source →Bug
- HV-1650 - validators - French translations are badly encoded
- HV-1645 - extensions - Revert HV-1609 due to increased CDI startup caused by ValidateableBeanFilter
- HV-1644 - build - Using Hibernate Validator with Java 11 brings JavaFX on the classpath
- HV-1637 - translations - PropertyNotFoundException for @DecimalMax when using the German translation
- HV-1634 - engine - Deal with synthetic and implicit parameters properly when getting the generic type of a parameter
- HV-1510 - validators - @NotNull doesn't work in 50% when annotated method is extended from multiple classes
- HV-1450 - engine - BeanMetaDataImpl.BeanMetaDataBuilder#build() can choose ConstraintMetaData w/o constraints
Improvement
- HV-1662 - engine - Extract BeanMetaDataBuilder to its own class file
- HV-1661 - engine - Remove impossible case from ValidatorImpl#buildNewLocalExecutionContext()
- HV-1656 - translations - Add translation of Validation Messages for Japanese language
- HV-1653 - engine - Improve the javadoc of ParameterScriptAssert
- HV-1643 - translations - Fix Russian translation for @Null constraint
- HV-1636 - engine - Avoid instantiating unnecessary objects during constraint metadata creation
- HV-1631 - engine - Avoid doing two lookups in the read methods of AnnotationProcessingOptionsImpl
- HV-1630 - engine - Introduce StringHelper.format()
- HV-1629 - engine - Fix compiler warnings
- HV-1628 - annotation-processor, engine, tests - Configure a stricter forbidden-apis policy and remove calls deprecated in Java 10
- HV-1626 - build - Remove useless Maven plugins and extensions
- HV-1623 - engine - Build an abstraction over reflection in engine
- HV-1622 - integration - Update the WildFly integration tests to use WildFly 13
- HV-1617 - build - Make our pom files more consistent with WildFly and JBoss parent pom files
- HV-1599 - engine - Avoid creating later discarded violations when reportAsSingleViolation is true
- HV-1526 - engine - Create separate validation context for different validation kinds
- HV-1484 - build - Unify JPMS module names and OSGi bundle names
- HV-667 - engine - Consider to create descriptor model lazily
New Feature
- HV-1671 - engine - Allow to retrieve all the built-in constraint annotations from ConstraintHelper
- HV-1670 - engine - Add the ability to preload a set of locales
- HV-1667 - engine - Create a predefined scope ValidatorFactory which initializes things eagerly
- HV-1363 - engine - Support for non-standard Java beans
Remove Feature
- HV-1624 - engine - Remove the StaticFieldELResolver
Task
- HV-1677 - engine - Allow for an explicit environment variable to disable the JavaFX extensions
- HV-1674 - engine - Make the name of the default bundle public in AbstractMessageInterpolator
- HV-1673 - engine - Audit new privileged calls in the reflection abstraction
- HV-1669 - engine - Only enable the SafeHtml constraint if jsoup in in the classpath
- HV-1668 - engine - Properly register all built-in constraints
- HV-1659 - integration - Upgrade WildFly to 14.0.1
- HV-1658 - engine - Remove a couple of stream usages in ConstraintHelper that cause a problem for another project
- HV-1649 - tck-runner - Upgrade to Bean Validation TCK 2.0.4.Final
- HV-1648 - build, integration - Reenable WildFly integration tests for JDK 11
- HV-1647 - tck-runner - Allow running TCK tests in container mode with JDK 11
- HV-1646 - build, integration, tck-runner - Upgrade WildFly to 14.0.0.Beta1
- HV-1641 - build - Use the OSS snapshot repository to download the JavaFX dependencies when building with JDK 11
- HV-1640 - build - Add compatibility with the latest JDK 11 build 22
- HV-1635 - documentation - Remove specific instructions for building with JDK 9 from the README
- HV-1627 - build - Upgrade our JPA test dependency to 2.2
- HV-1610 - integration - Reenable OSGi tests for JDK 10
- HV-1608 - build - Have the build work with JDK 11
- HV-1577 - engine - Use Stax instead of JAXB to parse the XML descriptors
-
6.0.23.Final09 Feb 2022Nothing published for this version
-
6.0.22.Final16 Dec 2020Nothing published for this version
-
6.0.21.Final29 Sep 2020Nothing published for this version
-
6.0.20.Final06 May 2020Nothing published for this version
-
6.0.19.Final27 Mar 2020Nothing published for this version
-
6.0.18.Final25 Oct 2019Nothing published for this version
-
6.0.17.Final13 Jun 2019Nothing published for this version
-
6.0.16.Final21 Mar 2019Nothing published for this version
-
6.0.15.Final18 Feb 2019Nothing published for this version
-
6.0.14.Final04 Jan 2019Nothing published for this version
-
6.0.13.Final22 Aug 2018 -
6.0.12.Final10 Aug 2018Release notes
Open source →Bug
- HV-1645 - extensions - Revert HV-1609 due to increased CDI startup caused by ValidateableBeanFilter
- HV-1644 - build - Using Hibernate Validator with Java 11 brings JavaFX on the classpath
Improvement
- HV-1643 - translations - Fix Russian translation for @Null constraint
Task
- HV-1649 - tck-runner - Upgrade to Bean Validation TCK 2.0.4.Final
- HV-1648 - build, integration - Reenable WildFly integration tests for JDK 11
- HV-1647 - tck-runner - Allow running TCK tests in container mode with JDK 11
- HV-1646 - build, integration, tck-runner - Upgrade WildFly to 14.0.0.Beta1
- HV-1627 - build - Upgrade our JPA test dependency to 2.2
-
6.0.11.Final18 Jul 2018Release notes
Open source →Bug
- HV-1637 - translations - PropertNotFoundException for @DecimalMax when using the German translation
Improvement
- HV-1628 - annotation-processor, engine, tests - Configure a stricter forbidden-apis policy and remove calls deprecated in Java 10
- HV-1615 - translations - Improvements on the dutch translations
Remove Feature
- HV-1624 - engine - Remove the StaticFieldELResolver
Task
- HV-1641 - build - Use the OSS snapshot repository to download the JavaFX dependencies when building with JDK 11
- HV-1640 - build - Add compatibility with the latest JDK 11 build 22
- HV-1610 - integration - Reenable OSGi tests for JDK 10
- HV-1608 - build - Have the build work with JDK 11
- HV-1577 - engine - Use Stax instead of JAXB to parse the XML descriptors
-
6.0.10.Final15 May 2018Release notes
Open source →Bug
- HV-1614 - engine - Unable to specify constraints at more than 1 nested parameter of a typed container
- HV-1609 - integration - CDI extension should not rely on @WithAnnotations filtering
- HV-1604 - engine - Initializing JPATraversableResolver fails with IllegalAccessException
- HV-1598 - engine - Fix the behavior of XML default-validated-executable-types
Improvement
- HV-1612 - translations - Add Dutch translation of the validation messages
- HV-1611 - translations - Be consistent in the case of the validation messages
- HV-1592 - engine - Make ConstraintValidator declaration stricter
- HV-1534 - engine - Allow getter constraints to be specified for subclasses in XML configuration
Task
-
6.0.9.Final27 Mar 2018Release notes
Open source →Bug
- HV-1596 - engine - NPE upon upgrade from HV 5.x to 6.0.8
- HV-1594 - integration - Add javax.annotation:javax.annotation-api to the hibernate-validator-javax-money Karaf feature
- HV-1589 - engine - HibernateConstraintValidators are not correctly cached
Improvement
- HV-1597 - engine - Allow overriding the constraint validator payload at the Validator level with null
- HV-1595 - engine - Move ConstraintValidatorPayload to ConstraintValidatorContext
- HV-1593 - integration - Split the hibernate-validator Karaf feature in several smaller features
- HV-1587 - engine - Reduce the already processed work units tracking impact
- HV-1586 - performance - Various improvements to performance tests
- HV-1585 - engine - Omit the cache lookup in AbstractMessageInterpolator for the simple text messages
Task
- HV-1578 - build - Disable the generation of @Generated annotation for JBoss Logging
-
6.0.8.Final07 Mar 2018Release notes
Open source →Bug
- HV-1554 - integration - OSGi tests running on Payara fail randomly
- HV-1551 - engine - Validator not found for @Size on non-parameterized Map/Collection properties
- HV-1461 - engine - ExecutableHelper#overrides does not work correctly with the method containing generic and non generic parameters
Improvement
- HV-1582 - build, integration - Make the classmate OSGi version range less strict
- HV-1581 - build - Make the Felix integration tests fail when a test fails
- HV-1580 - build - Fix the path of the setupModules.groovy script
- HV-1576 - build, integration - Upgrade the integration tests and the base WildFly version to WildFly 12
- HV-1573 - build - Ignore the Maven wrapper files in the license check
- HV-1572 - documentation - Make the custom container type value extractor example more clear in the documentation
- HV-1569 - tck-runner - updateStandaloneXml.groovy shoud take into account the property overridden with the command line
- HV-1568 - engine - Prevent possible NullPointerException in ValidatorFactoryScopedContext.Builder
- HV-1567 - engine - Make ValidationOrderGenerator global to the ValidatorFactory
- HV-1566 - engine - Cache type variable index for performance reasons
- HV-1565 - documentation - Add missing security manager permissions for JBoss Logging and Classmate in the documentation
- HV-1564 - build - Upgrade the Maven plugins
- HV-1563 - build - Update the TCK to 2.0.2.Final and reenable all the TCK tests with JDK 9
- HV-1562 - build - JDK9+ build improvements
- HV-1560 - engine - Remove Guava as dependency from engine
- HV-1559 - build - Align dependency versions with what's in WildFly 11
- HV-1553 - translations - Update Spanish translation of constraint messages
- HV-1543 - engine - Simplify ConstraintTree in the case of non composing constraints
- HV-1444 - engine - Support container only detectable at runtime for global cascaded validation and introduce a cache for the value extractors
New Feature
- HV-1529 - engine - Allow to pass a payload to the constraint validators
Sub-task
- HV-1556 - integration - Felix tests are referencing an outdated snapshot version
- HV-1555 - integration - Upgrade Payara (used for the Felix tests) to 5.Beta1
Task
- HV-1584 - tck-runner - Include JavaFX tests in TCK runs (local and incontainer)
- HV-1583 - build - Update javax.el dependency to 3.0.1-b09
- HV-1570 - build - Update JBoss Logging to version 3.3.2.Final
- HV-1558 - build - Put the distribution files to upload into distribution/target/dir so that release scripts find them
- HV-1557 - build - Remove old release scripts from the repository
- HV-1550 - build - Clarify the build output in the Travis build
- HV-1549 - build - Use mvn install instead of mvn verify in the Travis build
-
6.0.7.Final20 Dec 2017Release notes
Open source →Task
- HV-1548 - build - Upgrade the Bean Validation API and TCK to 2.0.1.Final
-
6.0.6.Final14 Dec 2017Release notes
Open source →Improvement
- HV-1533 - engine - Small performance improvements
- HV-1531 - engine - Regroup the ValidatorFactory scoped properties in ValidatorFactoryContext
- HV-1530 - annotation-processor - Add CodePointLength to supported AP types
- HV-1527 - engine - Separate Group and MetaConstraint - Path processed units in ValidationContext
- HV-1525 - engine - Various AbstractMessageInterpolator performance improvements
- HV-1524 - engine - Log temporal validation tolerance only if it has been explicitly set
- HV-1522 - engine - Improve performance of ConstraintViolationImpl hashCode() method
- HV-1506 - engine - Regroup the Validator scoped properties in ValidationContext
New Feature
- HV-1541 - engine - Add new constraint for ISBN
Task
- HV-1546 - engine - Reintroduce AnnotationProcessingOptions
- HV-1545 - engine - Reintroduce hibernate.validator.constraint_mapping_contributor
- HV-1538 - engine - Make the @Incubating annotation @Documented
- HV-1537 - engine - Reintroduce ReflectionParameterNameProvider to avoid API breakage
- HV-1536 - engine - Update description of required permissions in the reference guide
- HV-1535 - build - Use the default style for JavaDoc
-
6.0.5.Final15 Nov 2017Release notes
Open source →Bug
- HV-1520 - engine - Fix *ProcessedUnit equals() implementations
- HV-1516 - validators - E-mail validator does not allow IDN ascii domain labels
Improvement
- HV-1519 - build - Fix the jqassistant build
- HV-1518 - engine - Various minor cleanups
- HV-1515 - translations - Add missing strings to the simplified Chinese translation
- HV-1514 - performance - Update the versions used in the benchmarks and make the latest benchmark compatible with BV 1.1
- HV-1512 - engine, performance - Improve initialization cost of all logger classes
- HV-1511 - engine - Don't expose AnnotationDescriptor in AnnotationDef
- HV-1505 - engine - Create ConstraintAnnotationDescriptor for typed access to groups() etc.
- HV-1497 - engine - Extend the ConstraintValidator#initialize() contract
New Feature
- HV-1493 - engine - Support a temporal validation tolerance when applying temporal constraints
- HV-1466 - validators - Add a @UniqueElements constraints
Task
- HV-1513 - engine - Rename static logger fields from "log" to "LOG"
-
6.0.4.Final25 Oct 2017Release notes
Open source →Bug
- HV-1508 - engine - Reset the hashCode of PathImpl when we remove the leaf node
- HV-1373 - engine - Validator calls objects hashCode() after failed @NotNull validation
Improvement
- HV-1509 - engine - Reference constraint validator factory consistently
- HV-1507 - engine - Avoid resetting the PathImpl.hashCode() when setting the property value
- HV-1503 - engine - Store the initialized ConstraintValidator in ConstraintTree
- HV-1502 - engine - Use AnnotationDescriptor to access annotations information
- HV-1323 - engine - Drop WARN log message in ParameterMessageInterpolator instantiation
- HV-1040 - engine - Field-level constraint performance impairment
Task
-
6.0.3.Final19 Oct 2017Release notes
Open source →Bug
- HV-1494 - validators - Hibernate Validator specific @NotEmpty used on return type throws an exception
- HV-1492 - engine - Parameters passed in wrong order to log method
- HV-1490 - engine - Feature detection in ConstraintHelper not consistent with what is required by HV
- HV-1485 - engine - ConstraintViolationImpl is not serializable if the constraint can target a generic type (typically Collection)
- HV-1481 - engine - @Valid ignores Iterables/Arrays returned by methods with a generic return type
- HV-1478 - build, integration - hibernate-validator-cdi has invalid OSGi manifest
- HV-1474 - engine - Incorrect NodeImpl hashCode()/equals() contract
- HV-1184 - engine - JaCoCo code coverage fails since ConstraintDescriptorImpl#buildAnnotationParameterMap() does not filter out synthetic methods
Improvement
- HV-1499 - documentation - Update the getting started guide with the latest additions to the policy file
- HV-1487 - engine - Add an option to disable the TraversableResolver result cache
- HV-1486 - engine - Add a toString() to AnnotationParameters
- HV-1482 - engine - Reduce visibility of some of the value extractors
- HV-1480 - engine - Performance and memory allocation improvements
- HV-1479 - validators - Document requirement of java.xml.bind module on Java 9 when using XML descriptors
- HV-1476 - build - Update checkstyle to latest
- HV-1475 - build - Update Maven dependencies
- HV-1469 - engine - ScriptEvaluatorFactory should be scoped to the validator factory
- HV-1417 - documentation - Documentation - Discuss ContainerElementTypeDescriptor and al.
- HV-1415 - documentation - Documentation - Discuss the Path API
- HV-937 - documentation - Make use of custom asciidoctor template to change numbering of examples and cross referencing in documentation
New Feature
- HV-1496 - engine - Add @CodePointLength constraint that validates code point length
- HV-1463 - engine - Make bootstrapping of script evaluators for @ScriptAssert more flexible
Task
-
6.0.2.Final22 Aug 2017Release notes
Open source →Bug
- HV-1471 - engine - Properly reset the context after constraint validation
- HV-1470 - annotation-processor - ConstraintValidatorCheck should be made a warning
Task
-
6.0.1.Final04 Aug 2017Release notes
Open source →Improvement
- HV-1460 - build - Remove the Maven version prerequisite as it's redundant with the enforcer configuration and now generates a warning
- HV-1459 - build - Add a "sigtest" profile to make running the SigTest test easier
- HV-1457 - translations - Update the Persian translation
- HV-1456 - engine - Fix comments mixed up by Eclipse refactorings
- HV-1455 - engine - Improve Validator#validate...() sanity checks
- HV-1454 - build - Support JDK 9 build 180
- HV-1452 - engine - Add Spanish translations for BV 2.0 constraints
- HV-1448 - engine - Remove some superfluous fields from metamodel
- HV-1447 - engine - Remove metadata for unconstrained methods from the aggregated metamodel
- HV-1445 - engine - Remove BeanConfiguration cache in AnnotationMetadataProvider
- HV-1443 - engine - AbstractConstrainedElement#isConstrained() should also return true if there are group conversions without cascading
- HV-1442 - engine - Fix root cascading metadata for arrays in the programmatic API
- HV-1441 - engine - Clean up the initialization of CascadingMetaData
- HV-1439 - engine - Improve overall performances
- HV-1438 - engine - Narrow down value extractors considered for cascaded validation to the ones compatible
- HV-1437 - engine - Look at reducing the runtime memory usage of the ValidatorFactory
- HV-1422 - documentation - Extract properties for base URLs commonly used in the reference guide
- HV-1405 - tests - Review assertCorrectPropertyPathStringRepresentations usage
Task
-
6.0.0.Final04 Aug 2017Release notes
Open source →Improvement
- HV-1458 - engine - Avoid performance regression for cascaded validation
- HV-1451 - engine - Add @PastOrPresent and @FutureOrPresent messages
Task
- HV-1453 - build - Upgrade to final versions of BV API and TCK
-
6.0.0.CR311 Jul 2017 pre-releaseRelease notes
Open source →Bug
- HV-1429 - integration - Incorrect URL in Paranamer Karaf feature
- HV-1384 - engine - Fix CascadingMetaData for arrays
Improvement
- HV-1434 - engine - Make order of <constraint> and <container-element-type> consistent in XSD
- HV-1433 - validators - Don't apply regular expression for @Email if no pattern or flags are given
- HV-1431 - engine - Clean up for constraint locations
Task
- HV-1435 - build - Upgrade to Bean Validation 2.0.0.CR3 (API + TCK)
- HV-1427 - engine - Improve consistency of method names in the Log class
- HV-1426 - integration - Make javax.el work in OSGi environment without requiring setting the external class loader
- HV-1389 - tests - Clean up @CandidateForTck tests
- HV-1371 - tests - Add missing examples to the specexample PropertyPath test
- HV-1351 - engine - Throw an exception when declaring a ValueExtractor with @ExtractedValue on a non wildcard type
- HV-1315 - engine - Remove container element type support for arrays
- HV-1248 - documentation - Update links to the spec
-
6.0.0.CR205 Jul 2017 pre-releaseRelease notes
Open source →Bug
- HV-1359 - engine - Loading ConstraintValidators with service loader does not take into account externalClassLoader
Improvement
- HV-1411 - engine, tests - Use the full URLs in xsi:schemaLocation of our XML files
- HV-1410 - extensions - CDI Integration uses deprecated API
- HV-1409 - engine - Fix ContainerClassTypeParameterAndExtractor toString()
Task
- HV-1425 - build - Upgrade the Bean Validation API and TCK to 2.0.0.CR2
- HV-1423 - engine - from of @ConvertGroup and <convert-group /> now has a default value
- HV-1419 - engine - Introduce an HV specific ContainerElementNode with a getValue() method
- HV-1412 - engine - Take into account API changes introduced as part of BVAL-674
- HV-1408 - engine - Add small usage tests for each HV annotation
- HV-1391 - documentation - First pass on the documentation for Bean Validation 2.0
-
6.0.0.CR129 Jun 2017 pre-releaseRelease notes
Open source →Bug
- HV-1403 - engine - Container class and type argument index information not present in case of implicit unwrapping
- HV-1381 - engine - Unwrapping should work if there is only one VE compatible with the type even if there are 2 type arguments
- HV-1377 - annotation-processor - StackOverflowError during compilation with annotation-processor enabled
- HV-1358 - engine - Class loading issue in modularized environment for value extractors loader by the service loader
- HV-1347 - documentation - Broken link in documentation: "Anatomy of Credit Card Numbers"
Improvement
- HV-1402 - engine - Rename internal.engine.cascading package to internal.engine.valueextraction
- HV-1393 - documentation - Update schema coordinates in the documentation to use BV 2.0 schemas
- HV-1392 - annotation-processor - Annotation Processor should check that constraint payload does not contains both Unwrap and Skip at the same time
- HV-1378 - engine - Having both Unwrap and Skip in the payload should throw a ConstraintDeclarationException and not a ConstraintDefinitionException
- HV-1375 - engine - English javax.validation.constraints.NotNull.message not in line with the spec
- HV-1360 - tests - Various infelicities in container element constraints XML tests
- HV-1337 - tests - Test framework adjustments to improve consistency with the TCK
New Feature
- HV-1382 - engine - Implement @PastOrPresent and @FutureOrPresent constraints
- HV-1376 - annotation-processor - Check that @Positive/@Negative and OrZero versions are taken into account in the annotation processor
- HV-1362 - engine - Add support for @OverridesAttribute default name()
- HV-1356 - engine - Enable CDI for value extractors added via the ServiceLoader
Task
- HV-1406 - build - Upgrade to Bean Validation and TCK 2.0.0.CR1
- HV-1401 - engine - Add missing Export clause to manifest file
- HV-1400 - annotation-processor, engine - Replace remaining package.html files with equivalent package-info.java
- HV-1399 - documentation - Increase TOC depth for reference guide
- HV-1396 - annotation-processor - Move non-public classes of annotation processor to org.hibernate.validator.ap.internal
- HV-1394 - tck-runner - Disable the access log of the security manager by default
- HV-1387 - tests - Add tests for the string representation of the property path
- HV-1385 - engine - Metadata adjustments following BVAL-655
- HV-1383 - engine - Default type of @ExtractedValue is now void.class instead of Void.class
- HV-1380 - engine - Wrap ValueExtractor#extractValues() exceptions in ValidationException
- HV-1372 - engine - Implement @PositiveOrZero and @NegativeOrZero support
- HV-1369 - engine - Add programmatic definitions for @Positive/@Negative and allegates
- HV-1368 - engine - Update NotEmptyDef, NotBlankDef... to use the specification constraints
- HV-1366 - engine - Declaring the exact same value extractor twice in XML should throw an exception
- HV-1365 - tests - Make spec example 6.6 (property paths) an executable test
- HV-1354 - tck-runner - Make JavaFX classes visible when running the TCK in incontainer mode
- HV-1350 - tests - Use the new containsOnlyViolations test framework
- HV-1349 - tests - Add an annotation to mark candidates for TCK
- HV-1348 - engine - Add a toString() for GroupConversionHelper
- HV-1325 - build - Add an Automatic-Module-Name entry to the jar manifests
- HV-1151 - documentation - Update the XML schema images of the documentation for BV 2.0
- HV-1051 - build - OSGi tests fail using JDK 9
-
6.0.0.Beta224 May 2017 pre-releaseRelease notes
Open source →Bug
- HV-1343 - engine - TypeArgumentConstraintLocation equals/hashCode implementation is broken
- HV-1342 - integration - Use the default ParameterNameProvider in the startup stage of a CDI environment
- HV-1341 - engine - Validator#validateValue on a class with constraints leads to a ClassCastException
Improvement
- HV-1344 - engine - Change the way legacy @Valid on containers are handled
- HV-1339 - engine - Add support for non parameterized type in value extraction
- HV-1335 - build - Upgrade assertj-core to 3.7.0
- HV-1327 - documentation - Use hibernate-asciidoctor-extension for example numbering in documentation
- HV-1307 - validators - SafeHtmlDef programmatic API should not use annotation proxies
- HV-1302 - validators - @SafeHtml should support adding additional protocols
- HV-1300 - validators - Split *ForNumber validators in an implementation per type
New Feature
- HV-1333 - integration - ValueExtractors should be CDI-enabled
Task
-
6.0.0.Beta111 May 2017 pre-releaseRelease notes
Open source →Bug
- HV-1330 - engine - Transient failure of XmlBasedMethodValidationTest#cascadingArrayParameter
- HV-1326 - engine - NPE when null value is encountered during nested cascaded validation
- HV-1311 - engine - Some jdk.internal annotations are not ignored in constraints discovery
Improvement
- HV-1321 - engine - Add missing method re-definitions to HibernateValidatorContext
- HV-1309 - engine - @Deprecated should be ignored as a potential composing constraint annotation
- HV-1308 - build - Use license-maven-plugin instead of checkstyle to check the licenses
- HV-1305 - build - Use HTML5 doclet when generating JavaDoc with Java 9
- HV-1303 - validators - @SafeHtml should support relative URLs
New Feature
- HV-1313 - engine - Support group conversion for container element types
- HV-1312 - engine, tests - In XML, containerElementType should be renamed container-element-type for consistency
- HV-1310 - engine - Support container element constraints for nested arrays
- HV-1304 - engine - Explore extension of meta-model to cover container element constraints
- HV-1298 - validators - Support @Positive/@Negative for monetary amount
- HV-1297 - annotation-processor - Annotation processor support for @NotEmpty, @NotBlank, @Email, @Positive, @Negative
Sub-task
- HV-1306 - engine - Throw an exception if several value extractors are defined in parallel hierarchies
Task
- HV-1332 - tck-runner - Upgrade the TCK to 2.0.0.Beta1
- HV-1329 - engine - Add validation messages for new built-in constraints
- HV-1324 - tests - Fix annotation processor test issue with latest JDK 9
- HV-1320 - engine - Replace <iterable element> by <list element> in the node path of Lists
- HV-1319 - build - Update HV to use Bean Validation 2.0.0.Beta1
- HV-1318 - engine - Take into account the move of ValidateUnwrappedValue to javax.validation.metadata
- HV-1296 - engine - Follow-up to-dos around value extractor implementation
- HV-1288 - build - Don't use org.testng.AssertJUnit
-
6.0.0.Alpha230 Mar 2017 pre-releaseRelease notes
Open source →Bug
- HV-1293 - validators - @Size validator is not declared for short[]
- HV-1284 - build - Reenable testing under the security manager
- HV-1280 - engine - Class loading conflict when custom Xerces is part of a deployment
- HV-1265 - engine - Supported nested container element constraints on property getters
- HV-1264 - engine - Message interpolation fails with single opening or closing brace in regex character class
- HV-1258 - engine - Make sure method validation options are correctly handled when given via ValidatorContext
- HV-1252 - annotation-processor - Annotation processor is not aware of new constraint @Currency and validators for type MonetaryAmount
Improvement
- HV-1294 - build - hibernate-validator-cdi artefact is not OSGI'ed
- HV-1286 - performance - Improve performance tests
- HV-1285 - engine - Use the new toImmutable helpers where it makes sense
- HV-1283 - engine - Make HV engine more friendly towards usage as a Java 9 named module
- HV-1279 - engine, tests - Ensure that adding constraint on a generic type argument throw a proper exception
- HV-1277 - engine - HV 6 massive performance regression in cascaded validation
- HV-1269 - performance - Modify JMH performance tests to prevent JVM optimisation skewing results
- HV-1262 - engine - Add affected validator classes to exception messages if there are multiple matching ones
- HV-1259 - engine - Don't rely on descriptor model for BeanMetaDataImpl#hasConstraints()
New Feature
- HV-1292 - validators - Support new spec constraints @NotEmpty, @NotBlank, @Email, @Positive, @Negative
- HV-1278 - performance - Add performance test for multi-level container element validation
- HV-1275 - annotation-processor - Annotation processor should detect if composed annotation has direct and List annotations of the same kind
- HV-1270 - engine - Throw an exception if a composed annotation has, for one given constraint type, a direct annotation and annotations in a List container
- HV-1256 - engine - Implement discovery of value extractors via service loader
- HV-1245 - engine - Use ElementKind.CONTAINER_ELEMENT for constraints located in type arguments
- HV-1239 - engine - Expand API for programmatic constraint definition to support type-argument constraints and cascades
Sub-task
- HV-1291 - engine - Support container element type constraints definition via XML
- HV-1290 - engine - Support exploring the parent classes and interfaces to search the ValueExtractor definition
- HV-1261 - engine - Allow value extractors to be contributed using service loader mechanism
- HV-1260 - engine - Allow to specify value extractors using validation.xml
- HV-1257 - engine - Implement Configuration#addValueExtractor() and ValidatorContext#addValueExtractor()
Task
- HV-1301 - tck-runner - Upgrade TCK to 2.0.0.Alpha3
- HV-1299 - tck-runner - Upgrade TCK to 2.0.0.Alpha2
- HV-1295 - build - Update to validation-api 2.0.0.Alpha2
- HV-1287 - build - Upgrade to CheckStyle 7.6
- HV-1276 - performance - Performance tests infrastructure updates and fixes
- HV-1273 - tests - Improve output in case ConstraintViolationSetAssert#containsOnlyPaths() fails
- HV-1266 - build - Update build instructions as per latest Java 9 releases
- HV-1255 - build - Remove obsolete "chronos-jmeter-maven-plugin" plug-in
- HV-1254 - engine - Remove unused ConstrainedElementKind TYPE_USE
- HV-1251 - tck-runner - Ensure we don't release anything with snapshot dependencies
- HV-1247 - engine - Follow-up to-dos around value extractor implementation
- HV-1230 - documentation - Update the groupId in README.md once the first alpha release of HV 6 is released
- HV-1152 - documentation - Make JavaDoc render correctly with Java 9
-
6.0.0.Alpha115 Feb 2017 pre-releaseRelease notes
Open source →Bug
- HV-1088 - engine - Unexpected behavior multi threads accessing ConstraintValidatorManager
Improvement
- HV-1249 - engine - Improve collection allocations in hot code path
- HV-1246 - engine, tests - Make node names constants
- HV-1244 - translations - Add translation for Persian language
- HV-1238 - engine - Expand the initial capacity of future/past validators list for added validators
- HV-1235 - validators - Javadoc for PESEL mentions NIP
- HV-1202 - engine - Use toInstant() instead of timeInMillis() for @Past/@Future validators on Date/Calendar
- HV-1194 - documentation - BootstrappingTest of the documentation is not tested at all
- HV-1193 - engine - Avoid systematic resizing of collections when using CollectionHelper with a size
- HV-1186 - build - Move javax.money version properties outside of the WF dependencies block
- HV-1178 - integration - Custom ValidationProviderResolver no longer needed for OSGi with explicitely given provider
- HV-1175 - engine - Support type annotations on arrays and arrays of primitives
- HV-1174 - tests - Typos in test methods name of Executable*Test
- HV-1172 - engine - Remove unused methods from Cascadable
- HV-1171 - engine - Include the simple name of the class when logging a method name
- HV-1145 - build - Update checkstyle ParenPad rule to include RESOURCE_SPECIFICATION
- HV-1120 - engine - Remove deprecated ignoreAnnotations() method
- HV-1111 - build - Allow reference to types in JavaDoc without FQN
- HV-1110 - engine - Additional TYPE_USE related cleanup
- HV-1108 - engine - Add Repeatable to NON_COMPOSING_CONSTRAINT_ANNOTATIONS
- HV-1105 - engine - Revisit shared state managed by ValidatorFactoryImpl
- HV-1103 - engine - Remove remaining pre-Java-8 code
- HV-1085 - build - Raise BV to 2.0.0-SNAPSHOT and Java baseline to version 8
- HV-1084 - engine - Move XML namespace to jcp.org from jboss.org
- HV-966 - engine - ParameterNameProvider is called on methods with no parameter as well as Object methods
New Feature
- HV-1236 - build - Upgrade to BV API 2.0.0.Alpha1
- HV-1232 - validators - Implement constraint and validator for java.time.Duration
- HV-1166 - engine - Implement proposal for value extractors
- HV-1135 - validators - Implement initial BV 2.0 proposal for @Past/@Future support for JSR 310
- HV-1122 - engine - Explore constraints based on Lambda expressions
- HV-1118 - engine - Adapt default ParameterNameProvider to adhere to BV 2.0 rules
- HV-1094 - engine - Mark constraints to support TYPE_USE
- HV-875 - engine, validators - Mark built-in constraints with @Repeatable
Sub-task
- HV-1243 - engine - Throw an exception if extractor not found during cascaded validation
- HV-1237 - engine - Support nested extraction
- HV-1219 - engine - Implement latest changes to the exception model of value extraction
- HV-1213 - engine - Remove the implicit unwrapping of Optional
- HV-1208 - engine - Implicit unwrapping, e.g. @Min(1) IntegerProperty myInt; currently an explicit @UnwrapValidatedValue is required
- HV-1207 - engine - Move retrieval of extractors for constraints (not cascaded validation) to metadata retrieval time and implement per constraint unwrapping
- HV-1206 - engine - Require @ExtractedValue in extractor implementation when dealing with the annotated object itself
Task
- HV-1240 - engine - Don't call ValueExtractors on null values
- HV-1233 - documentation - Convert tabs to space in rendered doc to have a consistent behavior across browsers
- HV-1231 - engine - Set "ignore-annotations" to true in the mapping XSD by default for beans
- HV-1229 - tests - Upgrade OSGi test dependencies
- HV-1228 - documentation - Switch to the common AsciiDoctor theme for the documentation
- HV-1225 - engine - Remove unused method in ReflectionHelper
- HV-1224 - build - Change group id to "org.hibernate.validator"
- HV-1223 - build - Set up jQAssistant to create "Leaky API" report
- HV-1222 - engine - Update CollectionHelper.iteratorFromArray and add CollectionHelper.iterableFromArray
- HV-1215 - build - Rework the common release scripts to support Asciidoctor output