ramsey/uuid-doctrine
Use ramsey/uuid as a Doctrine field type.
2.1.0
44M downloads/mo
#811 most downloaded on Packagist
ramsey/uuid-doctrine
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.5 years
Nearly every release is documented
notes for 17 of 17 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
17 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
17 releases · Sep 2015 to May 2024
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 17-
2.1.027 May 2024Release notes
Open source →Release notes
Open source → -
2.0.020 Dec 2022Release notes
Open source →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.
Release notes
Open source →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.203 Nov 2022 -
1.8.115 Jan 2022 -
1.8.008 Nov 2021Release notes
Open source →Added
- Support doctrine/dbal v3
- Add
UuidType::requiresSQLCommentHint()andUuidType::getMappedDatabaseTypes()to avoid unnecessaryALTER TABLEstatements after each schema update.
Release notes
Open source →Added
- Support doctrine/dbal v3
- Add
UuidType::requiresSQLCommentHint()andUuidType::getMappedDatabaseTypes()to avoid unnecessaryALTER TABLEstatements after each schema update.
-
1.7.007 Aug 2021Release notes
Open source →Added
- Support ramsey/uuid v4
- Support PHP 8
Changed
- Changed primary Doctrine dependency to doctrine/dbal and moved doctrine/orm dependency to
require-dev.
Release notes
Open source →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.027 Jan 2020Release notes
Open source →UuidType::convertToPHPValue()now checks for instances ofUuidInterface
instead ofUuid.- When
UuidBinaryOrderedTimeTypefails to encode or decode a UUID because it
is not a version 1 UUID, theConversionExceptionthrown now includes more
information about the format expected ("UuidV1"). UuidBinaryOrderedTimeType::getUuidFactory()and
UuidBinaryOrderedTimeType::getCodec()are nowprotectedinstead of
private.- Set minimum ramsey/uuid version to 3.5. This is required for use of the
OrderedTimeCodecthis library has supported since version 1.3.0. - Ensure the library supports the forthcoming ramsey/uuid version 4.0.0.
Release notes
Open source →Added
- Ensure the library supports the forthcoming ramsey/uuid version 4.0.0.
Changed
UuidBinaryOrderedTimeType::getUuidFactory()andUuidBinaryOrderedTimeType::getCodec()are nowprotectedinstead ofprivate.- Set minimum ramsey/uuid version to 3.5. This is required for use of the
OrderedTimeCodecthis library has supported since version 1.3.0.
Fixed
UuidType::convertToPHPValue()now checks for instances ofUuidInterfaceinstead ofUuid.- When
UuidBinaryOrderedTimeTypefails to encode or decode a UUID because it is not a version 1 UUID, theConversionExceptionthrown now includes more information about the format expected ("UuidV1").
-
1.5.011 Aug 2018Release notes
Open source →- Check whether values are
UuidInterfaceobjects or strings, rather than specificUuidobjects. This allows more flexibility in supporting alternate types of UUID objects.
Release notes
Open source →Added
- Check whether values are
UuidInterfaceobjects or strings, rather than specificUuidobjects. This allows more flexibility in supporting alternate types of UUID objects.
- Check whether values are
-
1.4.307 Nov 2017 -
1.4.206 Nov 2017Release notes
Open source →- 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
Release notes
Open source →Fixed
- 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
- Add
-
1.4.118 Jul 2017 -
1.4.005 Jul 2017Release notes
Open source → -
1.3.013 Apr 2017Release notes
Open source →Added
- Add
UuidBinaryOrderedTimeTypeto store UUIDv1 in MySQL-optimized format (#14)
Fixed
- Use
static::NAMEinstead ofself::NAME(#25)
- Add
-
1.2.023 Mar 2016 -
1.1.001 Feb 2016Release notes
Open source →Changed
- Now requiring the use of doctrine/dbal ^2.5 to support binary field types; this fixes a bug reported in #7
-
1.0.119 Oct 2015Release notes
Open source →Added
- Add project Code of Conduct
Fixed
- Loosen doctrine/dbal version requirement to ~2.3
- Fix converting UUID string to a binary UUID
-
1.0.028 Sep 2015Release notes
Open source →- Initial release!
- Separated from ramsey/uuid library into a stand-alone package