pypi pydantic-ai 2.37.0
v2.37.0 (2026-08-31)

4 hours ago

What's Changed

🚀 Features

  • Add glm-5.3-flash and rework the Z.AI test suite onto cassettes by @dsfaccini in #7887

🐛 Bug Fixes

  • fix: preserve all conditions in pruned span queries by @mikemikimike in #7499
  • Accept and map Z.AI's non-standard finish_reason values by @zhj12395 in #7685
  • Emit an AG-UI TEXT_MESSAGE_START for the assistant message that owns a response's tool calls by @dsfaccini in #7699
  • Route Vertex-vs-Gemini API branches in GoogleModel by client transport instead of provider name by @thejamesgore in #7280
  • Skip inactive capability hooks in agent tracebacks by @dsfaccini in #7328
  • Context-manage models rebuilt inside durable operations by @dsfaccini in #7954
  • Reject per-run capabilities= on DBOS, matching Temporal by @DouweM in #6955
  • Journal Prefect tool discovery in tasks by @DouweM in #6966
  • Stop rebuilding unmanaged models in durable capability operations by @DouweM in #7972

New Contributors

Full Changelog: v2.36.0...v2.37.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.