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

Support Draft UUID Proposals #1610

Closed
hackzilla opened this issue Mar 13, 2022 · 1 comment
Closed

Support Draft UUID Proposals #1610

hackzilla opened this issue Mar 13, 2022 · 1 comment

Comments

@hackzilla
Copy link

Describe the bug
The change in #1112 to match the uuid regex exactly to the RFC 4122 broken my app.
I am using a draft version (6) of the uuid spec.

To Reproduce

runnable test case: https://codesandbox.io/s/peaceful-varahamihira-t5zd1h

Expected behavior
Matching to allow anything that vaguely looks like a uuid.
Or potentially have a strict/relaxed uuid matching

Platform (please complete the following information):

  • Browser [all]
  • Version [0.32.9|master]

Additional context
There are a few new draft proposal which Yup is since #1112, treating as invalid.
https://github.com/uuid6/uuid6-ietf-draft

@jquense
Copy link
Owner

jquense commented Mar 14, 2022

I'm not likely to add this myself, I don't ever use anything other than v4 and very infrequently v5 uuids. Happy to accept a PR tho if its a minimal fix 👍

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