Skip to content

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

Description

@RodneyBollinger

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'

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions