bchavez / bchavez/Bogus

Support for random UUID v7

Open
#579 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
9.7k
Forks
538
PR merge metrics
No merged PRs in 30d

Description

### Description

NET 9 natively supports UUID v7. I would like to be able to generate deterministic UUIDs based on version 7 timestamps for my database.

### LINQPad Code Example

```csharp
new Faker().Random.Guid(version: GuidVersion.Version7);
```
or
```csharp
new Faker().Random.GuidVersion7();
```

### What alternatives have you considered?

No.

### Could you help with a pull-request?

No

Contributor guide

Open the contributing guide

Research direction

The requested entry points are Random.Guid(version: GuidVersion.Version7) and Random.GuidVersion7(); start by tracing those APIs and how UUID versions are currently handled. Done means UUID v7 generation is available on .NET 9 and the provided LINQPad examples work, including the requested deterministic timestamp-based behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.