PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 17
  1. 2.1.0 27 May 2024
    Release notes

    Added

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

    Changed

    • Minimum version of PHP is now 8.1.

    Fixed

    • Support PostgreSQL binary resources (#229, fixes #225).
    Open source →
    Release notes

    Added

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

    Changed

    • Minimum version of PHP is now 8.1.

    Fixed

    • Support PostgreSQL binary resources (#229, fixes #225).
    Open source →
  2. 2.0.0 20 Dec 2022
    Release notes

    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.
    Open source →
    Release notes

    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.
    Open source →
  3. 1.8.2 03 Nov 2022
    Release notes

    Fixed

    • Fix return type deprecation warnings (#178).
    Open source →
    Release notes

    Fixed

    • Fix return type deprecation warnings (#178).
    Open source →
  4. 1.8.1 15 Jan 2022
    Release notes

    Fixed

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

    Fixed

    • Prevent type error while converting invalid value type in convertToDatabaseValue() (#170).
    • Add return type annotation to getSQLDeclaration() to silence deprecation notices (#173).
    Open source →
  5. 1.8.0 08 Nov 2021
    Release notes

    Added

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

    Added

    • Support doctrine/dbal v3
    • Add UuidType::requiresSQLCommentHint() and UuidType::getMappedDatabaseTypes() to avoid unnecessary ALTER TABLE statements after each schema update.
    Open source →
  6. 1.7.0 07 Aug 2021
    Release notes

    Added

    • Support ramsey/uuid v4
    • Support PHP 8

    Changed

    • Changed primary Doctrine dependency to doctrine/dbal and moved doctrine/orm dependency to require-dev.
    Open source →
    Release notes

    Added

    • Support ramsey/uuid v4
    • Support PHP 8

    Changed

    • Changed primary Doctrine dependency to doctrine/dbal and moved doctrine/orm dependency to require-dev.
    Open source →
  7. 1.6.0 27 Jan 2020
    Release notes
    • 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.
    Open source →
    Release notes

    Added

    • Ensure the library supports the forthcoming ramsey/uuid version 4.0.0.

    Changed

    • 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.

    Fixed

    • 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").
    Open source →
  8. 1.5.0 11 Aug 2018
    Release notes
    • Check whether values are UuidInterface objects or strings, rather than specific Uuid objects. This allows more flexibility in supporting alternate types of UUID objects.
    Open source →
    Release notes

    Added

    • Check whether values are UuidInterface objects or strings, rather than specific Uuid objects. This allows more flexibility in supporting alternate types of UUID objects.
    Open source →
  9. 1.4.3 07 Nov 2017
    Release notes
    • Revert getBindingType() (#45) work until a solution can be implemented for the "array to string conversion" notice reported in #47
    Open source →
    Release notes

    Fixed

    • Revert getBindingType() (#45) work until a solution can be implemented for the "array to string conversion" notice reported in #47
    Open source →
  10. 1.4.2 06 Nov 2017
    Release notes
    • 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
    Open source →
    Release notes

    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
    Open source →
  11. 1.4.1 18 Jul 2017
    Release notes

    Fixed

    • Use global UuidFactory in UuidOrderedTimeGenerator; this provides the ability to configure the factory used (#36, #37)
    Open source →
  12. 1.4.0 05 Jul 2017
    Release notes

    Added

    • Add generator for time-optimized UUIDs (#33)

    Removed

    • Remove support for HHVM
    Open source →
  13. 1.3.0 13 Apr 2017
    Release notes

    Added

    • Add UuidBinaryOrderedTimeType to store UUIDv1 in MySQL-optimized format (#14)

    Fixed

    • Use static::NAME instead of self::NAME (#25)
    Open source →
  14. 1.2.0 23 Mar 2016
    Release notes

    Added

    • Add UuidGenerator class to make Doctrine integration easier
    Open source →
  15. 1.1.0 01 Feb 2016
    Release notes

    Changed

    • Now requiring the use of doctrine/dbal ^2.5 to support binary field types; this fixes a bug reported in #7
    Open source →
  16. 1.0.1 19 Oct 2015
    Release notes

    Added

    Fixed

    • Loosen doctrine/dbal version requirement to ~2.3
    • Fix converting UUID string to a binary UUID
    Open source →
  17. 1.0.0 28 Sep 2015
    Release notes
    • Initial release!
    • Separated from ramsey/uuid library into a stand-alone package
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive