[hibernate/hibernate-validator] 40c5c6: HV-1816 Disable Expression Language by default for...
by Guillaume Smet
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-validator
Commit: 40c5c645b77a5f9020142129c63fc44df03c538a
https://github.com/hibernate/hibernate-validator/commit/40c5c645b77a5f902...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M documentation/src/main/asciidoc/ch06.asciidoc
M documentation/src/main/asciidoc/ch12.asciidoc
M documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/SafeValidator.java
M documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/UnsafeValidator.java
M engine/src/main/java/org/hibernate/validator/constraintvalidation/HibernateConstraintValidatorContext.java
A engine/src/main/java/org/hibernate/validator/constraintvalidation/HibernateConstraintViolationBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/engine/MessageInterpolatorContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintViolationCreationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/CrossParameterConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/AbstractValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/AbstractMessageInterpolator.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/HibernateMessageInterpolatorContext.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/constraintvalidation/HibernateConstraintValidatorContextTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ExpressionLanguageMessageInterpolationTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/MessageInterpolatorContextTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ResourceBundleMessageInterpolatorTest.java
Log Message:
-----------
HV-1816 Disable Expression Language by default for custom constraint violations
Commit: 05f795bb7cf18856004f40e5042709e550ed0d6e
https://github.com/hibernate/hibernate-validator/commit/05f795bb7cf188560...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M documentation/src/main/asciidoc/ch04.asciidoc
M documentation/src/main/asciidoc/ch12.asciidoc
A documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/el/ElFeaturesTest.java
M engine/src/main/java/org/hibernate/validator/BaseHibernateValidatorConfiguration.java
M engine/src/main/java/org/hibernate/validator/constraintvalidation/HibernateConstraintViolationBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/engine/AbstractConfigurationImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/MessageInterpolatorContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/PredefinedScopeValidatorFactoryImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryConfigurationHelper.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryScopedContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintViolationCreationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/CrossParameterConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/ElTermResolver.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/BeanMethodsELContext.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/BeanPropertiesELResolver.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/BeanPropertiesElContext.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/DisabledFeatureELException.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/NoOpElResolver.java
R engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/SimpleELContext.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/VariablesELContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/AbstractValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/ParameterExecutableValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/ValidatorScopedContext.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/AbstractMessageInterpolator.java
A engine/src/main/java/org/hibernate/validator/messageinterpolation/ExpressionLanguageFeatureLevel.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/HibernateMessageInterpolatorContext.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/ParameterMessageInterpolator.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/ResourceBundleMessageInterpolator.java
M engine/src/test/java/org/hibernate/validator/test/constraints/ConstraintValidatorContextImplTest.java
A engine/src/test/java/org/hibernate/validator/test/el/ConstraintExpressionLanguageFeatureLevelTest.java
A engine/src/test/java/org/hibernate/validator/test/el/CustomViolationExpressionLanguageFeatureLevelTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ExpressionLanguageMessageInterpolationTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/MessageInterpolatorContextTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ResourceBundleMessageInterpolatorTest.java
M engine/src/test/java/org/hibernate/validator/testutils/ValidatorUtil.java
M engine/src/test/resources/log4j2.properties
A engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-bean-methods.xml
A engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-default.xml
A engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-bean-methods.xml
A engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-default.xml
Log Message:
-----------
HV-1816 Limit the EL features exposed by default
Commit: a43d07d939f00f698417ba07fcea9e8ed7603b49
https://github.com/hibernate/hibernate-validator/commit/a43d07d939f00f698...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/BooleanArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ByteArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/CharArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/DoubleArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/FloatArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/IntArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/IterableValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ListPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ListValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/LongArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/MapKeyExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/MapPropertyKeyExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/MapPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/MapValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ObjectArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ObservableValueValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/OptionalDoubleValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/OptionalIntValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/OptionalLongValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/OptionalValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ReadOnlyListPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ReadOnlyMapPropertyKeyExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ReadOnlyMapPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ReadOnlySetPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/SetPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ShortArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ValueExtractorDescriptor.java
Log Message:
-----------
HV-1812 Avoid reflection-based metadata extraction for built-in value extractors
Compare: https://github.com/hibernate/hibernate-validator/compare/81b828d13ee6...a...
3 years, 9 months
[hibernate/hibernate-validator] e07629: HV-1816 Disable Expression Language by default for...
by Guillaume Smet
Branch: refs/heads/6.2
Home: https://github.com/hibernate/hibernate-validator
Commit: e076293b0ee1bfa97b6e67d05ad9eee1ad77e893
https://github.com/hibernate/hibernate-validator/commit/e076293b0ee1bfa97...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M documentation/src/main/asciidoc/ch06.asciidoc
M documentation/src/main/asciidoc/ch12.asciidoc
M documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/SafeValidator.java
M documentation/src/test/java/org/hibernate/validator/referenceguide/chapter06/elinjection/UnsafeValidator.java
M engine/src/main/java/org/hibernate/validator/constraintvalidation/HibernateConstraintValidatorContext.java
A engine/src/main/java/org/hibernate/validator/constraintvalidation/HibernateConstraintViolationBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/engine/MessageInterpolatorContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintViolationCreationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/CrossParameterConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/AbstractValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/AbstractMessageInterpolator.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/HibernateMessageInterpolatorContext.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/constraintvalidation/HibernateConstraintValidatorContextTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ExpressionLanguageMessageInterpolationTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/MessageInterpolatorContextTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ResourceBundleMessageInterpolatorTest.java
Log Message:
-----------
HV-1816 Disable Expression Language by default for custom constraint violations
Commit: d2db40b9e7d22c7a0b44d7665242dfc7b4d14d78
https://github.com/hibernate/hibernate-validator/commit/d2db40b9e7d22c7a0...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M documentation/src/main/asciidoc/ch04.asciidoc
M documentation/src/main/asciidoc/ch12.asciidoc
A documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/el/ElFeaturesTest.java
M engine/src/main/java/org/hibernate/validator/BaseHibernateValidatorConfiguration.java
M engine/src/main/java/org/hibernate/validator/constraintvalidation/HibernateConstraintViolationBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/engine/AbstractConfigurationImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/MessageInterpolatorContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/PredefinedScopeValidatorFactoryImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryConfigurationHelper.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryScopedContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintViolationCreationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/CrossParameterConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/ElTermResolver.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/BeanMethodsELContext.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/BeanPropertiesELResolver.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/BeanPropertiesElContext.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/DisabledFeatureELException.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/NoOpElResolver.java
R engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/SimpleELContext.java
A engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/el/VariablesELContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/AbstractValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/ParameterExecutableValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/ValidatorScopedContext.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/AbstractMessageInterpolator.java
A engine/src/main/java/org/hibernate/validator/messageinterpolation/ExpressionLanguageFeatureLevel.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/HibernateMessageInterpolatorContext.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/ParameterMessageInterpolator.java
M engine/src/main/java/org/hibernate/validator/messageinterpolation/ResourceBundleMessageInterpolator.java
M engine/src/test/java/org/hibernate/validator/test/constraints/ConstraintValidatorContextImplTest.java
A engine/src/test/java/org/hibernate/validator/test/el/ConstraintExpressionLanguageFeatureLevelTest.java
A engine/src/test/java/org/hibernate/validator/test/el/CustomViolationExpressionLanguageFeatureLevelTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ExpressionLanguageMessageInterpolationTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/MessageInterpolatorContextTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ResourceBundleMessageInterpolatorTest.java
M engine/src/test/java/org/hibernate/validator/testutils/ValidatorUtil.java
M engine/src/test/resources/log4j2.properties
A engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-bean-methods.xml
A engine/src/test/resources/org/hibernate/validator/test/el/validation-constraints-default.xml
A engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-bean-methods.xml
A engine/src/test/resources/org/hibernate/validator/test/el/validation-custom-violations-default.xml
Log Message:
-----------
HV-1816 Limit the EL features exposed by default
Commit: 93c7dd7ec09dc4d1db48ef02fe0255bb33de1e28
https://github.com/hibernate/hibernate-validator/commit/93c7dd7ec09dc4d1d...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/BooleanArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ByteArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/CharArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/DoubleArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/FloatArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/IntArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/IterableValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ListPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ListValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/LongArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/MapKeyExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/MapPropertyKeyExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/MapPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/MapValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ObjectArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ObservableValueValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/OptionalDoubleValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/OptionalIntValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/OptionalLongValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/OptionalValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ReadOnlyListPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ReadOnlyMapPropertyKeyExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ReadOnlyMapPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ReadOnlySetPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/SetPropertyValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ShortArrayValueExtractor.java
M engine/src/main/java/org/hibernate/validator/internal/engine/valueextraction/ValueExtractorDescriptor.java
Log Message:
-----------
HV-1812 Avoid reflection-based metadata extraction for built-in value extractors
Commit: 55a24f3368bda1e590b7a2ffe31575e46398f988
https://github.com/hibernate/hibernate-validator/commit/55a24f3368bda1e59...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M annotation-processor/src/main/java/org/hibernate/validator/ap/internal/util/ConstraintHelper.java
M annotation-processor/src/main/java/org/hibernate/validator/ap/internal/util/TypeNames.java
M annotation-processor/src/test/java/org/hibernate/validator/ap/ConstraintValidationProcessorTest.java
M annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/customconstraints/HibernateValidatorProvidedCustomConstraints.java
M distribution/pom.xml
M distribution/src/main/assembly/dist.xml
M documentation/src/main/asciidoc/ch02.asciidoc
M engine/pom.xml
R engine/src/main/java/org/hibernate/validator/cfg/defs/SafeHtmlDef.java
R engine/src/main/java/org/hibernate/validator/constraints/SafeHtml.java
R engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/SafeHtmlValidator.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/BuiltinConstraint.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/ConstraintHelper.java
M engine/src/main/resources/org/hibernate/validator/ValidationMessages.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_ar.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_cs.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_da.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_de.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_es.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_fa.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_fr.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_hu.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_it.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_ja.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_ko.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_nl.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_pl.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_pt_BR.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_ro.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_ru.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_sk.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_tr.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_uk.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_zh.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_zh_CN.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_zh_TW.properties
M engine/src/test/java/org/hibernate/validator/test/cfg/ProgrammaticConstraintDefinitionsTest.java
R engine/src/test/java/org/hibernate/validator/test/constraints/annotations/hv/SafeHtmlConstrainedTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/MessagePropertiesTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/PredefinedScopeAllConstraintsTest.java
R engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/hv/SafeHtmlValidatorTest.java
M integration/pom.xml
M integration/src/test/java/org/hibernate/validator/integration/wildfly/OptionalConstraintsIT.java
M osgi/integrationtest/src/test/java/org/hibernate/validator/osgi/integrationtest/KarafFeaturesAreInstallableTest.java
M osgi/integrationtest/src/test/java/org/hibernate/validator/osgi/integrationtest/OsgiIntegrationTest.java
M osgi/karaf-features/src/main/features/features.xml
M pom.xml
Log Message:
-----------
HV-1790 Remove the SafeHtml constraint and the jsoup dependency
There is no replacement for this constraint.
It has been deprecated and planned for removal in both 6.0 and 6.1.
Compare: https://github.com/hibernate/hibernate-validator/compare/052a5943eb32...5...
3 years, 9 months
[hibernate/hibernate-validator] 052a59: HV-1790 Remove the SafeHtml constraint and the jso...
by Guillaume Smet
Branch: refs/heads/6.2
Home: https://github.com/hibernate/hibernate-validator
Commit: 052a5943eb32b87100118c294aa87f5ba68e8b61
https://github.com/hibernate/hibernate-validator/commit/052a5943eb32b8710...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2020-12-04 (Fri, 04 Dec 2020)
Changed paths:
M annotation-processor/src/main/java/org/hibernate/validator/ap/internal/util/ConstraintHelper.java
M annotation-processor/src/main/java/org/hibernate/validator/ap/internal/util/TypeNames.java
M annotation-processor/src/test/java/org/hibernate/validator/ap/ConstraintValidationProcessorTest.java
M annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/customconstraints/HibernateValidatorProvidedCustomConstraints.java
M distribution/pom.xml
M distribution/src/main/assembly/dist.xml
M documentation/src/main/asciidoc/ch02.asciidoc
M engine/pom.xml
R engine/src/main/java/org/hibernate/validator/cfg/defs/SafeHtmlDef.java
R engine/src/main/java/org/hibernate/validator/constraints/SafeHtml.java
R engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/SafeHtmlValidator.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/BuiltinConstraint.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/ConstraintHelper.java
M engine/src/main/resources/org/hibernate/validator/ValidationMessages.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_ar.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_cs.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_da.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_de.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_es.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_fa.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_fr.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_hu.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_it.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_ja.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_ko.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_nl.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_pl.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_pt_BR.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_ro.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_ru.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_sk.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_tr.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_uk.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_zh.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_zh_CN.properties
M engine/src/main/resources/org/hibernate/validator/ValidationMessages_zh_TW.properties
M engine/src/test/java/org/hibernate/validator/test/cfg/ProgrammaticConstraintDefinitionsTest.java
R engine/src/test/java/org/hibernate/validator/test/constraints/annotations/hv/SafeHtmlConstrainedTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/MessagePropertiesTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/PredefinedScopeAllConstraintsTest.java
R engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/hv/SafeHtmlValidatorTest.java
M integration/pom.xml
M integration/src/test/java/org/hibernate/validator/integration/wildfly/OptionalConstraintsIT.java
M osgi/integrationtest/src/test/java/org/hibernate/validator/osgi/integrationtest/KarafFeaturesAreInstallableTest.java
M osgi/integrationtest/src/test/java/org/hibernate/validator/osgi/integrationtest/OsgiIntegrationTest.java
M osgi/karaf-features/src/main/features/features.xml
M pom.xml
Log Message:
-----------
HV-1790 Remove the SafeHtml constraint and the jsoup dependency
There is no replacement for this constraint.
It has been deprecated and planned for removal in both 6.0 and 6.1.
3 years, 9 months