NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #38 most downloaded on npm
RFC9562 UUIDs
Last release 1 months ago
18 Aug 2026
Release timing varies
gaps range from 9 days to 9 months
Nearly every release is documented
notes for 16 of 16 stable releases
38 versions withdrawn
withdrawn after publishing
16 years old
55 releases · first in 2011
v1: carry nsecs overflow into the timestamp's high bits
add types condition to node export for moduleResolution bundler
One column per quarter.
expect crypto to be global everywhere (requires node@20+)
v3(), v5(), and v6() did not validate that writes would remain within the bounds of a caller-supplied buffer, allowing out-of-bounds writes when an invalid offset was provided. A RangeError is now thrown if offset < 0 or offset + 16 > buf.length.13.0.2 (2026-05-04) Bug Fixes rerelease to fix provenance.
backport fix for GHSA-w5hq-g745-h8pq
make browser exports the default
backport fix for GHSA-w5hq-g745-h8pq
12.0.0 (2025-09-05) ⚠ BREAKING CHANGES update to typescript@5.2 ( #887 ) remove CommonJS support ( #886 ) drop node@16 support ( #883 ) Features add n
backport GHSA-w5hq-g745-h8pq fix
update TS types to allow Uint8Array subtypes for buffer option
add TS unit test, pin to typescript@5.0.4
apply stricter typing to the v* signatures
## 11.0.2 (2024-10-28) ### Bug Fixes * remove wrapper.mjs (2a18871) * remove wrapper.mjs
restore package.json#browser field
> Notes for v11 and prior releases can be found in CHANGELOG.md
[!NOTE] Notes for v11 and prior releases can be found in CHANGELOG.md
Nothing published for this version
update node support (drop node@12, node@14, add node@20)
Fix CI to work with Node.js 20.x
Drop Node.js 10.x support. This library always aims at supporting one EOLed LTS release which by this time now is 12.x which has reached EOL 30 Apr 20
Drop Node.js 10.x support. This library always aims at supporting one EOLed LTS release which by this time now is 12.x which has reached EOL 30 Apr 2022.
Remove the minified UMD build from the package.
Minified code is hard to audit and since this is a widely used library it seems more appropriate nowadays to optimize for auditability than to ship a legacy module format that, at best, serves educational purposes nowadays.
For production browser use cases, users should be using a bundler. For educational purposes, today's online sandboxes like replit.com offer convenient ways to load npm modules, so the use case for UMD through repos like UNPKG or jsDelivr has largely vanished.
Drop IE 11 and Safari 10 support. Drop support for browsers that don't correctly implement const/let and default arguments, and no longer transpile the browser build to ES2015.
This also removes the fallback on msCrypto instead of the crypto API.
Browser tests are run in the first supported version of each supported browser and in the latest (as of this commit) version available on Browserstack.
drop Node.js 8.x from babel transpile target (#603) (aa11485)
drop support for legacy browsers (IE11, Safari 10) (#604) (0f433e5)
drop node 10.x to upgrade dev dependencies (#653) (28a5712), closes #643
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
add parse/stringify/validate/version/NIL APIs (#479) (0e6c10b), closes #475 #478 #480 #481 #180
Nothing published for this version
remove deprecated v4 string parameter (#454) (88ce3ca), closes #437
Nothing published for this version
improve v4 performance by reusing random number array
Deep requiring specific algorithms of this library like require('uuid/v4'), which has been deprecated in uuid@7, is no longer supported.
For native ECMAScript Module (ESM) usage in Node.js only named exports are exposed, there is no more default export.
-import uuid from 'uuid';
-console.log(uuid.v4()); // -> 'cd6c3b08-0adc-4f4b-a6ef-36087a1c9869'
+import { v4 as uuidv4 } from 'uuid';
+uuidv4(); // ⇨ '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d'
Deep requiring specific algorithms of this library like require('uuid/v4'), which has been deprecated in uuid@7, is no longer supported.
Instead use the named exports that this module exports.
For ECMAScript Modules (ESM):
-import uuidv4 from 'uuid/v4';
+import { v4 as uuidv4 } from 'uuid';
uuidv4();
For CommonJS:
-const uuidv4 = require('uuid/v4');
+const { v4: uuidv4 } = require('uuid');
uuidv4();
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Explicitly note that deep imports of the different uuid version functions are deprecated and no longer encouraged and that ECMAScript module named imp…
Nothing published for this version
rename repository to github:uuidjs/uuid (#351) (e2d7314), closes #338
no longer run ci tests on node v4
### Bug Fixes - typo
Nothing published for this version
use msCrypto if available. Fixes #241
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →