All Versions
77
Latest Version
Avg Release Cycle
75 days
Latest Release
912 days ago

Changelog History
Page 4

  • v3.9.0 Changes

    November 30, 2019

    โž• Added

    • โž• Add function API as convenience. The functions are available in the Ramsey\Uuid namespace.
      • v1(int|string|null $node = null, int|null $clockSeq = null): string
      • v3(string|UuidInterface $ns, string $name): string
      • v4(): string
      • v5(string|UuidInterface $ns, string $name): string

    ๐Ÿ”„ Changed

    • ๐Ÿ‘‰ Use paragonie/random-lib instead of ircmaxell/random-lib. This is a non-breaking change.
    • 0๏ธโƒฃ Use a high-strength generator by default, when using RandomLibAdapter. This is a non-breaking change.

    ๐Ÿ—„ Deprecated

    ๐Ÿšš These will be removed in ramsey/uuid version 4.0.0:

    • MtRandGenerator, OpenSslGenerator, and SodiumRandomGenerator are deprecated in favor of using the default RandomBytesGenerator.

    ๐Ÿ›  Fixed

    • Set ext-json as a required dependency in composer.json.
    • Use PHP_OS instead of php_uname() when determining the system OS, for cases when php_uname() is disabled for security reasons.
  • v3.8.0 Changes

    July 19, 2018
    • โž• Add support for determining MAC address on FreeBSD systems (#212)
    • โž• Add a polyfill for PHP ctype functions to support systems where the ctype functions are not part of the PHP build (#223)
    • ๐Ÿ‘Œ Improve validation to disallow UUIDs with a trailing newline character (#225)
    • โž• Add annotations for thrown exceptions for improved IDE hinting (#232)
    • ๐Ÿ‘Œ Improve documentation, testing, and project metadata (i.e. .gitattributes, etc.)
  • v3.7.3 Changes

    January 20, 2018
    • ๐Ÿง In rare cases, when using glob() to find /sys/class/net/*/address files on Linux, glob() encountered errors, returning false instead of an empty array, causing array_map() to emit warnings since its second parameter was not an array; this release gracefully handles cases where glob() returns false #203
    • Fixed an off-by-one error in DefaultTimeGenerator and switching to random_int() from mt_rand() for better random numbers #206
  • v3.7.2 Changes

    January 13, 2018
    • ๐Ÿง On Linux, first check sysfs to determine node identifier; this provides a reliable way to identify the node on Docker images, etc. #185
  • v3.7.1 Changes

    September 22, 2017
    • ๐Ÿ‘‰ Use random_bytes() when generating random nodes
    • Set the multicast bit for random nodes, according to RFC 4122, ยง4.5, #170, #171, #182
  • v3.7.0 Changes

    August 04, 2017
    • โž• Add UUID version constants #173, #177
      • Uuid::UUID_TYPE_TIME
      • Uuid::UUID_TYPE_IDENTIFIER
      • Uuid::UUID_TYPE_HASH_MD5
      • Uuid::UUID_TYPE_RANDOM
      • Uuid::UUID_TYPE_HASH_SHA1
  • v3.6.1 Changes

    March 26, 2017

    ๐Ÿ›  Fixed

    • โšก๏ธ Optimize UUID string decoding by using str_pad() instead of sprintf()
  • v3.6.0 Changes

    March 18, 2017
    • โž• Add InvalidUuidStringException, thrown when attempting to decode an invalid string UUID; this does not introduce any BC issues, since the new exception inherits from the previously used InvalidArgumentException #162
    • ๐Ÿ‘Œ Improve memory usage when generating large quantities of UUIDs (use str_pad() and dechex() instead of sprintf()) #160
    • ๐Ÿ“š Minor test and documentation updates
  • v3.5.2 Changes

    November 22, 2016

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ Improve test coverage
  • v3.5.1 Changes

    October 02, 2016
    • ๐Ÿ›  Fixed issue where same UUIDs were not treated as equal with mixed case (#131, #137).
    • โœ… Test cleanup.