cloudflare / cloudflare/cloudflare-docs

No support for node:crypto.randomUUIDv7() but documentation suggests it is

Open
#32,892 1 comment 0 reactions 6 assignees Claimed by @WalshyDev View on GitHub
content:edit documentation product:workers
Dominant language
MDX
Stars
5.2k
Forks
16.7k
Avg merge
2d 6h
Merged PRs (30d)
337

Description

### Existing documentation URL(s)

https://developers.cloudflare.com/workers/runtime-apis/nodejs/crypto/

### What changes are you suggesting?

The page linked above makes this statement: _All node:crypto APIs are fully supported in Workers with the following exceptions:_ However, workerd does not support `node:crypto.randomUUIDv7()` yet. Either this fact should be added to the list of NOT supported features or support should be added (preferable). Understandably, adding the support is not the same level of effort as updating the documentation to say it is not supported, but it would be helpful to include the support.

### Additional information

- The UUIDv7 functionality was added to `node:crypto` in v26.1.
- My `nodejs_compat` flag is set and my `compatibility_date` is "2026-08-15", so I don't believe I'm missing anything - it's simply not supported yet. Here is the error produced:

` ✘ [ERROR] service core:user:app-api: Uncaught SyntaxError: The requested module 'node:crypto' does not provide an export named 'randomUUIDv7'`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.