You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
first let me thank you for these great libraries before everything else.
Recently we started having issues after an upgrade from version 4.0.1 to version 4.1.0 of ramsey/uuid and it was because we're saving doctrine array results to an array type property on our Entity, which doctrine translates to a longtext type column to store the serialized array. So what was happening on our app was that the serialization string, on the database column, was getting truncated as soon as the raw bytes of the time ordered uuid started and that would then lead to an unserialization exception.
There's a few things in the mix here, first i'm not sure that doctrine array type should translate to a longtext column, but since it is, isn't possible that this change is a bigger change that at first it seemed to be? Is this enough to qualify as a BC break?
To be clear, what was a text string as a serialization result in version 4.0.1 of ramsey/uuid is now a string with raw bytes since version 4.1.0.
The text was updated successfully, but these errors were encountered:
Hey,
first let me thank you for these great libraries before everything else.
Recently we started having issues after an upgrade from version 4.0.1 to version 4.1.0 of ramsey/uuid and it was because we're saving doctrine array results to an array type property on our Entity, which doctrine translates to a longtext type column to store the serialized array. So what was happening on our app was that the serialization string, on the database column, was getting truncated as soon as the raw bytes of the time ordered uuid started and that would then lead to an unserialization exception.
There's a few things in the mix here, first i'm not sure that doctrine array type should translate to a longtext column, but since it is, isn't possible that this change is a bigger change that at first it seemed to be? Is this enough to qualify as a BC break?
To be clear, what was a text string as a serialization result in version 4.0.1 of ramsey/uuid is now a string with raw bytes since version 4.1.0.
The text was updated successfully, but these errors were encountered: