platform-coop-toolkit / coop-library-framework

Custom Post Type utilities for the Platform Co-op Resource Library.
https://platform.coop
Other
0 stars 2 forks source link

chore(deps): bump symfony/validator from 5.0.8 to 5.1.0 #391

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps symfony/validator from 5.0.8 to 5.1.0.

Release notes

Sourced from symfony/validator's releases.

v5.1.0

Changelog (https://github.com/symfony/validator/compare/v5.1.0-RC2...v5.1.0)

  • bug #37009 use "allowedVariables" to configure the ExpressionLanguageSyntax constraint (xabbuh)
  • bug #36868 Use Mime component to determine mime type for file validator (pierredup)
  • bug #36894 never directly validate Existence (Required/Optional) constraints (xabbuh)

v5.1.0-RC2

Changelog (https://github.com/symfony/validator/compare/v5.1.0-RC1...v5.1.0-RC2)

  • bug #36905 Catch expected ValueError (derrabus)
  • feature #36886 Make ExpressionLanguageSyntax validator usable with annotation (jderusse)
  • bug #36859 allow passing a validator to Validation::createCallable() (nicolas-grekas)

v5.1.0-RC1

Changelog (https://github.com/symfony/validator/compare/v5.1.0-BETA1...v5.1.0-RC1)

  • no changes

v5.0.9

Changelog (https://github.com/symfony/validator/compare/v5.0.8...v5.0.9)

  • bug #36868 Use Mime component to determine mime type for file validator (pierredup)
  • bug #36905 Catch expected ValueError (derrabus)
  • bug #36894 never directly validate Existence (Required/Optional) constraints (xabbuh)
  • bug #36672 Skip validation when email is an empty object (acrobat)
  • bug #36627 fix lazy property usage. (bendavies)
  • bug #36501 Show the ParseException message in all YAML file loaders (fancyweb)
Changelog

Sourced from symfony/validator's changelog.

5.1.0

  • added the Hostname constraint and validator
  • added the alpha3 option to the Country and Language constraints
  • allow to define a reusable set of constraints by extending the Compound constraint
  • added Sequentially constraint, to sequentially validate a set of constraints (any violation raised will prevent further validation of the nested constraints)
  • added the divisibleBy option to the Count constraint
  • added the ExpressionLanguageSyntax constraint

5.0.0

  • an ExpressionLanguage instance or null must be passed as the first argument of ExpressionValidator::__construct()
  • removed the checkDNS and dnsMessage options of the Url constraint
  • removed the checkMX, checkHost and strict options of the Email constraint
  • removed support for validating instances of \DateTimeInterface in DateTimeValidator, DateValidator and TimeValidator
  • removed support for using the Bic, Country, Currency, Language and Locale constraints without symfony/intl
  • removed support for using the Email constraint without egulias/email-validator
  • removed support for using the Expression constraint without symfony/expression-language
  • changed default value of canonicalize option of Locale constraint to true
  • removed ValidatorBuilderInterface
  • passing a null message when instantiating a ConstraintViolation is not allowed
  • changed the default value of Length::$allowEmptyString to false and made it optional
  • removed Symfony\Component\Validator\Mapping\Cache\CacheInterface in favor of PSR-6.
  • removed ValidatorBuilder::setMetadataCache, use ValidatorBuilder::setMappingCache instead.

4.4.0

  • [BC BREAK] using null as $classValidatorRegexp value in PropertyInfoLoader::__construct will not enable auto-mapping for all classes anymore, use '{.*}' instead.
  • added EnableAutoMapping and DisableAutoMapping constraints to enable or disable auto mapping for class or a property
  • using anything else than a string as the code of a ConstraintViolation is deprecated, a string type-hint will be added to the constructor of the ConstraintViolation class and to the ConstraintViolationBuilder::setCode() method in 5.0
  • deprecated passing an ExpressionLanguage instance as the second argument of ExpressionValidator::__construct(). Pass it as the first argument instead.
  • added the compared_value_path parameter in violations when using any comparison constraint with the propertyPath option.
  • added support for checking an array of types in TypeValidator
  • added a new allowEmptyString option to the Length constraint to allow rejecting empty strings when min is set, by setting it to false.
  • Added new minPropertyPath and maxPropertyPath options to Range constraint in order to get the value to compare from an array or object
  • added the min_limit_path and max_limit_path parameters in violations when using Range constraint with respectively the minPropertyPath and maxPropertyPath options
  • added a new notInRangeMessage option to the Range constraint that will be used in the violation builder when both min and max are not null
  • added ability to use stringable objects as violation messages
  • Overriding the methods ConstraintValidatorTestCase::setUp() and ConstraintValidatorTestCase::tearDown() without the void return-type is deprecated.
... (truncated)
Commits
  • 7a012b9 bug #37009 [Validator] use "allowedVariables" to configure the ExpressionLang...
  • 9572d47 [Validator] use "allowedVariables" to configure the ExpressionLanguageSyntax ...
  • 90ae36a Merge branch '5.0' into 5.1
  • 8bc3321 Merge branch '4.4' into 5.0
  • 2fae337 Merge branch '3.4' into 4.4
  • 5fb8812 bug #36894 [Validator] never directly validate Existence (Required/Optional) ...
  • ec017d5 [Validator] Use Mime component to determine mime type for file validator
  • 3c817de [Validator] add missing Czech translations
  • d49f884 Merge branch '5.0' into 5.1
  • 988fbc1 Merge branch '4.4' into 5.0
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @greatislander.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in the `.dependabot/config.yml` file in this repo: - Update frequency - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)