Use UUID v7 as default for new projects (#1145)

Symfony 6.2 introduces support for UUID v7, which is to be preferred
over UUID v6 [according to the draft RFC][1]:

> Implementations SHOULD utilize UUID version 7 over UUID version 1 and
> 6 if possible.

In order not to change the UUID generation in existing projects, UUID v7
could be configured as default for new projects via this recipe.

[1]: https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-04.html#section-5.2-2
This commit is contained in:
Yannick Ihmels
2022-11-20 21:35:07 +01:00
committed by GitHub
parent 833082a082
commit ace2f78a4d
@@ -0,0 +1,4 @@
framework:
uid:
default_uuid_version: 7
time_based_uuid_version: 7