Skip to content
Browse files

[Validator] add notice in UPGRADE file for new Range constraint option

  • Loading branch information...
dmaicher committed Oct 7, 2019
1 parent 3a66d59 commit d4ab35cfabf8844da28be16de6b051990145a6f1
Showing with 2 additions and 0 deletions.
  1. +2 −0
@@ -344,6 +344,8 @@ Validator
* Overriding the methods `ConstraintValidatorTestCase::setUp()` and `ConstraintValidatorTestCase::tearDown()` without the `void` return-type is deprecated.
* deprecated `Symfony\Component\Validator\Mapping\Cache\CacheInterface` and all implementations in favor of PSR-6.
* deprecated `ValidatorBuilder::setMetadataCache`, use `ValidatorBuilder::setMappingCache` instead.
* The `Range` constraint has a new message option `notInRangeMessage` that is used when both `min` and `max` values are set.
In case you are using custom translations make sure to add one for this new message.


0 comments on commit d4ab35c

Please sign in to comment.
You can’t perform that action at this time.