mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
chore: prepare for release 4.5.1
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user