All Versions
77
Latest Version
Avg Release Cycle
75 days
Latest Release
912 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v3.9.0 Changes
November 30, 2019โ Added
- โ Add function API as convenience. The functions are available in the
Ramsey\Uuid
namespace.v1(int|string|null $node = null, int|null $clockSeq = null): string
v3(string|UuidInterface $ns, string $name): string
v4(): string
v5(string|UuidInterface $ns, string $name): string
๐ Changed
- ๐ Use paragonie/random-lib instead of ircmaxell/random-lib. This is a non-breaking change.
- 0๏ธโฃ Use a high-strength generator by default, when using
RandomLibAdapter
. This is a non-breaking change.
๐ Deprecated
๐ These will be removed in ramsey/uuid version 4.0.0:
MtRandGenerator
,OpenSslGenerator
, andSodiumRandomGenerator
are deprecated in favor of using the defaultRandomBytesGenerator
.
๐ Fixed
- Set
ext-json
as a required dependency incomposer.json
. - Use
PHP_OS
instead ofphp_uname()
when determining the system OS, for cases whenphp_uname()
is disabled for security reasons.
- โ Add function API as convenience. The functions are available in the
-
v3.8.0 Changes
July 19, 2018- โ Add support for determining MAC address on FreeBSD systems (#212)
- โ Add a polyfill for PHP ctype functions to support systems where the ctype functions are not part of the PHP build (#223)
- ๐ Improve validation to disallow UUIDs with a trailing newline character (#225)
- โ Add annotations for thrown exceptions for improved IDE hinting (#232)
- ๐ Improve documentation, testing, and project metadata (i.e.
.gitattributes
, etc.)
-
v3.7.3 Changes
January 20, 2018- ๐ง In rare cases, when using
glob()
to find/sys/class/net/*/address
files on Linux,glob()
encountered errors, returningfalse
instead of an empty array, causingarray_map()
to emit warnings since its second parameter was not an array; this release gracefully handles cases whereglob()
returnsfalse
#203 - Fixed an off-by-one error in
DefaultTimeGenerator
and switching torandom_int()
frommt_rand()
for better random numbers #206
- ๐ง In rare cases, when using
-
v3.7.2 Changes
January 13, 2018- ๐ง On Linux, first check sysfs to determine node identifier; this provides a reliable way to identify the node on Docker images, etc. #185
-
v3.7.1 Changes
September 22, 2017 -
v3.7.0 Changes
August 04, 2017 -
v3.6.1 Changes
March 26, 2017๐ Fixed
- โก๏ธ Optimize UUID string decoding by using
str_pad()
instead ofsprintf()
- โก๏ธ Optimize UUID string decoding by using
-
v3.6.0 Changes
March 18, 2017- โ Add
InvalidUuidStringException
, thrown when attempting to decode an invalid string UUID; this does not introduce any BC issues, since the new exception inherits from the previously usedInvalidArgumentException
#162 - ๐ Improve memory usage when generating large quantities of UUIDs (use
str_pad()
anddechex()
instead ofsprintf()
) #160 - ๐ Minor test and documentation updates
- โ Add
-
v3.5.2 Changes
November 22, 2016๐ Fixed
- ๐ Improve test coverage
-
v3.5.1 Changes
October 02, 2016