Skip to content

Commit

Permalink
chore: prepare for release 4.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsey committed Sep 16, 2022
1 parent a180174 commit a161a26
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions docs/reference/uuid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a161a26

Please sign in to comment.