Open ItayTheDar opened 9 months ago
@ItayTheDar,
Important to keep in mind that Pydantic V2 has a lot of changes and a lot of deprecated functions. I wouldn't be hurry to change unless it has full backward compatibility.
@uriafranko have you experienced this migration? Does the improvement in performance is that good? And since PyNest is rely on fastapi, then most of the migration has been done already.
Pydantic v2 comes with huge improvements over previous version. FastApi is heavily relied on Pydantic and its team has already completed the full upgrade. I don't concibe any new projects starting from a <2 version of Pydantic. Please, this upgrade is necessary and it's the only thing holding me up from using this library.
Hi @geovalexis , I'm planning to do that migration very soon.
Description
This issue is to track the upgrade of key dependencies in the PyNest project. The upgrades are necessary to ensure compatibility with the latest versions and to leverage new features and improvements in these libraries.
Dependencies to Upgrade
Pydantic: Upgrade to version 2.
FastAPI: Upgrade to version 0.100.0 or higher.
Beanie: Upgrade to version 1.21.0 or higher.
Expected Benefits
Considerations
This upgrade is crucial for maintaining the project's relevance and efficiency. Contributions and discussions on how to best approach these upgrades are welcome.