w3c / w3c/webcrypto

Proposal: `randomUUIDv7()`

Open
#561 8 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
294
Forks
78
PR merge metrics
No merged PRs in 30d

Description

I'd like to propose that the working group consider adopting randomUUIDv7() as a counterpart to the existing randomUUID() function.

v7 UUIDs have been growing in popularity over the last several years and have received implementations in an increasing number of notable projects:

Given the wide precedence and usage of the existing randomUUID() function, I think adopting a v7 counterpart would be of worthwhile consideration.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing randomUUID() function and the proposal's references to Node.js, Deno, and Bun implementations. The issue provides no files or tests; completion would require a working-group decision on whether and how randomUUIDv7() should be added to the Web Cryptography API.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.