File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
7
7
8
8
9
+ ## 4.5.1 - 2022-09-16
10
+
11
+ ### Fixed
12
+
13
+ * Update RFC 4122 validator to recognize version 6 and 7 UUIDs.
14
+
15
+
9
16
## 4.5.0 - 2022-09-15
10
17
11
18
### Added
Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ the ramsey/uuid library.
40
40
41
41
*Deprecated. * Use :php:const: `Uuid::UUID_TYPE_REORDERED_TIME ` instead.
42
42
43
+ .. php :const :: UUID_TYPE_UNIX_TIME
44
+
45
+ :ref: `rfc4122.version7 ` UUID.
46
+
43
47
.. php :const :: NAMESPACE_DNS
44
48
45
49
The name string is a fully-qualified domain name.
@@ -143,6 +147,14 @@ the ramsey/uuid library.
143
147
:returns: A version 6 UUID
144
148
:returntype: Ramsey\\ Uuid\\ Rfc4122\\ UuidV6
145
149
150
+ .. php :staticmethod :: uuid7([$dateTime])
151
+
152
+ Generates a version 7, Unix Epoch time UUID. See :ref: `rfc4122.version7 `.
153
+
154
+ :param DateTimeInterface|null $dateTime: The date from which to create the UUID instance
155
+ :returns: A version 7 UUID
156
+ :returntype: Ramsey\\ Uuid\\ Rfc4122\\ UuidV7
157
+
146
158
.. php :staticmethod :: fromString($uuid)
147
159
148
160
Creates an instance of UuidInterface from the string standard
You can’t perform that action at this time.
0 commit comments