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

UUIDv6 #70

Closed
rogatty opened this issue Mar 3, 2020 · 4 comments
Closed

UUIDv6 #70

rogatty opened this issue Mar 3, 2020 · 4 comments

Comments

@rogatty
Copy link

rogatty commented Mar 3, 2020

https://github.com/ramsey/uuid introduced support for UUIDv6 in version 4.0.0-alpha4. UUIDv6 achieves the same purpose as Laravel's Str::orderedUuid() but in a standardised manner, see http://gh.peabody.io/uuidv6/.

I propose to add uuid6 to the list of supported versions in the GeneratesUuid class. I'm not sure if it's an in-place replacement for ordered or if the algorithm is somehow different from Str::orderedUuid().

@michaeldyrynda
Copy link
Owner

We can add support for this once 4.0.0 has been tagged stable 👍

@michaeldyrynda
Copy link
Owner

Resolved by #83

@rogatty
Copy link
Author

rogatty commented Mar 25, 2020

@michaeldyrynda I believe https://github.com/michaeldyrynda/laravel-model-uuid/blob/master/src/GeneratesUuid.php needs to be updated before this can be resolved.

@rogatty
Copy link
Author

rogatty commented Mar 26, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants