JMSSerializerBundle icon indicating copy to clipboard operation
JMSSerializerBundle copied to clipboard

Undocumented (BC) serialization of UuidV4

Open simonberger opened this issue 1 year ago • 2 comments

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

In case I do not miss anything https://github.com/schmittjoh/JMSSerializerBundle/pull/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.

simonberger avatar May 12 '23 18:05 simonberger