Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update symfony/validator requirement from ^3.4 to ^4.0 #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Updates the requirements on symfony/validator to permit the latest version.

Changelog

Sourced from symfony/validator's changelog.

CHANGELOG

5.2.0

  • added a Cascade constraint to ease validating nested typed object properties

  • deprecated the allowEmptyString option of the Length constraint

    Before:

    use Symfony\Component\Validator\Constraints as Assert;
    /**
    
    @Assert\Length(min=5, allowEmptyString=true)
    */

After:

use Symfony\Component\Validator\Constraints as Assert;
/**

@Assert\AtLeastOneOf({

@Assert\Blank(),



@Assert\Length(min=5)


})
*/
  • added the Isin constraint and validator

  • added the ULID constraint and validator

  • added support for UUIDv6 in Uuid constraint

  • enabled the validator to load constraints from PHP attributes

  • deprecated the NumberConstraintTrait trait

  • 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

    Commits
    • f9bdafc Merge branch '3.4' into 4.0
    • 71e55ee Merge branch '2.8' into 3.4
    • 30352cf Enable native_constant_invocation CS fixer
    • 0ae47a8 Merge branch '3.4' into 4.0
    • ef703aa Merge branch '2.8' into 3.4
    • 0218d87 minor #28034 [Validator] Add missing Ukrainian translations (azhurb)
    • 1b71286 Merge branch '3.4' into 4.0
    • 8beb598 Merge branch '2.8' into 3.4
    • 7fa4482 Alpha-ordering for "use" statements
    • 1f9588e Merge branch '3.4' into 4.0
    • 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.


    Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

    You can always request more updates by clicking Bump now in your Dependabot dashboard.

    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 use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @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 your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)

    Updates the requirements on [symfony/validator](https://github.com/symfony/validator) to permit the latest version.
    - [Release notes](https://github.com/symfony/validator/releases)
    - [Changelog](https://github.com/symfony/validator/blob/5.x/CHANGELOG.md)
    - [Commits](symfony/validator@v3.4.0...v4.0.15)
    
    Signed-off-by: dependabot-preview[bot] <[email protected]>
    @dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 28, 2020
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    dependencies Pull requests that update a dependency file
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    0 participants