Skip to content

Releases: ramsey/uuid

2.7.1

28 Jul 16:21
Compare
Choose a tag to compare

Fixed

  • Move moontoast/math and symfony/console to require-dev
  • Support symfony/console 2.3 (LTS version)

2.7.0

28 Jul 16:21
Compare
Choose a tag to compare

Added

  • Add Uuid::VALID_PATTERN constant containing a UUID validation regex pattern

2.6.1

28 Jul 16:21
Compare
Choose a tag to compare

Fixed

  • Fix bug where uuid console application could not find the Composer
    autoloader when installed in another project

2.6.0

28 Jul 16:22
Compare
Choose a tag to compare

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

28 Jul 16:22
Compare
Choose a tag to compare

Added

  • Use openssl_random_pseudo_bytes(), if available, to generate random bytes

2.4.0

28 Jul 16:23
Compare
Choose a tag to compare

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

28 Jul 16:23
Compare
Choose a tag to compare

Added

  • Support creation of UUIDs from bytes with Uuid::fromBytes()

2.2.0

28 Jul 16:23
Compare
Choose a tag to compare

Added

  • Add Doctrine\UuidType::requiresSQLCommentHint() method

2.1.2

28 Jul 16:24
Compare
Choose a tag to compare

Fixed

  • Fix cases where the system node was coming back with uppercase hexadecimal
    digits; this ensures that case in the node is converted to lowercase

2.1.1

28 Jul 16:24
Compare
Choose a tag to compare

Fixed

  • Fix bug in Uuid::isValid() where the NIL UUID was not reported as valid