v2.9.0b2 (2024-08-30)
Pre-release
Pre-release
What's Changed
Packaging
- Bump
pydantic-coretov2.23.1and other minor version bumps by @sydney-runkle in #10269
Changes
- Raise helpful warning when
selfisn't returned from model validator by @sydney-runkle in #10255
Performance
- Update namespace stack with already copied namespace by @sydney-runkle in #10267
Fixes
- Fix new warnings assertions to use
pytest.warns()by @mgorny in #10241 - Fix a crash when cleaning the namespace in
ModelMetaclassby @Viicos in #10242 - Fix parent namespace issue with model rebuilds by @sydney-runkle in #10257
- Remove defaults filter for namespace by @sydney-runkle in #10261
- Use identity instead of equality after validating model in
__init__by @Viicos in #10264 - Support
BigIntserialization forintsubclasses by @kxx317 in pydantic/pydantic-core#1417
New Contributors
- @AdolfoVillalobos made their first contribution in #10240
- @bllchmbrs made their first contribution in #10270