Branch: refs/heads/BVAL-496
Home:
https://github.com/hibernate/hibernate-validator
Commit: 223e2b40274ac3d4ca09e35aee693ae1dd26e641
https://github.com/hibernate/hibernate-validator/commit/223e2b40274ac3d4c...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M cdi/src/main/java/org/hibernate/validator/internal/cdi/ValidatorFactoryBean.java
M
cdi/src/test/java/org/hibernate/validator/test/internal/cdi/injection/MyValidationProvider.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ConfigurationImpl.java
A
engine/src/main/java/org/hibernate/validator/internal/engine/DefaultClockProvider.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidationContext.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintTree.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintValidatorContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/BootstrapConfigurationImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/ValidationBootstrapParameters.java
M engine/src/main/java/org/hibernate/validator/internal/xml/ValidationXmlParser.java
M engine/src/main/xsd/validation-configuration-2.0.xsd
M
engine/src/test/java/org/hibernate/validator/test/constraints/ConstraintValidatorContextImplTest.java
M engine/src/test/java/org/hibernate/validator/testutils/ValidatorUtil.java
A
integration/src/test/java/org/hibernate/validator/integration/cdi/configuration/ClockProviderWithInjection.java
M
integration/src/test/java/org/hibernate/validator/integration/cdi/configuration/ConfigurationInjectionUnitIT.java
M
integration/src/test/java/org/hibernate/validator/integration/util/MyValidationProvider.java
M
integration/src/test/java/org/hibernate/validator/integration/util/MyValidatorConfiguration.java
M integration/src/test/resources/validation-custom-config.xml
Log Message:
-----------
HV-1135 Introduce the ClockProvider API
Commit: 3eff2eceee1c588097b8066915b6a9e8bc23312e
https://github.com/hibernate/hibernate-validator/commit/3eff2eceee1c58809...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/ch07.asciidoc
M documentation/src/main/asciidoc/ch08.asciidoc
M documentation/src/main/asciidoc/ch11.asciidoc
M
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/BootstrappingTest.java
A
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter08/FixedClockProvider.java
M
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/context/MyFutureValidator.java
R
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/timeprovider/CustomTimeProvider.java
R
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/timeprovider/CustomTimeProviderTest.java
M engine/src/main/java/org/hibernate/validator/HibernateValidatorConfiguration.java
M engine/src/main/java/org/hibernate/validator/HibernateValidatorContext.java
M
engine/src/main/java/org/hibernate/validator/constraintvalidation/HibernateConstraintValidatorContext.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/future/FutureValidatorForCalendar.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/future/FutureValidatorForChronoZonedDateTime.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/future/FutureValidatorForDate.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/future/FutureValidatorForInstant.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/future/FutureValidatorForOffsetDateTime.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/future/FutureValidatorForReadableInstant.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/future/FutureValidatorForReadablePartial.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/future/package-info.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/past/PastValidatorForCalendar.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/past/PastValidatorForChronoZonedDateTime.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/past/PastValidatorForDate.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/past/PastValidatorForInstant.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/past/PastValidatorForOffsetDateTime.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/past/PastValidatorForReadableInstant.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/past/PastValidatorForReadablePartial.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/past/package-info.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/AbstractEpochBasedTimeValidator.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/AbstractJavaTimeValidator.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/AbstractFutureEpochBasedValidator.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/AbstractFutureJavaTimeValidator.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForCalendar.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForChronoZonedDateTime.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForDate.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForInstant.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForOffsetDateTime.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForReadableInstant.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForReadablePartial.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/package-info.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/package-info.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/AbstractPastEpochBasedValidator.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/AbstractPastJavaTimeValidator.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForCalendar.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForChronoZonedDateTime.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForDate.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForInstant.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForOffsetDateTime.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForReadableInstant.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForReadablePartial.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/package-info.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ConfigurationImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidationContext.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintTree.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintValidatorContextImpl.java
R
engine/src/main/java/org/hibernate/validator/internal/engine/time/DefaultTimeProvider.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/core/ConstraintHelper.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
R engine/src/main/java/org/hibernate/validator/spi/time/TimeProvider.java
M
engine/src/test/java/org/hibernate/validator/test/constraints/ConstraintValidatorContextImplTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/future/DateHolder.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/future/FutureValidatorForCalendarTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/future/FutureValidatorForChronoZonedDateTimeTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/future/FutureValidatorForDateTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/future/FutureValidatorForInstantTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/future/FutureValidatorForOffsetDateTimeTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/future/FutureValidatorForReadableInstantTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/future/FutureValidatorForReadablePartialTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/future/FutureValidatorTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/future/TimeProviderFutureTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/past/PastValidatorForCalendarTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/past/PastValidatorForChronoZonedDateTimeTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/past/PastValidatorForDateTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/past/PastValidatorForInstantTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/past/PastValidatorForOffsetDateTimeTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/past/PastValidatorForReadableInstantTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/past/PastValidatorForReadablePartialTest.java
R
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/past/TimeProviderPastTest.java
A
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/time/ClockProviderFutureTest.java
A
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/time/ClockProviderPastTest.java
A
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/time/DateHolder.java
A
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/bv/time/TimeValidatorTest.java
M engine/src/test/java/org/hibernate/validator/testutils/ValidatorUtil.java
R
engine/src/test/resources/org/hibernate/validator/test/internal/xml/time-provider-validation.xml
M integration/src/test/resources/validation-custom-config.xml
Log Message:
-----------
HV-1135 Remove TimeProvider and use ClockProvider instead
Commit: e08ec4698c476bd36f980c3a1fceccc94dc57ce0
https://github.com/hibernate/hibernate-validator/commit/e08ec4698c476bd36...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M
annotation-processor/src/main/java/org/hibernate/validator/ap/util/ConstraintHelper.java
M annotation-processor/src/main/java/org/hibernate/validator/ap/util/TypeNames.java
M
annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/ModelWithJava8DateTime.java
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/AbstractJavaTimeValidator.java
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/AbstractFutureJavaTimeValidator.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForHijrahDate.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForJapaneseDate.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForLocalDate.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForLocalDateTime.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForLocalTime.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForMinguoDate.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForMonthDay.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForOffsetTime.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForThaiBuddhistDate.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForYear.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForYearMonth.java
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/AbstractPastJavaTimeValidator.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForHijrahDate.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForJapaneseDate.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForLocalDate.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForLocalDateTime.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForLocalTime.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForMinguoDate.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForMonthDay.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForOffsetTime.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForThaiBuddhistDate.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForYear.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForYearMonth.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/core/ConstraintHelper.java
Log Message:
-----------
HV-1135 Add validators for all the relevant java.time types
Commit: 1504ce71bb2dbc666db274e55680ab2fdba52568
https://github.com/hibernate/hibernate-validator/commit/1504ce71bb2dbc666...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M
annotation-processor/src/main/java/org/hibernate/validator/ap/util/ConstraintHelper.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForChronoZonedDateTime.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForZonedDateTime.java
R
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForChronoZonedDateTime.java
A
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForZonedDateTime.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/core/ConstraintHelper.java
Log Message:
-----------
HV-1135 Support ZonedDateTime instead of ChronoZonedDateTime
It makes more sense to support ZonedDateTime as recommended per the
javadoc of ChronoZonedDateTime. Moreover, for our new validators, we
need the capability to instantiate an instance of the validated
java.time class and we cannot do it reliably by supporting
ChronoZonedDateTime.
Commit: 400d4b8059c505c999ebff606b69a1b1e5783bef
https://github.com/hibernate/hibernate-validator/commit/400d4b8059c505c99...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/ch02.asciidoc
Log Message:
-----------
HV-1135 Update documentation
Commit: f8737b6501a243868f79c3d0e9f93017f3dbcd7f
https://github.com/hibernate/hibernate-validator/commit/f8737b6501a243868...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/AbstractEpochBasedTimeValidator.java
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/AbstractJavaTimeValidator.java
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/AbstractFutureEpochBasedValidator.java
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/AbstractFutureJavaTimeValidator.java
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/AbstractPastEpochBasedValidator.java
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/AbstractPastJavaTimeValidator.java
Log Message:
-----------
HV-1135 Add support for orPresent option in @Past and @Future
Commit: 820d3e92251aabe255674e0a0f3c60de13791ebe
https://github.com/hibernate/hibernate-validator/commit/820d3e92251aabe25...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2016-11-10 (Thu, 10 Nov 2016)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/AbstractEpochBasedTimeValidator.java
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/AbstractJavaTimeValidator.java
Log Message:
-----------
HV-1135 Rename log constants to LOG
Compare:
https://github.com/hibernate/hibernate-validator/compare/223e2b40274a^......