- Make
AbstractUid
implementDs\Hashable
if available - Add support for binary, base-32 and base-58 representations in
Uuid::isValid()
- Add the
Uuid::FORMAT_RFC_9562
constant to validate UUIDs in the RFC 9562 format
- Add
UuidV1::toV6()
,UuidV1::toV7()
andUuidV6::toV7()
- Add
AbstractUid::toString()
- Add
UuidV7
andUuidV8
- Add
TimeBasedUidInterface
to describe UIDs that embed a timestamp - Add
MaxUuid
andMaxUlid
- Add
NilUlid
- The component is not marked as
@experimental
anymore - Add
AbstractUid::fromBinary()
,AbstractUid::fromBase58()
,AbstractUid::fromBase32()
andAbstractUid::fromRfc4122()
- [BC BREAK] Replace
UuidV1::getTime()
,UuidV6::getTime()
andUlid::getTime()
byUuidV1::getDateTime()
,UuidV6::getDateTime()
andUlid::getDateTime()
- Add
Uuid::NAMESPACE_*
constants from RFC4122 - Add
UlidFactory
,UuidFactory
,RandomBasedUuidFactory
,TimeBasedUuidFactory
andNameBasedUuidFactory
- Add commands to generate and inspect UUIDs and ULIDs
- made UUIDv6 always return truly random node fields to prevent leaking the MAC of the host
- added support for UUID
- added support for ULID
- added the component