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
Since the merge of #48321 the uuid validation rule introduced a breaking change by no longer accepting other versions of UUID than 1-5.
We extensively use version 6 and 7 in our Laravel projects due to some of the benefits these versions supply.
While I do understand the sentiment behind the PR, I think this should be included as either a major release or its own new RfcUuid rule instead to avoid introducing breaking changes in minor releases.
Our systems would break down in its entirety if not for sufficient pipeline testing before releases.
So I suggest reverting the PR and either introducing the change in a major release or as its own seperate rule.
Steps To Reproduce
Create a validator with the uuid rule
Supply the validator with an UUIDv6 created with \Ramsey\Uuid\Uuid::uuid6()->toString()
Notice the failure in Laravel version 10.23.0 and not in 10.22.0
The text was updated successfully, but these errors were encountered:
Laravel Version
10.23.0
PHP Version
8.2.4
Database Driver & Version
No response
Description
Since the merge of #48321 the
uuid
validation rule introduced a breaking change by no longer accepting other versions of UUID than 1-5.We extensively use version 6 and 7 in our Laravel projects due to some of the benefits these versions supply.
While I do understand the sentiment behind the PR, I think this should be included as either a major release or its own new
RfcUuid
rule instead to avoid introducing breaking changes in minor releases.Our systems would break down in its entirety if not for sufficient pipeline testing before releases.
So I suggest reverting the PR and either introducing the change in a major release or as its own seperate rule.
Steps To Reproduce
Create a validator with the
uuid
ruleSupply the validator with an UUIDv6 created with
\Ramsey\Uuid\Uuid::uuid6()->toString()
Notice the failure in Laravel version
10.23.0
and not in10.22.0
The text was updated successfully, but these errors were encountered: