contributte / apitte-skeleton

🎁 API / REST API / JSON API / PSR-7 / Middlewares project skeleton based on Nette Framework (@nette), Apitte (@apitte), Doctrine (@nettrine) and Contributte (@contributte) libraries by @f3l1x.
https://examples.contributte.org/apitte-skeleton/
MIT License
40 stars 17 forks source link

Build(deps): bump symfony/validator from 6.4.0 to 7.0.2 #642

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 10 months ago

Bumps symfony/validator from 6.4.0 to 7.0.2.

Release notes

Sourced from symfony/validator's releases.

v7.0.2

Changelog (https://github.com/symfony/validator/compare/v7.0.1...v7.0.2)

v7.0.0

Changelog (https://github.com/symfony/validator/compare/v7.0.0-RC2...v7.0.0)

  • no significant changes

v7.0.0-RC2

Changelog (https://github.com/symfony/validator/compare/v7.0.0-RC1...v7.0.0-RC2)

  • no significant changes

v7.0.0-RC1

Changelog (https://github.com/symfony/validator/compare/v7.0.0-BETA3...v7.0.0-RC1)

  • no significant changes

v7.0.0-BETA3

Changelog (https://github.com/symfony/validator/compare/v7.0.0-BETA2...v7.0.0-BETA3)

  • no significant changes

v7.0.0-BETA2

Changelog (https://github.com/symfony/validator/compare/v7.0.0-BETA1...v7.0.0-BETA2)

  • no significant changes

v7.0.0-BETA1

Changelog (https://github.com/symfony/validator/compare/v6.3.6...v7.0.0-BETA1)

... (truncated)

Changelog

Sourced from symfony/validator's changelog.

CHANGELOG

7.0

  • Add methods getConstraint(), getCause() and __toString() to ConstraintViolationInterface
  • Add method __toString() to ConstraintViolationListInterface
  • Add method disableTranslation() to ConstraintViolationBuilderInterface
  • Remove static property $errorNames from all constraints, use const ERROR_NAMES instead
  • Remove static property $versions from the Ip constraint, use the VERSIONS constant instead
  • Remove VALIDATION_MODE_LOOSE from Email constraint, use VALIDATION_MODE_HTML5 instead
  • Remove constraint ExpressionLanguageSyntax, use ExpressionSyntax instead
  • Remove Doctrine annotations support in favor of native attributes
  • Remove the annotation reader parameter from the constructor signature of AnnotationLoader
  • Remove ValidatorBuilder::setDoctrineAnnotationReader()
  • Remove ValidatorBuilder::addDefaultDoctrineAnnotationReader()
  • Remove ValidatorBuilder::enableAnnotationMapping(), use ValidatorBuilder::enableAttributeMapping() instead
  • Remove ValidatorBuilder::disableAnnotationMapping(), use ValidatorBuilder::disableAttributeMapping() instead
  • Remove AnnotationLoader, use AttributeLoader instead

6.4

  • Add is_valid function to the Expression constraint, its behavior is the same as ValidatorInterface::validate
  • Allow single integer for the versions option of the Uuid constraint
  • Allow single constraint to be passed to the constraints option of the When constraint
  • Deprecate Doctrine annotations support in favor of native attributes
  • Deprecate ValidatorBuilder::setDoctrineAnnotationReader()
  • Deprecate ValidatorBuilder::addDefaultDoctrineAnnotationReader()
  • Add number, finite-number and finite-float types to Type constraint
  • Add the withSeconds option to the Time constraint that allows to pass time without seconds
  • Deprecate ValidatorBuilder::enableAnnotationMapping(), use ValidatorBuilder::enableAttributeMapping() instead
  • Deprecate ValidatorBuilder::disableAnnotationMapping(), use ValidatorBuilder::disableAttributeMapping() instead
  • Deprecate AnnotationLoader, use AttributeLoader instead
  • Add GroupProviderInterface to implement validation group providers outside the underlying class

6.3

  • Add method getConstraint() to ConstraintViolationInterface
  • Add Uuid::TIME_BASED_VERSIONS to match that a UUID being validated embeds a timestamp
  • Add the pattern parameter in violations of the Regex constraint
  • Add a NoSuspiciousCharacters constraint to validate a string is not a spoofing attempt
  • Add a PasswordStrength constraint to check the strength of a password
  • Add the countUnit option to the Length constraint to allow counting the string length either by code points (like before, now the default setting Length::COUNT_CODEPOINTS), bytes (Length::COUNT_BYTES) or graphemes (Length::COUNT_GRAPHEMES)
  • Add the filenameMaxLength option to the File constraint
  • Add the exclude option to the Cascade constraint
  • Add the value_length parameter to Length constraint
  • Allow to disable the translation domain for ConstraintViolationInterface messages

... (truncated)

Commits
  • 24911cb Merge branch '6.4' into 7.0
  • 15fe2c6 Merge branch '6.3' into 6.4
  • e35e841 Merge branch '5.4' into 6.3
  • 0700751 [Validator] updated missing Polish translation
  • 917a40f Merge branch '6.4' into 7.0
  • fe4e62e Merge branch '6.3' into 6.4
  • 8c417c1 Merge branch '5.4' into 6.3
  • 8176d36 fix typo
  • 159944c bug #52406 [Validator] Fix Constraints\Email::ERROR_NAMES (mathroc)
  • 61a40da minor #53253 [Validator] add missing translations (xabbuh)
  • 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 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)