What's Changed
Packaging
- Bump
pydantic-core
tov2.23.1
and other minor version bumps by @sydney-runkle in #10269
Changes
- Raise helpful warning when
self
isn'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
ModelMetaclass
by @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
BigInt
serialization forint
subclasses by @kxx317 in pydantic/pydantic-core#1417
New Contributors
- @AdolfoVillalobos made their first contribution in #10240
- @bllchmbrs made their first contribution in #10270