v2.11.2 2025-04-03
What's Changed
Fixes
- Bump
pydantic-coreto v2.33.1 by @Viicos in #11678 - Make sure
__pydantic_private__exists before setting private attributes by @Viicos in #11666 - Do not override
FieldInfo._completewhen using field from parent class by @Viicos in #11668 - Provide the available definitions when applying discriminated unions by @Viicos in #11670
- Do not expand root type in the mypy plugin for variables by @Viicos in #11676
- Mention the attribute name in model fields deprecation message by @Viicos in #11674
- Properly validate parameterized mappings by @Viicos in #11658
- Prepare release v2.11.2 by @Viicos in #11684
Full Changelog: v2.11.1...v2.11.2