v2.32.2

pydantic/pydantic-aiv2.32.2Aug 21, 2026by dsfaccini

AI Summary

A maintenance release focusing on bug fixes for evaluation tasks, realtime session behavior, and URL recognition to improve stability.

Key Highlights

  • Fixed async callable instances in `pydantic_evals` tasks
  • Fixed `RunContext.cancel()` in realtime sessions
  • Recognized `m.youtube.com` URLs in `VideoUrl`

Full Release Notes

<!-- Release notes generated using configuration in .github/release.yml at main -->

## What's Changed
### 🐛 Bug Fixes
* Await async callable instances in `pydantic_evals` tasks and the `evaluate` decorator by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/7535
* Fix `RunContext.cancel()` in realtime sessions by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/7528
* Recognize `m.youtube.com` URLs in `VideoUrl` by @uczltw6 in https://github.com/pydantic/pydantic-ai/pull/7592
* Normalize DeepSeek Responses function-call replay by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/7448
* Fail the workflow on `UnexpectedModelBehavior` and `FallbackExceptionGroup` under the deprecated `TemporalAgent` by @aviseth in https://github.com/pydantic/pydantic-ai/pull/7465

## New Contributors
* @uczltw6 made their first contribution in https://github.com/pydantic/pydantic-ai/pull/7592
* @aviseth made their first contribution in https://github.com/pydantic/pydantic-ai/pull/7465

**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v2.32.1...v2.32.2