Released: 2020-01-27
UuidType::convertToPHPValue()
now checks for instances ofUuidInterface
instead ofUuid
.- When
UuidBinaryOrderedTimeType
fails to encode or decode a UUID because it is not a version 1 UUID, theConversionException
thrown now includes more information about the format expected ("UuidV1"). UuidBinaryOrderedTimeType::getUuidFactory()
andUuidBinaryOrderedTimeType::getCodec()
are nowprotected
instead ofprivate
.- 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.
Released: 2018-08-11
- Check whether values are
UuidInterface
objects or strings, rather than specificUuid
objects. This allows more flexibility in supporting alternate types of UUID objects.
Released: 2017-11-07
- Revert
getBindingType()
(#45) work until a solution can be implemented for the "array to string conversion" notice reported in #47
Released: 2017-11-06
- 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
Released: 2017-07-18
- Use global
UuidFactory
inUuidOrderedTimeGenerator
; this provides the ability to configure the factory used (#36, #37)
Released: 2017-07-05
- Add generator for time-optimized UUIDs (#33)
- Remove HHVM testing on Travis CI
Released: 2017-04-13
- Add
UuidBinaryOrderedTimeType
to store UUIDv1 in MySQL-optimized format (#14) - Use
static::NAME
instead ofself::NAME
(#25) - Various documentation updates
Released: 2016-03-23
- Add UuidGenerator class to make Doctrine integration easier
Released: 2016-01-01
- Now requiring the use of doctrine/dbal ^2.5 to support binary field types; this fixes a bug reported in #7
Released: 2015-10-19
- Loosen doctrine/dbal version requirement to ~2.3
- Fix converting UUID string to a binary UUID
- Add project Code of Conduct
Released: 2015-09-28
- Separated from ramsey/uuid library into a stand-alone package