Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: symfony/serializer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.3.9
Choose a base ref
...
head repository: symfony/serializer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.3.10
Choose a head ref
  • 16 commits
  • 28 files changed
  • 7 contributors

Commits on Dec 29, 2025

  1. [PropertyAccess][PropertyInfo][Serializer] Skip methods that look lik…

    …e getters but return void or never
    jordikroon authored and nicolas-grekas committed Dec 29, 2025
    Configuration menu
    Copy the full SHA
    c5f0a98 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2026

  1. Configuration menu
    Copy the full SHA
    84930a3 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2026

  1. Merge branch '6.4' into 7.3

    * 6.4:
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      [PropertyAccess][PropertyInfo][Serializer] Skip methods that look like getters but return void or never
      [Form][TwigBridge] Prevent cached block prefixes from leaking across nested collections
      [Uid] Remove $uid from InvalidArgumentException message
    xabbuh committed Jan 3, 2026
    Configuration menu
    Copy the full SHA
    ee334d5 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2026

  1. Merge branch '6.4' into 7.3

    * 6.4:
      Allow serialization of method with same name than property
    nicolas-grekas committed Jan 6, 2026
    Configuration menu
    Copy the full SHA
    5dfbe28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    711ffd6 View commit details
    Browse the repository at this point in the history
  3. Merge branch '6.4' into 7.3

    * 6.4:
      [Serializer] Fix #[Ignore] on same-name properties <-> methods
    nicolas-grekas committed Jan 6, 2026
    Configuration menu
    Copy the full SHA
    f735e2d View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2026

  1. Configuration menu
    Copy the full SHA
    c51cab2 View commit details
    Browse the repository at this point in the history
  2. bug #62953 [Serializer] Fix removing nested values (gnoddep)

    This PR was squashed before being merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Serializer] Fix removing nested values
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix #62937
    | License       | MIT
    
    Fixes #62937 by checking if the element is valid before going deeper.
    
    Commits
    -------
    
    04d9850 [Serializer] Fix removing nested values
    nicolas-grekas committed Jan 8, 2026
    Configuration menu
    Copy the full SHA
    5d5dc91 View commit details
    Browse the repository at this point in the history
  3. Merge branch '6.4' into 7.3

    * 6.4:
      Add proper target branches when splitting contracts
      [Serializer] Fix removing nested values
    fabpot committed Jan 8, 2026
    Configuration menu
    Copy the full SHA
    92eb2ec View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2026

  1. [Serializer] Fix NameConverter not detecting wrong input format with …

    …allow_extra_attributes=false
    xersion22 authored and nicolas-grekas committed Jan 12, 2026
    Configuration menu
    Copy the full SHA
    ff43530 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43a730a View commit details
    Browse the repository at this point in the history
  3. Merge branch '6.4' into 7.3

    * 6.4:
      do not use PHPUnit mock objects without configured expectations
      fix low deps test with Console component < 6.4
      [FrameworkBundle] Check for console package before register `CommandDataCollector`
      do not use PHPUnit mock objects without configured expectations
      [FrameworkBundle] Ensure a fresh container is used after cache warmup in KernelTestCase
      do not use PHPUnit mock objects without configured expectations
      do not use PHPUnit mock objects without configured expectations
      [Finder] Fix `Finder::append()` breaking generic typing contract
    xabbuh committed Jan 12, 2026
    Configuration menu
    Copy the full SHA
    6726b42 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2026

  1. bug #63052 [Serializer] Fix NameConverter not detecting wrong input f…

    …ormat with `allow_extra_attributes=false` (xersion22)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Serializer] Fix NameConverter not detecting wrong input format with `allow_extra_attributes=false`
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix #62725
    | License       | MIT
    
    When using a `NameConverter` with `allow_extra_attributes=false`, wrongly formatted input (e.g., `someCamelCaseProperty` instead of `some_camel_case_property`) was silently accepted because the unconverted attribute name happened to match the property name.
    
    This fix detects when the `NameConverter` didn't transform the input and checks if the property requires a different serialized format. If so, it flags the input as an extra attribute and throws `ExtraAttributesException`.
    
    Commits
    -------
    
    55b5388eb53 [Serializer] Fix NameConverter not detecting wrong input format with allow_extra_attributes=false
    nicolas-grekas committed Jan 19, 2026
    Configuration menu
    Copy the full SHA
    6556c8d View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2026

  1. Merge branch '6.4' into 7.3

    * 6.4:
      do not use PHPUnit mock objects without configured expectations
      [Form] Fix ICU 72+ whitespace handling in `DateTimeToLocalizedStringTransformer`
      [Process] Adjust Process mustRun method phpdoc
      [Serializer] Fix NameConverter not detecting wrong input format with allow_extra_attributes=false
    xabbuh committed Jan 20, 2026
    Configuration menu
    Copy the full SHA
    af7b0d1 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2026

  1. [Serializer] Fix is/has/can accessor naming regression while preservi…

    …ng collision detection
    
    Before PR #61097 (Symfony 6.4.26/7.3.5), methods like isPublished() would
    serialize using the base name "published" by default.
    
    PR #61097 fixed an issue where objects with both $isPublished property and
    isPublished() method couldn't round-trip properly. However, it caused a
    regression: ALL is/has/can accessors started using the prefixed form
    ("isPublished") when a matching property exists, even when there's no
    actual collision.
    
    This PR fixes the regression by:
    
    1. Only using the full method name (e.g., "isPublished") when there's an
       actual collision - another property or accessor that would map to the
       same base name ("published")
    
    2. Keeping the base name ("published") when no collision exists, matching
       pre-6.4.26 behavior for the common case
    
    3. Extracting shared collision detection logic into AccessorCollisionResolverTrait
       to ensure consistent behavior between ObjectNormalizer and AttributeLoader
    nicolas-grekas committed Jan 21, 2026
    Configuration menu
    Copy the full SHA
    8e02b21 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2026

  1. Merge branch '6.4' into 7.3

    * 6.4:
      [Cache] Fix DSN auth not passed to clusters in RedisTrait
      do not parse "scalar" as an object
      [Form] Fix OrderedHashMap auto-increment logic with mixed keys
      don't skip custom view transformers while normalizing submitted newlines
      [Serializer] Fix is/has/can accessor naming regression while preserving collision detection
    nicolas-grekas committed Jan 23, 2026
    Configuration menu
    Copy the full SHA
    86821ff View commit details
    Browse the repository at this point in the history
Loading