All Versions
72
Latest Version
Avg Release Cycle
99 days
Latest Release
30 days ago

Changelog History
Page 5

  • v3.1.0 Changes

    December 17, 2015

    βž• Added

    • Implement the PHP Serializable interface to provide the ability to serialize/unserialize UUID objects
  • v3.0.1 Changes

    October 21, 2015

    βž• Added

    • Adopt the [Contributor Code of Conduct] for this project
  • v3.0.0 Changes

    September 28, 2015

    πŸš€ The 3.0.0 release represents a significant step for the ramsey/uuid library. While the simple and familiar API used in previous versions remains intact, this πŸš€ release provides greater flexibility to integrators, including the ability to inject your own number generators, UUID codecs, node and time providers, and more.

    Please note: The changelog for 3.0.0 includes all notes from the alpha and beta πŸ”– versions leading up to this release.

    βž• Added

    • βž• Add a number of generators that may be used to override the library defaults for generating random bytes (version 4) or time-based (version 1) UUIDs
      • 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]
      • RandomBytesGenerator for use with PHP 7; ramsey/uuid will default to use this generator when running on PHP 7
      • Refactor time-based (version 1) UUIDs into a TimeGeneratorInterface to allow for other sources to generate version 1 UUIDs in this library
      • PeclUuidTimeGenerator and PeclUuidRandomGenerator for creating version 1 or version 4 UUIDs using the pecl-uuid extension
    • βž• Add a setTimeGenerator method on UuidFactory to override the default time generator
    • βž• Add option to enable PeclUuidTimeGenerator via FeatureSet
    • πŸ‘Œ 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
    • 0️⃣ Default RandomLibAdapter to a medium-strength generator with [ircmaxell/random-lib]; this is configurable, so other generator strengths may be used

    βœ‚ Removed

    • βœ‚ Remove PeclUuidFactory in favor of using pecl-uuid with generators
    • βœ‚ Remove timeConverter and timeProvider properties, setters, and getters in both FeatureSet and UuidFactory as those are now exclusively used by the default TimeGenerator
    • 🚚 Move UUID [Doctrine field type] to [ramsey/uuid-doctrine]
    • 🚚 Move uuid console application to [ramsey/uuid-console]
    • βœ‚ Remove Uuid::VERSION package version constant

    πŸ›  Fixed

    • πŸ‘Œ Improve GUID support to ensure that:
      • On little endian (LE) architectures, the byte order of the first three fields is LE
      • On big endian (BE) architectures, it is the same as a GUID
      • String representation is always the same
    • πŸ›  Fix exception message for DegradedNumberConverter::fromHex()
  • v3.0.0-beta1 Changes

    August 31, 2015

    πŸ›  Fixed

    • πŸ‘Œ Improve GUID support to ensure that:
      • On little endian (LE) architectures, the byte order of the first three fields is LE
      • On big endian (BE) architectures, it is the same as a GUID
      • String representation is always the same
    • πŸ›  Fix exception message for DegradedNumberConverter::fromHex()
  • v3.0.0-alpha3 Changes

    July 28, 2015

    βž• Added

    • Enable use of custom TimeGenerator implementations
    • βž• Add a setTimeGenerator method on UuidFactory to override the default time generator
    • βž• Add option to enable PeclUuidTimeGenerator via FeatureSet

    βœ‚ Removed

    • βœ‚ Remove timeConverter and timeProvider properties, setters, and getters in both FeatureSet and UuidFactory as those are now exclusively used by the default TimeGenerator
  • v3.0.0-alpha2 Changes

    July 28, 2015

    βž• Added

    • ♻️ Refactor time-based (version 1) UUIDs into a TimeGeneratorInterface to allow for other sources to generate version 1 UUIDs in this library
    • βž• Add PeclUuidTimeGenerator and PeclUuidRandomGenerator for creating version 1 or version 4 UUIDs using the pecl-uuid extension
    • βž• Add RandomBytesGenerator for use with PHP 7. ramsey/uuid will default to use this generator when running on PHP 7

    πŸ”„ Changed

    • 0️⃣ Default RandomLibAdapter to a medium-strength generator with [ircmaxell/random-lib]; this is configurable, so other generator strengths may be used

    βœ‚ Removed

    • βœ‚ Remove PeclUuidFactory in favor of using pecl-uuid with generators
  • v3.0.0-alpha1 Changes

    July 16, 2015

    βž• 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
  • v2.9.0 Changes

    March 22, 2016

    πŸ”’ Security

    • ⬇️ Drop the use of OpenSSL as a fallback and use [paragonie/random_compat] to support RandomBytesGenerator in versions of PHP earlier than 7.0; this addresses and fixes the [collision issue]
  • v2.8.4 Changes

    December 17, 2015

    βž• Added

    • βž• Add support for symfony/console v3 in the uuid CLI application
  • v2.8.3 Changes

    August 31, 2015

    πŸ›  Fixed

    • πŸ›  Fix exception message in Uuid::calculateUuidTime()