chore: prepare for release 4.5.1

This commit is contained in:
Ben Ramsey
2022-09-15 22:22:46 -05:00
parent a180174b0e
commit a161a26d91
2 changed files with 19 additions and 0 deletions
+7
View File
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## 4.5.1 - 2022-09-16
### Fixed
* Update RFC 4122 validator to recognize version 6 and 7 UUIDs.
## 4.5.0 - 2022-09-15
### Added
+12
View File
@@ -40,6 +40,10 @@ the ramsey/uuid library.
*Deprecated.* Use :php:const:`Uuid::UUID_TYPE_REORDERED_TIME` instead.
.. php:const:: UUID_TYPE_UNIX_TIME
:ref:`rfc4122.version7` UUID.
.. php:const:: NAMESPACE_DNS
The name string is a fully-qualified domain name.
@@ -143,6 +147,14 @@ the ramsey/uuid library.
:returns: A version 6 UUID
:returntype: Ramsey\\Uuid\\Rfc4122\\UuidV6
.. php:staticmethod:: uuid7([$dateTime])
Generates a version 7, Unix Epoch time UUID. See :ref:`rfc4122.version7`.
:param DateTimeInterface|null $dateTime: The date from which to create the UUID instance
:returns: A version 7 UUID
:returntype: Ramsey\\Uuid\\Rfc4122\\UuidV7
.. php:staticmethod:: fromString($uuid)
Creates an instance of UuidInterface from the string standard