Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IH-577 Implement v7 UUID generation #5866

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 27, 2024

  1. IH-577 Implement v7 UUID generation

    * New function Uuidx.make_v7_uuid, with the idea being that ordering v7
      UUIDs alphabetically will also order them by creation time. The code
      that constructs a v7 UUIDs from a time and some random bytes has been
      submitted to uuidm and will be present in v0.9.9.
    * The values produced by Uuidx.make_uuid_urnd hadn't necessarily been
      valid UUIDs, since the variant and version fields were being filled in
      randomly - this is now fixed so that it returns v4 UUIDs as
      constructed by the uuidm module.
    * There is a function for generating v7 from known inputs, for the
      purpose of unit testing.
    
    Signed-off-by: Robin Newton <robin.newton@cloud.com>
    Robin Newton committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    bbb2135 View commit details
    Browse the repository at this point in the history