Skip to content

Releases: ramsey/uuid-doctrine

2.1.0

27 May 00:01
2.1.0
491e1bf
Compare
Choose a tag to compare

Added

  • Support doctrine/dbal version 4 (#247).

Changed

  • Minimum version of PHP is now 8.1.

Fixed

  • Support PostgreSQL binary resources (#229, fixes #225).

2.0.0

20 Dec 23:50
2.0.0
b002676
Compare
Choose a tag to compare

Added

  • Add UUID version 7 generator (#191).
  • Support other subclasses of EntityManagerInterface (#180).
  • Use binary binding type for UuidBinary* types (#72).

Changed

  • All public method signatures now specify return types. This might affect downstream child classes.
  • Minimum version of PHP is now 7.4.
  • Minimum version of doctrine/dbal is now 2.8.
  • Minimum version of ramsey/uuid is now 3.9.7.

1.8.2

03 Nov 19:31
1.8.2
6867db3
Compare
Choose a tag to compare

Fixed

  • Fix return type deprecation warnings (#178).

1.8.1

15 Jan 23:58
1.8.1
1a6f235
Compare
Choose a tag to compare

Fixed

  • Prevent type error while converting invalid value type in convertToDatabaseValue() (#170).
  • Add return type annotation to getSQLDeclaration() to silence deprecation notices (#173).

1.8.0

08 Nov 03:05
1.8.0
135fadb
Compare
Choose a tag to compare

Added

  • Support doctrine/dbal v3
  • Add UuidType::requiresSQLCommentHint() and UuidType::getMappedDatabaseTypes() to avoid unnecessary ALTER TABLE statements after each schema update.

1.7.0

07 Aug 16:49
1.7.0
b250b9d
Compare
Choose a tag to compare

Added

  • Support ramsey/uuid v4
  • Support PHP 8

Changed

  • Changed primary Doctrine dependency to doctrine/dbal and moved doctrine/orm dependency to require-dev.

1.6.0

27 Jan 05:19
1.6.0
9facc46
Compare
Choose a tag to compare
  • UuidType::convertToPHPValue() now checks for instances of UuidInterface
    instead of Uuid.
  • When UuidBinaryOrderedTimeType fails to encode or decode a UUID because it
    is not a version 1 UUID, the ConversionException thrown now includes more
    information about the format expected ("UuidV1").
  • UuidBinaryOrderedTimeType::getUuidFactory() and
    UuidBinaryOrderedTimeType::getCodec() are now protected instead of
    private.
  • Set minimum ramsey/uuid version to 3.5. This is required for use of the
    OrderedTimeCodec this library has supported since version 1.3.0.
  • Ensure the library supports the forthcoming ramsey/uuid version 4.0.0.

1.5.0

11 Aug 21:04
1.5.0
2a56db8
Compare
Choose a tag to compare
  • Check whether values are UuidInterface objects or strings, rather than specific Uuid objects. This allows more flexibility in supporting alternate types of UUID objects.

1.4.3

07 Nov 23:54
1.4.3
224a55a
Compare
Choose a tag to compare
  • Revert getBindingType() (#45) work until a solution can be implemented for the "array to string conversion" notice reported in #47

1.4.2

06 Nov 16:21
1.4.2
9417136
Compare
Choose a tag to compare
  • Add getBindingType() method to binary types (#45); this fixes issues where binary UUIDs were not treated properly by certain database clients when binding query parameters