Skip to content

Commit ace2f78

Browse files
authored
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
1 parent 833082a commit ace2f78

File tree

1 file changed

+4
-0
lines changed
  • symfony/framework-bundle/6.2/config/packages

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
framework:
2+
uid:
3+
default_uuid_version: 7
4+
time_based_uuid_version: 7

0 commit comments

Comments
 (0)