v2.11.4
📦 pydanticView on GitHub →
✨ 1 features🐛 5 fixes🔧 4 symbols
Summary
This release restores the ability to specify configuration and bases simultaneously in create_model() and includes several bug fixes for generics, decimal constraints, and the mypy plugin.
✨ New Features
- Allow config and bases to be specified together in create_model().
🐛 Bug Fixes
- Remove generics cache workaround.
- Remove coercion of decimal constraints.
- Fix crash when expanding root type in the mypy plugin.
- Fix issue with recursive generic models.
- Traverse function-before schemas during schema gathering.