Releases: ramsey/uuid
Releases · ramsey/uuid
2.7.4
Fixed
Change loop in generateBytes()
from foreach
to for
2.7.3
Fixed
Fix upper range for mt_rand
used in version 4 UUIDs
2.7.2
Changed
Upgrade to PSR-4 autoloading
2.7.1
Fixed
Move moontoast/math and symfony/console to require-dev
Support symfony/console 2.3 (LTS version)
2.7.0
Added
Add Uuid::VALID_PATTERN
constant containing a UUID validation regex pattern
2.6.1
Fixed
Fix bug where uuid
console application could not find the Composer
autoloader when installed in another project
2.6.0
Added
Introduce uuid
console application for generating and decoding UUIDs from
CLI (run ./bin/uuid
for details)
Add Uuid::getInteger()
to retrieve a Moontoast\Math\BigNumber
representation of the 128-bit integer representing the UUID
Add Uuid::getHex()
to retrieve the hexadecimal representation of the UUID
Use netstat
on Linux to capture the node for a version 1 UUID
Require moontoast/math as part of the regular package requirements
2.5.0
Added
Use openssl_random_pseudo_bytes()
, if available, to generate random bytes
2.4.0
Added
Return null
from Uuid::getVersion()
if the UUID isn't an RFC 4122 variant
Support string UUIDs without dashes passed to Uuid::fromString()
2.3.0
Added
Support creation of UUIDs from bytes with Uuid::fromBytes()
You can’t perform that action at this time.