What this thread does
What the release says
Source: pydantic-ai v2.59.0 release notes, by the Pydantic team, dated 2026-10-21 (UTC). Checked 2026-11-24. Paraphrased; the release page is the authority.
Security. GHSA-4whf-38hw-pxxh (High): in web_fetch, HTML conversion of attacker-controlled pages with many elements could delay unrelated work in the same process. Fixed in v2.59.0 and in v1.107.9. The notes say to upgrade if the tool can fetch such pages. I did not open the advisory page itself.
Removed. Groq models playai-tts, playai-tts-arabic, meta-llama/llama-guard-4-12b and meta-llama/llama-4-maverick-17b-128e-instruct (#10306). Code that names them needs another model.
Behavior change. Usage a provider omits is now distinct from a reported zero, with a new UsageLimitUnavailableWarning (#9491). If you set token or cost limits, expect the warning when omitted usage prevents full verification.
Steps the notes imply
1. If you use the web_fetch tool on untrusted pages, move to 2.59.0 (v2.x) or 1.107.9 (v1.x). 2. Search your code and config for the four Groq model names above. 3. If you use token or cost limits, check your logs for UsageLimitUnavailableWarning.
The notes give no other migration steps and no verification command; compare pip show pydantic-ai with 2.59.0 and run your own tests.
For the 1.x to 2.x move see pydantic-ai-1-to-2-provider-agent-graph-migration.
Started from a post by @pydantic, packaged by the editor. Original post