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

Changelog History
Page 1

  • v4.5.1 Changes

    September 16, 2022

    ๐Ÿ›  Fixed

    • โšก๏ธ Update RFC 4122 validator to recognize version 6 and 7 UUIDs.
  • v4.5.0 Changes

    September 15, 2022

    โž• Added

    • Promote version 6, reordered time UUIDs from the Nonstandard namespace to the Rfc4122 namespace. Version 6 UUIDs are defined in [New UUID Formats, section 5.1][version6]. While still an Internet-Draft version 6 is stable and unlikely to change in any way that breaks compatibility.
    • โž• Add support for version 7, Unix Epoch time UUIDs, as defined in [New UUID Formats, section 5.2][version7]. While still an Internet-Draft, version 7 is stable and unlikely to change in any way that breaks compatibility.
      • Use Ramsey\Uuid\Uuid::uuid7() to generate version 7 UUIDs.
      • Version 7 UUIDs are of type Ramsey\Uuid\Rfc4122\UuidV7.
      • The constant Ramsey\Uuid\Uuid::UUID_TYPE_UNIX_TIME exists for version 7 UUIDs.
    • โž• Add Ramsey\Uuid\Converter\Time\UnixTimeConverter and Ramsey\Uuid\Generator\UnixTimeGenerator to support version 7 UUID generation.
    • โž• Add support for [max UUIDs][] through Ramsey\Uuid\Uuid::MAX and Ramsey\Uuid\Rfc4122\MaxUuid.

    ๐Ÿ”„ Changed

    • The lowest version of brick/math allowed is now ^0.8.8.

    ๐Ÿ—„ Deprecated

    ๐Ÿšš The following will be removed in ramsey/uuid 5.0.0:

    • ๐Ÿ—„ Ramsey\Uuid\Nonstandard\UuidV6 is deprecated in favor of Ramsey\Uuid\Rfc4122\UuidV6.
    • Ramsey\Uuid\Uuid::UUID_TYPE_PEABODY; use Ramsey\Uuid\Uuid::UUID_TYPE_REORDERED_TIME instead.

    ๐Ÿ›  Fixed

    • For Ramsey\Uuid\Uuid::isValid(), Psalm now asserts the UUID is a non-empty-string when it is valid.
    • Nil UUIDs are properly treated as RFC 4122 variants, and getVariant() now returns a 2 when called on a nil UUID.
  • v4.4.0 Changes

    August 05, 2022

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ Allow brick/math 0.10.
    • โœ‚ Remove dev dependency to moontoast/math.
    • ๐Ÿ—„ Un-deprecate UuidInterface::getUrn().
  • v4.3.1 Changes

    March 27, 2022

    ๐Ÿ—„ Deprecated

    ๐Ÿšš The following will be removed in ramsey/uuid 5.0.0:

    • Ramsey\Uuid\Generator\RandomLibAdapter
  • v4.3.0 Changes

    March 26, 2022

    ๐Ÿ”„ Changed

    • โœ‚ Remove support for PHP 7.2, 7.3, and 7.4. This is not a BC break, since Composer will do the right thing for your environment and select a compatible version of this library.
    • Require ext-ctype extension. For applications that run in environments where the ext-ctype is not present, please require a polyfill, such as symfony/polyfill-ctype.
    • ๐Ÿ— Use iterable<UuidBuilderInterface> instead of BuilderCollection types.
    • ๐Ÿ‘‰ Use iterable<NodeProviderInterface> instead of NodeProviderCollection types.

    ๐Ÿ—„ Deprecated

    ๐Ÿšš The following will be removed in ramsey/uuid 5.0.0:

    • ๐Ÿ— Ramsey\Uuid\Builder\BuilderCollection
    • Ramsey\Uuid\Provider\Node\NodeProviderCollection
    • Dependency on ramsey/collection

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ Support valid UUIDs in uppercase in LazyUuidFromString.
  • v4.2.3 Changes

    September 25, 2021

    ๐Ÿ›  Fixed

    • Switch back to ^8.0 in the PHP version requirement.
  • v4.2.2 Changes

    September 24, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Indicate support for PHP 8.1, using ~8.1.0 to prevent installations on 8.2 until the library is ready.
  • v4.2.1 Changes

    August 10, 2021

    ๐Ÿ›  Fixed

    • Fix soft BC break with Uuid::fromString() signature. The change from string to non-empty-string on the parameter annotation introduced a BC break for those using static analysis tools. This release reverts this change and provides an assertion to guard against empty strings. See ramsey/uuid#383.
  • v4.2.0 Changes

    August 06, 2021

    โž• Added

    • โž• Add Ramsey\Uuid\Exception\UuidExceptionInterface for all ramsey/uuid exceptions to implement. See ramsey/uuid#340.

    ๐Ÿ›  Fixed

  • v4.1.3 Changes

    September 25, 2021

    ๐Ÿ›  Fixed

    • Switch back to ^8.0 in the PHP version requirement.