All Versions
77
Latest Version
Avg Release Cycle
75 days
Latest Release
580 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