Skip to content

Releases: ramsey/uuid

4.7.6

28 Apr 18:56
4.7.6
91039bc
Compare
Choose a tag to compare

Fixed

  • Allow brick/math version ^0.12.

4.7.5

08 Nov 05:55
4.7.5
5f0df49
Compare
Choose a tag to compare

Fixed

  • Protect against UUIDv7 collisions within the same millisecond, as reported in #518 and fixed in #522.
  • Improve the return type hint for UuidInterface::compareTo().

4.7.4

15 Apr 23:40
4.7.4
60a4c63
Compare
Choose a tag to compare

Fixed

  • Allow brick/math version ^0.11.
  • Add explicit Stringable interface to UuidInterface.
  • Fix namespace conflict reported in #490.
  • Fix unserialize error with OrderedTimeCodec reported in #494.

4.7.3

12 Jan 18:17
4.7.3
433b201
Compare
Choose a tag to compare

Fixed

  • The original 4.7.2 tag accidentally pointed to a commit in the 5.x branch. I have replaced the 4.7.2 tag with a new tag that points to the correct commit, but I am creating this tag to help notify users and automated processes who might have already updated to the bad 4.7.2 tag (#487).

4.7.2

12 Jan 18:16
4.7.2
c1de830
Compare
Choose a tag to compare

Fixed

  • Amend Psalm assertion syntax on Uuid::isValid() to prevent incorrect type inference (#486).
  • Re-tagged with the correct commit hash, since the first tag was pointing to a commit in the 5.x branch (#487).

4.7.1

31 Dec 22:22
4.7.1
a1acf96
Compare
Choose a tag to compare

Fixed

  • Allow the use of ramsey/collection ^2.0 with ramsey/uuid.

4.7.0

19 Dec 22:32
4.7.0
5ed9ad5
Compare
Choose a tag to compare

Added

  • Add Uuid::fromHexadecimal() and UuidFactory::fromHexadecimal(). These methods are not required by the interfaces.

Fixed

  • Ignore MAC addresses consisting of all zeroes (i.e., 00:00:00:00:00:00).

3.9.7

19 Dec 22:25
3.9.7
dc75aa4
Compare
Choose a tag to compare

Fixed

  • Add #[ReturnTypeWillChange] to Uuid::jsonSerialize() method.

4.6.0

05 Nov 23:16
ad63bc7
Compare
Choose a tag to compare

Added

  • Add support for version 8, custom UUIDs, as defined in draft-ietf-uuidrev-rfc4122bis-00, section 5.8. While still an Internet-Draft, version 8 is stable and unlikely to change in any way that breaks compatibility.
    • Use Ramsey\Uuid\Uuid::uuid8() to generate version 8 UUIDs.
    • Version 8 UUIDs are of type Ramsey\Uuid\Rfc4122\UuidV8.
    • The constant Ramsey\Uuid\Uuid::UUID_TYPE_CUSTOM exists for version 8 UUIDs.

Fixed

  • Ensure monotonicity of version 7 UUIDs.

4.5.1

16 Sep 03:24
4.5.1
a161a26
Compare
Choose a tag to compare

Fixed

  • Update RFC 4122 validator to recognize version 6 and 7 UUIDs.