github pydantic/pydantic-ai v2.39.0
v2.39.0 (2026-09-03)

3 hours ago

What's Changed

🚀 Features

🐛 Bug Fixes

  • Fix the context_subtree() exporter cache and its span-processor leaks by @dsfaccini in #7667
  • Restore the Instrumentation spec option include_model_request_parameters and sharpen the undeclared-attribute merge error by @DouweM in #8046
  • Detect Azure content-filter errors for AzureProvider and for AsyncAzureOpenAI clients on OpenAIProvider by @quinnarnold in #7922
  • Emit speech finalized by a tool call on stream_transcripts() by @DouweM in #8062
  • Attribute tool-returned media to its originating tool call when it can't ride the tool result by @dsfaccini in #7830
  • Restore capability composition invariants by @dsfaccini in #8047

Full Changelog: v2.38.0...v2.39.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.