Version 4.5.0 - 2022-09-15
Added
Nonstandard
namespace to
the Rfc4122
namespace. Version 6 UUIDs are defined in
[New UUID Formats, section 5.1][version6]. While still an Internet-Draft
version 6 is stable and unlikely to change in any way that breaks compatibility.Ramsey\Uuid\Uuid::uuid7()
to generate version 7 UUIDs.Ramsey\Uuid\Rfc4122\UuidV7
.Ramsey\Uuid\Uuid::UUID_TYPE_UNIX_TIME
exists for version
7 UUIDs.Ramsey\Uuid\Converter\Time\UnixTimeConverter
and
Ramsey\Uuid\Generator\UnixTimeGenerator
to support version 7 UUID generation.Ramsey\Uuid\Uuid::MAX
and
Ramsey\Uuid\Rfc4122\MaxUuid
.Changed
^0.8.8
.Deprecated
The following will be removed in ramsey/uuid 5.0.0:
Ramsey\Uuid\Nonstandard\UuidV6
is deprecated in favor of
Ramsey\Uuid\Rfc4122\UuidV6
.Ramsey\Uuid\Uuid::UUID_TYPE_PEABODY
; use
Ramsey\Uuid\Uuid::UUID_TYPE_REORDERED_TIME
instead.Fixed
Ramsey\Uuid\Uuid::isValid()
, Psalm now asserts the UUID is a
non-empty-string when it is valid.getVariant()
now
returns a 2
when called on a nil UUID.Please login to add feedback.
This update has been submitted for testing by remi.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
This update has been obsoleted by php-ramsey-uuid-4.5.1-1.fc37.