github pydantic/pydantic-ai v1.96.0
v1.96.0 (2026-05-13)

3 hours ago

What's Changed

🆕 V2 Preparation (coming in June)

  • Add openai-chat: prefix and warn on bare openai: which will switch to use the Responses API in v2 by @dsfaccini in #5334
  • Deprecate Agent(history_processors=) in favor of capabilities=[ProcessHistory(...)] by @dsfaccini in #5425
  • Deprecate method-style result.usage(), result.timestamp(), stream.get() in favor of property-style result.usage, result.timestamp, stream.response by @dsfaccini in #5263
  • Deprecate AGUIApp, Agent.to_ag_ui(), and pydantic_ai.ag_ui shim in favor of AGUIAdapter by @dsfaccini in #5345
  • Deprecate OutlinesModel and OutlinesProvider by @DouweM in #5432

Full Changelog: v1.95.1...v1.96.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.