| 1 |
Revision history for Perl extension UUID. |
| 2 |
|
| 3 |
0.39 Sat Sep 5 11:48:16 EDT 2026 |
| 4 |
- Fix deadlock on MacOS/OSX. |
| 5 |
- Thanks Kurt Starsinic, Matt Martini. [rt.cpan.org #178101] |
| 6 |
- AUTOMATED_TESTING no longer forces verbose. |
| 7 |
- More explicit error checking in lock wrapper. |
| 8 |
- Fixed possible looping in UMTX_lock in some cases. |
| 9 |
- Fixed chicken-egg problem in test lib in some cases. |
| 10 |
- Switched to flush by default in test lib due to missing flush() in |
| 11 |
older IO::File. |
| 12 |
- Started adding coverage tests. |
| 13 |
- Fixed a few broken POD tags. |
| 14 |
|
| 15 |
0.38 Thu May 14 10:52:38 EDT 2026 |
| 16 |
- Use system randomness for seeding internal PRNG. Source is |
| 17 |
platform-specific and preferred in the following order, if |
| 18 |
available: |
| 19 |
- arc4random() |
| 20 |
- BCryptGenRandom() |
| 21 |
- CryptGenRandom() |
| 22 |
- getentropy() |
| 23 |
- getrandom() |
| 24 |
- /dev/urandom |
| 25 |
- Move internal context to anonymous mmap to synchronize timestamps |
| 26 |
between multiple processes or threads. This also means random |
| 27 |
numbers for all processes/threads now come from a common pool, |
| 28 |
eliminating chance of parallel duplication. |
| 29 |
- Improved internal context locking, switching away from pthreads due |
| 30 |
to cross-platform inconsistencies with respect to process-shared |
| 31 |
mutexes. Now OpenBSD uses futex, Win32 uses SRWLocks, and OSX uses |
| 32 |
GCD. Everywhere else uses sem_wait. These solutions were promoted to |
| 33 |
top-tier after realizing they would have to be done anyway as |
| 34 |
fallbacks for pthreads. |
| 35 |
- Add internal try/catch to ensure locks are not orphaned and avoid |
| 36 |
deadlock in fork/thread scenarios. |
| 37 |
- Fix off-by-one in time adjustment causing occasional duplication on |
| 38 |
very fast hosts. (Over 10M UUIDs/sec, so probably never seen in |
| 39 |
production.) See, for example: |
| 40 |
https://www.cpantesters.org/cpan/report/f26eddf4-dc5c-11f0-baa1-832b6e8775ea |
| 41 |
- Scroll to failed test t/3unique/v6.t |
| 42 |
- Notice the first 3 digit groups of each UUID. |
| 43 |
- For v6 UUIDs, the first 3 groups are basically system time in 100ns steps. |
| 44 |
- The first 12 UUIDs are increasing 1 count each. |
| 45 |
- The next 11 UUIDs are also increasing 1 count each, repeating the |
| 46 |
same times as the first 12. The sequence field (the 4th digit |
| 47 |
group) has increased though, so this is okay. |
| 48 |
- The 24th UUID repeats the 23rd. |
| 49 |
- The burst ends with the 28th UUID. |
| 50 |
- Sped up t/3unique non-forking tests to tickle off-by-one bug. |
| 51 |
- Make t/3unique fork/prefork tests run in parallel. |
| 52 |
- Make t/8threads tests try harder to produce dupes. |
| 53 |
- Add fork/prefork tests for uncovered UUID versions. |
| 54 |
- Drop Test::More in favor of lighter, faster, homegrown module. |
| 55 |
|
| 56 |
0.37 Mon Feb 24 04:25:27 EST 2025 |
| 57 |
- Fix build under gcc-15 default ISO C23. |
| 58 |
- Thanks Petr Pisar. [rt.cpan.org #159112] |
| 59 |
|
| 60 |
0.36 Sat Jun 22 21:24:39 EDT 2024 |
| 61 |
- Fix distro tests run from read-only location. |
| 62 |
- Thanks Petr Pisar. [rt.cpan.org #153854] |
| 63 |
|
| 64 |
0.35 Wed May 29 14:40:34 EDT 2024 |
| 65 |
- Reworked persist file handling for speed. |
| 66 |
- Reworked seeding for front-loading prefork processes. |
| 67 |
- Thanks again to Christopher Rasch-Olsen Raa. |
| 68 |
|
| 69 |
0.34 Mon Apr 29 21:03:51 EDT 2024 |
| 70 |
- Added version 3 and 5 UUIDs. |
| 71 |
- Added deferred persistence, default 0.001 seconds. |
| 72 |
- Now forces reseed after fork(). |
| 73 |
- Thanks to Christopher Rasch-Olsen Raa. [rt.cpan.org #152751] |
| 74 |
|
| 75 |
0.33 Sat Mar 16 07:34:19 EDT 2024 |
| 76 |
- Removed most bundled e2fsprogs UUID code. |
| 77 |
- Added :mac=random/unique to hide real MAC. |
| 78 |
- Fixed finding mac address on native Win32 builds. |
| 79 |
- Added version 6 and 7 UUIDs. |
| 80 |
- Switched to ChaCha20 as RNG salted with Xoshiro256++. |
| 81 |
- Added uuid1(), uuid4() to return strings directly. |
| 82 |
- Added generate_v1() and generate_v4() for binaries. |
| 83 |
- Fixed duplicate Win32 random UUIDs when > 1K/sec. |
| 84 |
- Fixed Win32 v1 throttling when > 10K/sec. |
| 85 |
- Fixed duplicate v1 UUIDs everywhere when > 10M/sec. |
| 86 |
- Exposed persistent state function. |
| 87 |
- Added :persist to make state path configurable. |
| 88 |
- Fixed possible symlink attack on persistent file. |
| 89 |
- Added generate_v0() and uuid0() to generate null UUIDs. |
| 90 |
- Added benchmarks in tests. |
| 91 |
> make test TEST_VERBOSE=1 TEST_FILES=t/9benchmark/*.t |
| 92 |
- Added benchmark comparing version speeds, calling styles, |
| 93 |
and persistence. |
| 94 |
> make compare |
| 95 |
- Now believed to be thread safe. |
| 96 |
|
| 97 |
0.32 Tue Dec 12 23:23:51 EST 2023 |
| 98 |
- Expose uuid_type(). |
| 99 |
- Expose uuid_variant(). |
| 100 |
- Expose uuid_time(). |
| 101 |
- Remove dependence on system libraries. |
| 102 |
- Update POD. |
| 103 |
|
| 104 |
0.31 Mon Nov 6 23:43:58 EST 2023 |
| 105 |
- Make generated metafiles authoritative and test. |
| 106 |
- Thanks to twata. [rt.cpan.org #150311] |
| 107 |
- Re-enable warnings, per Kwalitee. |
| 108 |
- Rename License to LICENSE, per Kwalitee. |
| 109 |
- Add 'provides' info to metafiles, per Kwalitee. |
| 110 |
- Add test deps, per Kwalitee. |
| 111 |
- Switch to non-system types. |
| 112 |
- Fix make order. |
| 113 |
- Fix misguided config.h. |
| 114 |
- Fix missing prototypes. |
| 115 |
- Fix missing patch. |
| 116 |
- Split to two level diff utils. |
| 117 |
|
| 118 |
0.30 Tue Oct 31 17:16:50 EDT 2023 |
| 119 |
- Bump ExtUtils::MakeMaker prereq to 6.64 (first version supporting |
| 120 |
TEST_REQUIRES). |
| 121 |
- Better support for older Win32. |
| 122 |
- Fix trivial build warnings. |
| 123 |
|
| 124 |
0.29 Wed Oct 25 01:15:57 EDT 2023 |
| 125 |
- Bump prereq version for Devel::CheckLib to 1.14 to fix problems with |
| 126 |
Strawberry versions 5.18 to 5.28. Earlier Strawberry did not ship |
| 127 |
Devel::CheckLib. Newer versions shipped 1.14 or later. |
| 128 |
- Thanks to twata. [rt.cpan.org #143841] |
| 129 |
|
| 130 |
0.28 Sat Dec 29 00:59:25 EST 2018 |
| 131 |
- Add OSSP variant of libuuid. CentOS7 (and presumably other RedHat |
| 132 |
derivatives) have packages for both OSSP and e2fs. Favor e2fs, if |
| 133 |
found, since our implementation of OSSP is probably slower. |
| 134 |
- Thanks to Greg Cox. [rt.cpan.org #128122] |
| 135 |
|
| 136 |
0.27 Fri Sep 23 01:52:00 EDT 2016 |
| 137 |
- Update SYNOPSIS to remove ":all". Indiscriminate exports could cause |
| 138 |
problems with other modules, such as File::Copy::copy(). |
| 139 |
- Thanks to Slaven Rezic. [rt.cpan.org #118033] |
| 140 |
|
| 141 |
0.26 Sat May 7 02:32:52 EDT 2016 |
| 142 |
- Fix broken @ARGV handling in Makefile.PL regarding debug flag. |
| 143 |
- Also changed DEBUG flag to UUID_DEBUG |
| 144 |
- Thanks to gregor herrmann. [rt.cpan.org #114213] |
| 145 |
|
| 146 |
0.25 Mon Mar 14 10:15:55 EDT 2016 |
| 147 |
- Changed all prints in Makefile.PL to warns and made both |
| 148 |
unbuffered to match Devel::CheckLib |
| 149 |
- Remove uuid_unparse_lower/upper() calls which don't exist |
| 150 |
on SunOS |
| 151 |
- Ignore TEST_REQUIRES on EUMM < 6.64 |
| 152 |
- Try to find correct link lib (-lrpcrt4, -luuid, -lc, in order) |
| 153 |
- Make string argument a char** for uuid_to_string() |
| 154 |
- Add note on Linux UUID packages |
| 155 |
- Moved test.pl to t/test.t and updated to Test::More |
| 156 |
- Changed debug() to emit to stderr to match Devel::CheckLib |
| 157 |
- Removed Makefile.PL verbosity |
| 158 |
- Added switch to Makefile.PL to incite verbosity |
| 159 |
- Become verbose for smokers only on dev releases |
| 160 |
- Added build notice for missing header/libraries |
| 161 |
- Bail out of build if uuid_t size == 0 |
| 162 |
- Reorganized header/library search to find wayward OSX |
| 163 |
- Thanks to David Wheeler and William Faulk for pointers and |
| 164 |
lots of patience in testing. [rt.cpan.org #104394] |
| 165 |
|
| 166 |
0.24 Mon Jan 19 01:05:14 EST 2015 |
| 167 |
- Add 'extern "C"' for g++ |
| 168 |
|
| 169 |
0.23 Sun Dec 28 18:58:04 EST 2014 |
| 170 |
- Reverse order of rpc.h and rpcdce.h in UUID.xs (rpc.h first) |
| 171 |
|
| 172 |
0.22 Sun Dec 28 08:42:23 EST 2014 |
| 173 |
- Ugh! Forgot to include rpcdce.h in UUID.xs |
| 174 |
|
| 175 |
0.21 Sun Dec 28 08:35:23 EST 2014 |
| 176 |
- Instead of unistd.h, try rpcdce.h on Win |
| 177 |
- Minor cleanup in test.pl |
| 178 |
|
| 179 |
0.20 Sat Dec 27 19:27:28 EST 2014 |
| 180 |
- Also include unistd.h when using Rpc.h (Win) |
| 181 |
- Fix pointer problem in -luuid search on Win |
| 182 |
- Fix minor header propagation problem in Makefile.PL |
| 183 |
|
| 184 |
0.19 Fri Dec 26 17:09:12 EST 2014 |
| 185 |
- Fix pointer confusion in do_uuid() on BSD [rt.cpan.org #101137] |
| 186 |
|
| 187 |
0.18 Fri Dec 26 08:20:06 EST 2014 |
| 188 |
- Allow for non-true/false return from uuid_from_string() on BSD |
| 189 |
- Remove unused dependency on Config.pm |
| 190 |
- Added yet more debug info for 'make test' time |
| 191 |
- Change -DPERL__UUID__UUID_BUF_SZ to -DPERL__UUID__STRUCT_SZ |
| 192 |
|
| 193 |
0.17 Fri Dec 26 05:05:13 EST 2014 |
| 194 |
- Removed two nested comments on BSD /* sigh */ |
| 195 |
- Let e2fs machines use sv_cmp too (let's see if OSX Frankenbox works) |
| 196 |
- Changed warns in Makefile.PL to prints |
| 197 |
|
| 198 |
0.16 Thu Dec 25 18:24:23 EST 2014 |
| 199 |
- Typo on Windows/BSD |
| 200 |
- Trying sv_cmp() instead of uuid_compare() on RPC-based machines |
| 201 |
|
| 202 |
0.15 Thu Dec 25 05:55:13 EST 2014 |
| 203 |
- REALLY fix do_uuid() typo. Really. |
| 204 |
- Fix pointer problems on BSD |
| 205 |
- Removed uuid_copy() from BSD. How did that get there? =) |
| 206 |
- Added yet another test for OSX segfault! |
| 207 |
- Check and set -DPERL__UUID__UUID_BUF_SZ=?? in Makefile.PL |
| 208 |
(Should be the same everywhere, right? Right?) |
| 209 |
|
| 210 |
0.14 Wed Dec 24 22:39:42 EST 2014 |
| 211 |
- Fix typo in Windows do_uuid() for compiler fail on strawberry |
| 212 |
- Now checking for all header files instead of taking first |
| 213 |
- Added more detail for failed interface search |
| 214 |
- Added check for uuid struct size |
| 215 |
|
| 216 |
0.13 Wed Dec 24 07:45:49 EST 2014 |
| 217 |
- Split -luuid search into header file and interface type stages |
| 218 |
- Removed SvPV_nolen everywhere (buffer overflows) |
| 219 |
|
| 220 |
0.12 Wed Dec 24 03:07:50 EST 2014 |
| 221 |
- Added support for non-e2fs systems (BSD, OSX, Win) |
| 222 |
|
| 223 |
0.11_01 Tue Dec 23 20:23:29 EST 2014 |
| 224 |
- Modified test.pl to hopefully catch where MacOSX fails |
| 225 |
- Heavy mods to Makefile.PL to differentiate between interfaces |
| 226 |
- Makefile.PL *lots* more verbose |
| 227 |
- Lots of #ifdefs added in XS |
| 228 |
- First shot at code that works for BSD style interface |
| 229 |
|
| 230 |
0.11 Mon Dec 22 19:03:09 EST 2014 |
| 231 |
- Looks like I've managed to cut the failure reports down a little TOO |
| 232 |
far, so now splitting the search for -luuid into two separate |
| 233 |
phases. The first, which I don't want to deal with right now, tests |
| 234 |
for usability of the -luuid flag by itself. The second, tests for |
| 235 |
usability of individual functions. We'll deal with platforms that |
| 236 |
actually find libuuid first, then MAYBE revisit others. |
| 237 |
|
| 238 |
0.10 Mon Dec 22 11:55:30 EST 2014 |
| 239 |
- Added clear() and is_null() |
| 240 |
- Added copy() and compare() |
| 241 |
- Added unparse_lower() and unparse_upper() |
| 242 |
- Added generate_random() and generate_time() |
| 243 |
|
| 244 |
0.09 Mon Dec 22 04:31:26 EST 2014 |
| 245 |
- Drag test.pl into this century using Test.pm |
| 246 |
- Add postamble to Makefile to generate README |
| 247 |
- Overhaul POD |
| 248 |
- Fix MacOS warning "unsigned char* <--> char*" |
| 249 |
|
| 250 |
0.08 Sun Dec 21 06:06:21 EST 2014 |
| 251 |
- Added README with pod2text UUID.pm README |
| 252 |
- Switched libuuid search to Devel::CheckLib |
| 253 |
|
| 254 |
0.07 Sat Dec 20 21:12:17 EST 2014 |
| 255 |
- Updated Makefile.PL |
| 256 |
- Added search for -luuid at Makefile.PL time |
| 257 |
- Updated license and POD to Artistic 2.0 |
| 258 |
|
| 259 |
0.06 Thu Dec 18 08:01:44 EST 2014 |
| 260 |
- Took over maintaining (Rick Myers - JRM) |
| 261 |
- Added uuid() |
| 262 |
|
| 263 |
0.05 Fri Dec 14 20:00:00 GMT 2012 |
| 264 |
- Took over maintaining (Lukas Zapletal - LZAP) |
| 265 |
- Version bump (no changes) |
| 266 |
- Releasing in the original location |
| 267 |
|
| 268 |
0.04 Wed Jul 22 20:17:26 PDT 2009 |
| 269 |
- Seems to be abandoned (again) |
| 270 |
- Bump version number and upload to PAUSE |
| 271 |
|
| 272 |
0.03 Fri Jan 12 15:24:24 MST 2007 |
| 273 |
- Added Artistic license |
| 274 |
- Took over maintaining (Colin Faber - CFABER) |
| 275 |
|
| 276 |
0.02 Unknown |
| 277 |
- unknown changes |
| 278 |
|
| 279 |
0.01 Thu Feb 8 06:07:59 2001 |
| 280 |
- original version; created by h2xs 1.20 with options -A -n UUID |