-
Notifications
You must be signed in to change notification settings - Fork 264
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 for UUIDv6 and UUIDv8 validation #1636
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1636 +/- ##
==========================================
- Coverage 90.21% 89.55% -0.67%
==========================================
Files 106 115 +9
Lines 16339 17920 +1581
Branches 36 25 -11
==========================================
+ Hits 14740 16048 +1308
- Misses 1592 1853 +261
- Partials 7 19 +12
... and 64 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
CodSpeed Performance ReportMerging #1636 will not alter performanceComparing Summary
|
please review |
Thanks @astei. Is it possible to also update this comment? pydantic-core/src/validators/uuid.rs Lines 138 to 147 in 741961c
With something along the lines of:
|
Change Summary
Adds support for validating v6 and v8 UUIDs. UUID version 6 and 8 defined in RFC 9562.
Upon request from from @Viicos on pydantic/pydantic#11436, creating this PR to wire up UUID v6 and v8 validation support.
Related issue number
n/a
Checklist
pydantic-core
(except for expected changes)Selected Reviewer: @sydney-runkle