npm / uuid
uuid
What changed in uuid 7 to 14, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
11 breaking1 security1 deprecations2 new APIs and options1 performance6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inituuid 146 changes
Breaking changes 2
The package expects crypto to be global everywhere, requiring Node.js 20 or later.
Node.js 18 support was dropped.
Fixes and other changes 4
Carries nsecs overflow into the timestamp's high bits.
Sets the multicast bit on v1Bytes's own randomly-generated node.
Aligns the default seq formula in v7Bytes with updateV7State.
Adds a types condition to the Node export so TypeScript can resolve the package with moduleResolution bundler.
uuid 132 changes
Breaking changes 1
Browser exports are now the default, changing which exports developers receive by default.
Security 1
Backports a fix for GHSA-w5hq-g745-h8pq.
uuid 123 changes
Breaking changes 2
CommonJS support was removed; developers can no longer use the package through CommonJS.
Node.js 16 support was dropped, so developers using the package must use a supported Node.js version.
Performance 1
v4() performance was improved.
uuid 114 changes
Breaking changes 2
The supported Node.js range is now 16–20.
The project was ported to TypeScript, changing the package's type surface for developers using uuid.
Fixes and other changes 2
Removing the v4 options default assignment allows native.randomUUID to be used.
Corrected the shift for byte 6.
uuid 77 changes
Breaking changes 4
The default export, formerly the v4() method, has been removed; use named imports instead.
Built-in support for insecure browser random number generators has been removed; users who need one must supply their own random number generator function.
Support for the pre-Node.js v4 Buffer API has been removed.
Generating v3 and v5 UUIDs is no longer supported in Node.js versions before 4.x.
Deprecations 1
Deep imports of UUID version functions are deprecated and emit a warning; use ECMAScript module named imports instead.
New APIs and options 2
The package now provides a CommonJS build for Node.js and an ESM build for browser bundlers.
A UMD build is now included in the npm package.