github pydantic/pydantic-core v2.40.1
v2.40.1 2025-10-02

12 hours ago

What's Changed

  • Reapply "Match return type of SerializationInfo.mode() to mode of model_dump() (#1770)" (#1797) by @Viicos in #1815
  • Add quotes to field name in serialization warning by @Viicos in #1816
  • Only create class instance after validation in ModelValidator.validate_construct() by @Viicos in #1818

Full Changelog: v2.40.0...v2.40.1

Don't miss a new pydantic-core release

NewReleases is sending notifications on new releases.