Bump symfony/validator from 7.1.1 to 7.3.2
Type: Pull Request
State: Open
Association: None
Comments: 0
(10 months ago)
(10 months ago)
dependencies php
Bumps symfony/validator from 7.1.1 to 7.3.2.
Release notes
Sourced from symfony/validator's releases.
v7.3.2
Changelog (https://github.com/symfony/validator/compare/v7.3.1...v7.3.2)
- bug symfony/symfony#61131 [Validator] error if the fields option is missing for the Collection constraint (
@xabbuh)- bug symfony/symfony#61117 [Validator] fix handling required options (
@xabbuh)- bug symfony/symfony#61106 Fix
@varphpdoc (@fabpot)- bug symfony/symfony#61056 [Validator] Allow mixed root on
CompoundConstraintTestCasevalidator (@thePanz)- bug symfony/symfony#61020 [Doctrine][FrameworkBundle][Serializer][Validator] Increase minimum version of type-info component (
@mitelg)v7.3.1
Changelog (https://github.com/symfony/validator/compare/v7.3.0...v7.3.1)
- bug symfony/symfony#60888 [Intl] Fix locale validator when canonicalize is true (
@rdavaillaud)- bug symfony/symfony#60840 [Validator] Add missing HasNamedArguments to some constraints (
@jkgroupe)- bug symfony/symfony#60775 [Validator] flip excluded properties with keys with Doctrine-style constraint config (
@xabbuh)v7.3.0
Changelog (https://github.com/symfony/validator/compare/v7.3.0-RC1...v7.3.0)
- no significant changes
v7.3.0-RC1
Changelog (https://github.com/symfony/validator/compare/v7.3.0-BETA2...v7.3.0-RC1)
- bug symfony/symfony#60478 [Validator] add missing
$extensionsand$extensionsMessageto theImageconstraint (@xabbuh)- feature symfony/symfony#60475 [Validator] Revert Slug constraint (
@wouterj)- bug symfony/symfony#60426 [Validator] let the
SlugValidatoracceptAsciiSluggerresults (@xabbuh)v7.3.0-BETA1
Changelog (https://github.com/symfony/validator/compare/v7.2.6...v7.3.0-BETA1)
- feature symfony/symfony#58485 [Validator] Add
filenameCharsetandfilenameCountUnitoptions toFileconstraint (@IssamRaouf)- feature symfony/symfony#59800 [Validator] Add support for closures in
When(@alexandre-daubois)- feature symfony/symfony#59274 [Validator] Allow Unique constraint validation on all elements (
@Jean-Beru)- feature symfony/symfony#50797 [FrameworkBundle][Validator] Add
framework.validation.disable_translationoption (@alexandre-daubois)- feature symfony/symfony#59634 [Validator] Add support for the
otherwiseoption in theWhenconstraint (@alexandre-daubois)- feature symfony/symfony#54744 [Validator] deprecate the use of option arrays to configure validation constraints (
@xabbuh)- feature symfony/symfony#58542 [Validator] Add
Slugconstraint (@raffaelecarelle)- feature symfony/symfony#58559 [Validator] [DateTime] Add
formatto error messages (@sauliusnord)- feature symfony/symfony#59265 [Validator] Validate SVG ratio in Image validator (
@maximecolin)v7.2.9
Changelog (https://github.com/symfony/validator/compare/v7.2.8...v7.2.9)
- bug symfony/symfony#61117 [Validator] fix handling required options (
@xabbuh)- bug symfony/symfony#61106 Fix
@varphpdoc (@fabpot)- bug symfony/symfony#61056 [Validator] Allow mixed root on
CompoundConstraintTestCasevalidator (@thePanz)- bug symfony/symfony#61020 [Doctrine][FrameworkBundle][Serializer][Validator] Increase minimum version of type-info component (
@mitelg)v7.2.8
... (truncated)
Changelog
Sourced from symfony/validator's changelog.
CHANGELOG
7.3
Add the
filenameCharsetandfilenameCountUnitoptions to theFileconstraintDeprecate defining custom constraints not supporting named arguments
Before:
use Symfony\Component\Validator\Constraint;class CustomConstraint extends Constraint { public function __construct(array $options) { // ... } }
After:
use Symfony\Component\Validator\Attribute\HasNamedArguments; use Symfony\Component\Validator\Constraint;class CustomConstraint extends Constraint { #[HasNamedArguments] public function __construct($option1, $option2, $groups, $payload) { // ... } }
Deprecate passing an array of options to the constructors of the constraint classes, pass each option as a dedicated argument instead
Before:
new NotNull([ 'groups' => ['foo', 'bar'], 'message' => 'a custom constraint violation message', ])After:
... (truncated)
Commits
e5cc60fMerge branch '7.2' into 7.3b541078Merge branch '6.4' into 7.2297a24d[Validator] Add Japanese translation for Twig template validator8d6884cfix CS2f893f1error if the fields option is missing for the Collection constraintbb88dcefix merge70b7edcMerge branch '7.2' into 7.3e9cf8a7Merge branch '6.4' into 7.2ae567f7remove an invalid test5b15337minor #61103 Fix various bool-type coercions (Girgias)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Pull Request Statistics
1
1
+69
-64
Package Dependencies
Technical Details
| ID: | 5197076 |
| UUID: | 2750297317 |
| Node ID: | PR_kwDOMHdYY86j7jTl |
| Host: | GitHub |
| Repository: | reactphp-parallel/filesystem |
| Merge State: | Unknown |