Releases: ramsey/uuid
Releases · ramsey/uuid
4.8.1
4.8.0
Deprecated
The following will be removed in ramsey/uuid 5.0.0:
Ramsey\Uuid\Codec\OrderedTimeCodec
is deprecated; please migrate to version 6 UUIDs.Ramsey\Uuid\Codec\TimestampFirstCombCodec
is deprecated; please migrate to version 7 UUIDs.Ramsey\Uuid\Codec\TimestampLastCombCodec
is deprecated; please useRamsey\Uuid\Codec\StringCodec
instead.Ramsey\Uuid\Generator\CombGenerator
is deprecated; please migrate to version 7 UUIDs.
Fixed
- Allow brick/math version
^0.13
; fixed in #589. - Update call to
str_getcsv()
to avoid deprecation notice in PHP 8.4; fixed in #590. - Hexadecimal is never an empty string; fixed in #593.
- Update docblocks for
Uuid::fromBytes()
,Uuid::fromString()
,Uuid::fromDateTime()
,Uuid::fromHexadecimal()
, andUuid::fromInteger()
to note that each can throwInvalidArgumentException
, addressing PHPStan errors occurring at call sites; fixed in #552. getVariant()
forMaxUuid
now correctly returnsUuid::RESERVED_FUTURE
, as specified in RFC 9562, section 5.10.getVariant()
forNilUuid
now correctly returnsUuid::RESERVED_NCS
, as specified in RFC 9562, section 5.9.
New Contributors
- @staabm made their first contribution in #552
- @Chris53897 made their first contribution in #568
- @jrfnl made their first contribution in #584
- @PNardman made their first contribution in #590
- @axlon made their first contribution in #593
- @derrabus made their first contribution in #589
Full Changelog: 4.7.6...4.8.0