v2.11.0a2
📦 pydanticView on GitHub →
✨ 3 features🐛 5 fixes🔧 4 symbols
Summary
Pydantic v2.11.0a2 is an alpha release primarily focused on improving build time performance for models and core schema generation, alongside several JSON Schema and serialization bug fixes.
Migration Steps
- Update pydantic-core to v2.29.0.
✨ New Features
- Expose fallback parameter in serialization methods.
- Improved build time performance for Pydantic models and core schema generation.
- Use locally-built Rust with symbols and Profile Guided Optimization (PGO) for better performance.
🐛 Bug Fixes
- Use the correct JSON Schema mode when handling function schemas.
- Fix JSON Schema reference logic with examples keys.
- Improve exception message when encountering recursion errors during type evaluation.
- Always include additionalProperties: True for arbitrary dictionary schemas.
- Fix path serialization behavior.