v1.66.0
pydantic/pydantic-aiv1.66.0Mar 5, 2026by DouweM
AI Summary
Enables native structured output for Qwen 3.5 models and adds the Nano Banana 2 model support.
Key Highlights
- Enable native structured output for Qwen 3.5 models
- Add Nano Banana 2 (`gemini-3.1-flash-image-preview`) model
New Features
- Qwen 3.5 structured output
- Nano Banana 2 model
Full Release Notes
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Enable native structured output for Qwen 3.5 models by @ggozad in https://github.com/pydantic/pydantic-ai/pull/4534 * Add Nano Banana 2 (`gemini-3.1-flash-image-preview`) by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/4525 ### 🐛 Bug Fixes * Fix builtin tool availability checking when using `TemporalAgent` with multiple models by @mattbrandman in https://github.com/pydantic/pydantic-ai/pull/4100 * Fix `HasMatchingSpan` YAML export/import round-trip for `SpanQuery` arguments by @debu-sinha in https://github.com/pydantic/pydantic-ai/pull/4454 ## New Contributors * @debu-sinha made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4454 * @advaitathreya made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4499 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.65.0...v1.66.0