crystal-lang / crystal

The Crystal Programming Language
https://crystal-lang.org
Apache License 2.0
19.45k stars 1.62k forks source link

Implement new UUID versions (V6, V7, V8) #14288

Open philipp-kempgen opened 9 months ago

philipp-kempgen commented 9 months ago

Feature Request

I propose to add support for the new UUID versions (V6, V7, V8, Nil UUID, Max UUID) according to draft-ietf-uuidrev-rfc4122bis-14.

Also see:

UUID v7 in particular seems to be gaining traction for primary keys in database applications.

jkthorne commented 9 months ago

This document type for this RFC is Active Internet-Draft instead of RFC like from the SPEC that I am use to. Is this spec accepted yet?

philipp-kempgen commented 8 months ago

It's not an official RFC yet, but implementations are already out there, and changes are probably unlikely. The RFC seems to be in its final stages.