July 2022 Summaries
1 posts from Pydantic
Filter
Month:
Year:
Post Summaries
Back to Blog
The blog post outlines the plans for the development of Pydantic V2, aiming to improve the efficiency and functionality of this popular data validation library. Central to the update is the introduction of pydantic-core, a separate package written in Rust to enhance performance, offering up to 50 times the speed of its predecessor. Key changes include the implementation of a strict mode for data validation, a formalized conversion table to address coercion inconsistencies, and improved JSON support. Pydantic V2 will also feature more robust error descriptions, a refined model namespace, and new validation capabilities without requiring a model. The update emphasizes maintaining backward compatibility as much as possible while introducing necessary breaking changes and deprecating certain features for a cleaner and more maintainable library. The development process is supported by a community of contributors, with plans to release the update by the end of the year, backed by sponsorships and consultancy to further support its completion.
Jul 10, 2022
6,017 words in the original blog post.