4.0.0-alpha4
Pre-release
Pre-release
Added
- Add a
Type\TypeInterface
that each of the ramsey/uuid types implements. - Support version 6 UUIDs; see http://gh.peabody.io/uuidv6/.
Changed
- Rename
Type\IntegerValue
toType\Integer
. It was originally named
IntegerValue
because static analysis seesInteger
in docblock annotations
and treats it as the nativeint
type.Integer
is not a reserved word in
PHP, so it should be namedInteger
for consistency with other types in this
library. When using it, a class alias prevents static analysis from
complaining. - Mark
Guid\Guid
andNonstandard\Uuid
classes asfinal
. - Add
uuid6()
method toUuidFactoryInterface
.
Deprecated
Uuid::UUID_TYPE_IDENTIFIER
is deprecated. UseUuid::UUID_TYPE_DCE_SECURITY
instead.Uuid::VALID_PATTERN
is deprecated. UseValidator\GenericValidator::VALID_PATTERN
instead.