Skip to content

Update Guid-backed ID factory to use CreateVersion7 on .NET 9+#106

Merged
kzu merged 1 commit intomainfrom
dev/guid7
Apr 15, 2026
Merged

Update Guid-backed ID factory to use CreateVersion7 on .NET 9+#106
kzu merged 1 commit intomainfrom
dev/guid7

Conversation

@kzu
Copy link
Copy Markdown
Member

@kzu kzu commented Apr 15, 2026

The source generator now emits New() for Guid-backed IDs that uses Guid.CreateVersion7() on .NET 9+ and falls back to Guid.NewGuid() on earlier versions. Updated docs and implementation in NewableGuid.cs to match this logic.

The source generator now emits New() for Guid-backed IDs that uses Guid.CreateVersion7() on .NET 9+ and falls back to Guid.NewGuid() on earlier versions. Updated docs and implementation in NewableGuid.cs to match this logic.
@kzu kzu added the enhancement New feature or request label Apr 15, 2026
@kzu kzu enabled auto-merge (rebase) April 15, 2026 19:29
@kzu
Copy link
Copy Markdown
Member Author

kzu commented Apr 15, 2026

81 passed 81 passed
81 passed 81 passed
81 passed 81 passed

🧪 Details on Ubuntu 24.04.4 LTS
🧪 Details on macOS Unix 15.7.4
🧪 Details on Microsoft Windows 10.0.26100

from retest v1.1.0 on .NET 10.0.6 with 💜 by @devlooped

@kzu kzu merged commit 7ef9ab1 into main Apr 15, 2026
6 checks passed
@kzu kzu deleted the dev/guid7 branch April 15, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant