Skip to content

4.0.0-alpha4

Pre-release
Pre-release
Compare
Choose a tag to compare
@ramsey ramsey released this 23 Feb 05:02
4.0.0-alpha4
a8f1692

Added

Changed

  • Rename Type\IntegerValue to Type\Integer. It was originally named
    IntegerValue because static analysis sees Integer in docblock annotations
    and treats it as the native int type. Integer is not a reserved word in
    PHP, so it should be named Integer for consistency with other types in this
    library. When using it, a class alias prevents static analysis from
    complaining.
  • Mark Guid\Guid and Nonstandard\Uuid classes as final.
  • Add uuid6() method to UuidFactoryInterface.

Deprecated

  • Uuid::UUID_TYPE_IDENTIFIER is deprecated. Use Uuid::UUID_TYPE_DCE_SECURITY
    instead.
  • Uuid::VALID_PATTERN is deprecated. Use Validator\GenericValidator::VALID_PATTERN
    instead.