All Versions
77
Latest Version
Avg Release Cycle
75 days
Latest Release
585 days ago
Changelog History
Page 1
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 theRfc4122
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.
- Use
- ➕ Add
Ramsey\Uuid\Converter\Time\UnixTimeConverter
andRamsey\Uuid\Generator\UnixTimeGenerator
to support version 7 UUID generation. - ➕ Add support for [max UUIDs][] through
Ramsey\Uuid\Uuid::MAX
andRamsey\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 ofRamsey\Uuid\Rfc4122\UuidV6
. Ramsey\Uuid\Uuid::UUID_TYPE_PEABODY
; useRamsey\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 a2
when called on a nil UUID.
- Promote version 6, reordered time UUIDs from the
-
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 theext-ctype
is not present, please require a polyfill, such as symfony/polyfill-ctype. - 🏗 Use
iterable<UuidBuilderInterface>
instead ofBuilderCollection
types. - 👉 Use
iterable<NodeProviderInterface>
instead ofNodeProviderCollection
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.
- Switch back to
-
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.
- 👍 Indicate support for PHP 8.1, using
-
v4.2.1 Changes
August 10, 2021🛠 Fixed
- Fix soft BC break with
Uuid::fromString()
signature. The change fromstring
tonon-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.
- Fix soft BC break with
-
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
- 🛠 Fix serialization of UUIDs. See ramsey/uuid#361.
- ➕ Add
-
v4.1.3 Changes
September 25, 2021🛠 Fixed
- Switch back to
^8.0
in the PHP version requirement.
- Switch back to