Skip to content
Permalink
Branch: master
Commits on Apr 15, 2019
  1. feature #30717 [Serializer] Use name converter when normalizing const…

    nicolas-grekas committed Apr 15, 2019
    …raint violation list (norkunas)
    
    This PR was merged into the 4.3-dev branch.
    
    Discussion
    ----------
    
    [Serializer] Use name converter when normalizing constraint violation list
    
    | Q             | A
    | ------------- | ---
    | Branch?       | master <!-- see below -->
    | Bug fix?      | no
    | New feature?  | yes <!-- don't forget to update src/**/CHANGELOG.md files -->
    | BC breaks?    | no     <!-- see https://symfony.com/bc -->
    | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
    | Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
    | Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
    | License       | MIT
    | Doc PR        | symfony/symfony-docs#... <!-- required for new features -->
    
    When using name converter with serializer and the default ConstraintViolationListNormalizer, returned propertyPaths was not converted to the same format.
    
    <!--
    Write a short README entry for your feature/bugfix here (replace this comment block.)
    This will help people understand your PR and can be used as a start of the Doc PR.
    Additionally:
     - Bug fixes must be submitted against the lowest branch where they apply
       (lowest branches are regularly merged to upper ones so they get the fixes too).
     - Features and deprecations must be submitted against the master branch.
    -->
    
    Commits
    -------
    
    dd93b707cc Use name converter when normalizing constraint violation list
Commits on Apr 11, 2019
  1. Merge branch '4.2'

    nicolas-grekas committed Apr 11, 2019
    * 4.2:
      Catch empty deprecation.log silently (fixes #31050)
      minor: the meaning of the data breach was not correct
      Optimize SVGs
      property normalizer should also pass format and context to isAllowedAttribute
  2. Merge branch '3.4' into 4.2

    nicolas-grekas committed Apr 11, 2019
    * 3.4:
      minor: the meaning of the data breach was not correct
      Optimize SVGs
      property normalizer should also pass format and context to isAllowedAttribute
You can’t perform that action at this time.