8000 minor #14334 14300 Add support for UUIDv6 in Uuid constraint (JohJohan) · symfony/symfony-docs@8ee5c81 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ee5c81

Browse files
committed
minor #14334 14300 Add support for UUIDv6 in Uuid constraint (JohJohan)
This PR was submitted for the 5.1 branch but it was merged into the master branch instead. Discussion ---------- 14300 Add support for UUIDv6 in Uuid 10000 constraint <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- bf310c1 14300 Update support for Uuid 6
2 parents f9c2a32 + bf310c1 commit 8ee5c81

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

reference/constraints/Uuid.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,18 +124,19 @@ will allow alternate input formats like:
124124
``versions``
125125
~~~~~~~~~~~~
126126

127-
**type**: ``int[]`` **default**: ``[1,2,3,4,5]``
127+
**type**: ``int[]`` **default**: ``[1,2,3,4,5,6]``
128128

129-
This option can be used to only allow specific `UUID versions`_. Valid versions are 1 - 5.
129+
This option can be used to only allow specific `UUID versions`_. Valid versions are 1 - 6.
130130
The following PHP constants can also be used:
131131

132132
* ``Uuid::V1_MAC``
133133
* ``Uuid::V2_DCE``
134134
* ``Uuid::V3_MD5``
135135
* ``Uuid::V4_RANDOM``
136136
* ``Uuid::V5_SHA1``
137+
* ``Uuid::V6_SORTABLE``
137138

138-
All five versions are allowed by default.
139+
All six versions are allowed by default.
139140

140141
.. _`Universally unique identifier (UUID)`: https://en.wikipedia.org/wiki/Universally_unique_identifier
141142
.. _`RFC 4122`: https://tools.ietf.org/html/rfc4122

0 commit comments

Comments
 (0)
0