v2.46.0 v2.47.0
pydantic/pydantic-aiSep 19, 2026 → Sep 22, 20263 days between releases
What's New
Enhanced TypeSafeModel with new field types and stricter content validation, plus dependency updates.
Breaking Changes
- Raises error when UserPromptPart.content is not a str or sequence
- Pins ag-ui-protocol dependency to < 1
- Names None output routes as None instead of NoneType
New Features
- TypeSafeModel now supports three additional field types
- TypeSafeModel can pick None as a valid output route
- Choices sets can describe themselves as TypeSafeModel routes
- TypeSafeModel requests now include the name of the picked route
Improvements
- Dependency ag-ui-protocol updated to version < 1
- Improved type safety for None routes and options
- Enhanced handling of self-contained models to prevent crashes
Bug Fixes
- Fixed crashes related to tuple output fields
- Fixed crashes related to rubric scoring with too many levels
- Refuses invalid rubric levels instead of crashing
Upgrade Notes
Ensure UserPromptPart.content is a string or sequence to avoid errors. Update ag-ui-protocol to a version < 1. Internal None route naming may change, but usually transparent.
The Two Releases
v2.46.0 (2026-09-18)
Sep 19, 2026· 1 month ago
This release enhances TypeSafeModel with automatic argument filling and union type handling, introduces new methods for realtime sessions like wait_for_playback, and adds configuration options for model profiles and durability. It also includes bug fixes for Bedrock support, tool dispatch, and terminal UI.
Full release notesv2.47.0 (2026-09-21)
Sep 22, 2026· 30 days ago
This release focuses on enhancing `TypeSafeModel` capabilities by expanding the field types it can answer, improving type safety for `UserPromptPart`, and fixing crashes related to tuple fields and rubric scoring.
Full release notes