Pydantic v2 support #597
Replies: 3 comments 2 replies
-
Hi! Yes, v2 will be supported, but I don't think I'll bump it before the stable version is released. I'm currently working on it using the beta version. However, since I want to support both v1 and v2 in the next few versions of Beanie, I cannot bump to beta. The interfaces may change, and I would have to support too many different interfaces simultaneously. |
Beta Was this translation helpful? Give feedback.
-
Pydantic 2 stable was released three days ago. Have you started working on supporting the new version? |
Beta Was this translation helpful? Give feedback.
-
mark an error #609
pydantic.error_wrappers:ErrorWrapper has been removed in V2 For further information visit https://errors.pydantic.dev/2.0.2/u/import-error |
Beta Was this translation helpful? Give feedback.
-
As Pydantic V2 is implemented with Rust, it should be quite performant than V1
https://docs.pydantic.dev/dev-v2/
also wa can re-use utils for migration
https://github.com/pydantic/bump-pydantic
Beta Was this translation helpful? Give feedback.
All reactions