pydantic / pydantic-extra-types

Extra Pydantic types.
MIT License
176 stars 47 forks source link

Add SemanticVersion type #195

Closed nikstuckenbrock closed 2 months ago

nikstuckenbrock commented 2 months ago

Hello there,

I've found this discussion while searching for a common SemanticVersion type. I know from the discussion when to add a new type that there should be at least 30 upvotes which is not the case by now. However, I am sure that this type would be a useful addition, as it is already recommended by the semver package itself: https://python-semver.readthedocs.io/en/latest/advanced/combine-pydantic-and-semver.html.

Let me know what you think. :)

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:loudspeaker: Thoughts on this report? Let us know!

nikstuckenbrock commented 2 months ago

Thanks for fixing the requirements for me, I was having lunch 😁