Skip to content

Undocumented (BC) serialization of UuidV4 #926

@simonberger

Description

@simonberger
Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? no

In case I do not miss anything #887 added a forced serialization of all Symfony\Component\Uid\AbstractUid classes which has been added in version 4.2.0 already.
The affect is to end with a string instead of a stdclass(uuid:) which should be considered a breaking change.

For me this is not very bad right now as I am updating from version 3 to version 5 directly and noticed an error due to an unexpected result from an API in the implementation phase.
Yet I could not find anything in this regard in the upgrade notes (beside the mentioned change in a minor release). Additionally I would want to deactivate this handler for now and the only way to do this is to remove the handler from the container or to add an own one for the classes and do actually nothing there?

I wonder why I seem to be the only one with such an issue and therefor might miss something, but I couldn't figure out what this might be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions