Releases: pydantic/pydantic-ai
Releases · pydantic/pydantic-ai
v1.90.0 (2026-05-04)
What's Changed
🚀 Features
- feat: add OpenAI Conversations API state support via
OpenAIResponsesModelSettings.openai_conversation_idby @corytomlinson in #5224 - feat: typed OTel metadata for code tool call syntax highlighting by @DouweM in #5297
📦 Dependencies
- Upgrade web UI to
pydantic/ai-chat-ui1.2.0 by @johnthagen in #5246
New Contributors
- @johnthagen made their first contribution in #5246
- @Acacian made their first contribution in #4888
- @VeniVeci made their first contribution in #5283
Full Changelog: v1.89.1...v1.90.0
v1.89.1 (2026-05-01)
What's Changed
🤖 Coding Agent Experience
- Add bundled Library Skills(https://library-skills.io) for improved coding-agent support by @adtyavrdhn in #5271
🐛 Bug Fixes
- fix: restore
wrap_validation_errorsonToolManagerfunction-tool methods by @DouweM in #5275 - Defer
anyio.Lockcreation viacached_propertyto bind to running loop by @Kludex in #5265
New Contributors
- @dependabot[bot] made their first contribution in #5268
Full Changelog: v1.89.0...v1.89.1
v1.89.0 (2026-04-30)
What's Changed
🚀 Features
- feat: add
conversation_idfor cross-run correlation by @DouweM in #5251 - feat(capabilities): support dynamic capabilities via callables in capabilities list by @DouweM in #5252
- feat: add
builtin_toolstoagent.overrideby @mplemay in #5248
🐛 Bug Fixes
- fix(evals): use non-daemon thread for background evaluators by @alexmojaki in #5247
Full Changelog: v1.88.0...v1.89.0
v1.88.0 (2026-04-28)
What's Changed
🚀 Features
- feat(capabilities)!: output validate/process hooks; scope
prepare_toolsto function tools, addprepare_output_toolsby @DouweM in #4859 - feat: cross-provider
service_tiermodel setting; Anthropic + Gemini API + Vertex Priority PayGo support by @markmcd in #4926 - Add anthropic speed,
fastmode for opus 4.6 by @bohdanhr in #4300 - feat: support OpenAI Responses
phaseon assistant messages by @DouweM in #5229 - feat(ui): add
UIAdapter.sanitize_messagesandallowed_file_url_schemesby @DouweM in #5228
🐛 Bug Fixes
- fix: restore per-block
cache_controlforanthropic_cache_messagesby @Wh1isper in #5227 - fix: propagate original error when
CallToolsNodestream fails by @thejens in #4799 - fix: propagate
Agent(retries=...)to user-provided toolsets by @dsfaccini in #4745
New Contributors
Full Changelog: v1.87.0...v1.88.0
v1.87.0 (2026-04-24)
What's Changed
🚀 Features
- Add
HandleDeferredToolCallscapability andhandle_deferred_tool_callshook by @DouweM in #5142 - Add
ProcessEventStreamcapability by @DouweM in #5141 - Handle thinking setting for GPT-5.5 by @dsfaccini in #5196
Full Changelog: v1.86.1...v1.87.0
v1.86.1 (2026-04-23)
What's Changed
🐛 Bug Fixes
- fix(openai): guard against
choices=Nonein streamed chunks (#5165) by @adtyavrdhn in #5170 - fix(anthropic): send
container_idas string on reuse; unwrap broken {id: x} shape by @adtyavrdhn in #5168 - fix: preserve validation error
inputon tool-call retries by @DouweM in #5181 - fix(toolsets): prevent
MCPServer.__aexit__called more times than__aenter__inDynamicToolsetby @anishesg in #5171 - Warn about
dictfields with Anthropic strict mode by @rahulmansharamani14 in #4321 - Set
gen_ai.operation.name=execute_toolon tool-execution spans by @DouweM in #5182 - fix: avoid stale client references in model and embedding classes by @Deeven-Seru in #4276
New Contributors
- @anishesg made their first contribution in #5171
- @rahulmansharamani14 made their first contribution in #4321
- @Deeven-Seru made their first contribution in #4276
Full Changelog: v1.86.0...v1.86.1
v1.86.0 (2026-04-22)
What's Changed
🚀 Features
- feat(ui): add
UIAdapter.manage_system_prompt+ReinjectSystemPromptcapability by @dsfaccini in #4087
🐛 Bug Fixes
- fix(vercel-ai): allow regenerate requests without
messageIdby @MukundaKatta in #5156 - Handle dict
reasoning_contentfrom Gemini 2.5 models by @JulieLiu99 in #5155
New Contributors
- @MukundaKatta made their first contribution in #5156
- @JulieLiu99 made their first contribution in #5155
Full Changelog: v1.85.1...v1.86.0
v1.85.1 (2026-04-21)
What's Changed
🐛 Bug Fixes
- fix: exclude validation error
inputfrom retry messages by @navalprakhar in #4947 - fix(vercel-ai): auto-detect deferred tool approval state in
dump_messages()by @tijmenhammer in #4831
New Contributors
- @abhicris made their first contribution in #5149
- @navalprakhar made their first contribution in #4947
- @tijmenhammer made their first contribution in #4831
Full Changelog: v1.85.0...v1.85.1
v1.85.0 (2026-04-21)
v1.84.1 (2026-04-17)
What's Changed
🐛 Bug Fixes
- Skip tool hooks for internal output tools by @DouweM in #5128
- Always pass
dict-shaped validated args to hooks for single-BaseModeltools by @DouweM in #5137
Full Changelog: v1.84.0...v1.84.1