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'
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
node:cryptoin v26.1.nodejs_compatflag is set and mycompatibility_dateis "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'