v1.82.0
pydantic/pydantic-aiv1.82.0Apr 15, 2026by DouweM
AI Summary
A bug fix release that addresses compaction chain issues, task leaks in combined toolsets, and updates the FastMCP dependency. It ensures smoother operation of compaction and tool management features.
Key Highlights
- Fix OpenAI compaction chain when `openai_previous_response_id='auto'`
- Fix orphan-task leak in CombinedToolset and CombinedCapability
- Bump fastmcp 2.x → 3.2.0
Full Release Notes
<!-- Release notes generated using configuration in .github/release.yml at main --> ## 🤖 [Pydantic AI Harness](https://github.com/pydantic/pydantic-ai-harness) is now live with [**Code Mode**](https://github.com/pydantic/pydantic-ai-harness/tree/main/pydantic_ai_harness/code_mode) powered by [Monty](https://github.com/pydantic/monty)! ## What's Changed ### 🐛 Bug Fixes * Fix OpenAI compaction chain when `openai_previous_response_id='auto'` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5086 * Fix orphan-task leak in `CombinedToolset` and `CombinedCapability` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5085 * Lazily compute `ToolDefinition.function_signature` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5087 ### 📦 Dependencies * chore: bump fastmcp 2.x → 3.2.0 by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4982 ## New Contributors * @gvdongen made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5041 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.81.0...v1.82.0