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

Add support uuid v7 for isUUID #2344

Closed
ruscon opened this issue Dec 8, 2023 · 3 comments · Fixed by #2345
Closed

Add support uuid v7 for isUUID #2344

ruscon opened this issue Dec 8, 2023 · 3 comments · Fixed by #2345

Comments

@ruscon
Copy link
Contributor

ruscon commented Dec 8, 2023

Describe the bug
uuid v7 - is one of the most anticipated versions, I would like to use it already

Examples
uuid v7 format: https://github.com/LiosK/uuidv7

Validate UUIDv7 and parse the timestamp example:
https://gist.github.com/robinpokorny/3e1ef5eebce096824d3c2054202e4217

@WikiRik
Copy link
Member

WikiRik commented Dec 9, 2023

I don't think we'll support it soon. We do not have regular updates and the implementation is not set in stone so I think it's not in scope for this project right now. But I'll keep it open so we can add support for it once the implementation is definitive

@ruscon
Copy link
Contributor Author

ruscon commented Dec 9, 2023

@WikiRik I don’t think that such changes are difficult to add and that they break something.
The format of uuid v7 is the same as that of uuid v4

@WikiRik
Copy link
Member

WikiRik commented Dec 11, 2023

If the format remains the same, and I now see that it should, then it's not an issue with adding indeed. Thanks for opening a PR for it!

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

Successfully merging a pull request may close this issue.

3 participants