This release keeps dependencies and maintenance posture current for teams operating this tool.
✓ No known CVEs patched in this version
Topics
ReleasePort's take
Light signalVersion v1.96.0 of pydantic‑ai introduces several deprecations to prepare for upcoming v2 changes.
Why it matters: Deprecate Agent(history_processors=), method‑style result usage access, AGUIApp, OutlinesModel and OutlinesProvider; migrate code before the next major release (v2).
Summary
AI summaryDeprecations announced for upcoming v2 changes.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Deprecation | Medium |
Adds openai-chat: prefix; warns on bare openai: for v2 behavior switch Adds openai-chat: prefix; warns on bare openai: for v2 behavior switch Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Deprecation | Medium |
Deprecates Agent(history_processors=) in favor of capabilities=[ProcessHistory(...)] Deprecates Agent(history_processors=) in favor of capabilities=[ProcessHistory(...)] Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Deprecation | Medium |
Deprecates method-style result.usage(), result.timestamp(), stream.get() access Deprecates method-style result.usage(), result.timestamp(), stream.get() access Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Deprecation | Medium |
Deprecates AGUIApp, Agent.to_ag_ui(), pydantic_ai.ag_ui in favor of AGUIAdapter Deprecates AGUIApp, Agent.to_ag_ui(), pydantic_ai.ag_ui in favor of AGUIAdapter Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Deprecation | Medium |
Deprecates OutlinesModel and OutlinesProvider classes Deprecates OutlinesModel and OutlinesProvider classes Source: llm_adapter@2026-05-21 Confidence: high |
— |
Full changelog
What's Changed
🆕 V2 Preparation (coming in June)
- Add
openai-chat:prefix and warn on bareopenai:which will switch to use the Responses API in v2 by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5334 - Deprecate
Agent(history_processors=)in favor ofcapabilities=[ProcessHistory(...)]by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5425 - Deprecate method-style
result.usage(),result.timestamp(),stream.get()in favor of property-styleresult.usage,result.timestamp,stream.responseby @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5263 - Deprecate
AGUIApp,Agent.to_ag_ui(), andpydantic_ai.ag_uishim in favor ofAGUIAdapterby @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5345 - Deprecate
OutlinesModelandOutlinesProviderby @DouweM in https://github.com/pydantic/pydantic-ai/pull/5432
Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v1.95.1...v1.96.0
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
Related context
Related tools
Earlier breaking changes
- v1.95.0 rename ‘built-in tools’ to ‘native tools’, deprecate old fields, register via capabilities=[NativeTool(...)]
Beta — feedback welcome: [email protected]