UUID v3.0.0-alpha1 Release Notes

Release Date: 2015-07-16 // almost 9 years ago
  • βž• Added

    • πŸ‘ Allow dependency injection through UuidFactory and/or extending FeatureSet to override any package defaults
    • βž• Add a number of generators that may be used to override the library defaults:
      • CombGenerator to allow generation of sequential UUIDs
      • OpenSslGenerator to generate random bytes on systems where openssql_random_pseudo_bytes() is present
      • MtRandGenerator to provide a fallback in the event other random generators are not present
      • RandomLibAdapter to allow use of [ircmaxell/random-lib]
    • πŸ‘Œ Support GUID generation by configuring a FeatureSet to use GUIDs
    • πŸ‘ Allow UUIDs to be serialized as JSON through JsonSerializable

    πŸ”„ Changed

    • πŸ”„ Change root namespace from "Rhumsaa" to "Ramsey;" in most cases, simply making this change in your applications is the only upgrade path you will needβ€”everything else should work as expected
    • No longer consider Uuid class as final; everything is now based around interfaces and factories, allowing you to use this package as a base to implement other kinds of UUIDs with different dependencies
    • Return an object of type DegradedUuid on 32-bit systems to indicate that certain features are not available

    βœ‚ Removed

    • 🚚 Move UUID [Doctrine field type] to [ramsey/uuid-doctrine]
    • 🚚 Move uuid console application to [ramsey/uuid-console]
    • βœ‚ Remove Uuid::VERSION package version constant