Skip to content

Releases: pydantic/pydantic-ai

v1.90.0 (2026-05-04)

05 May 00:39
671e305

Choose a tag to compare

What's Changed

🚀 Features

  • feat: add OpenAI Conversations API state support via OpenAIResponsesModelSettings.openai_conversation_id by @corytomlinson in #5224
  • feat: typed OTel metadata for code tool call syntax highlighting by @DouweM in #5297

📦 Dependencies

New Contributors

Full Changelog: v1.89.1...v1.90.0

v1.89.1 (2026-05-01)

01 May 18:57
f7ff835

Choose a tag to compare

What's Changed

🤖 Coding Agent Experience

🐛 Bug Fixes

  • fix: restore wrap_validation_errors on ToolManager function-tool methods by @DouweM in #5275
  • Defer anyio.Lock creation via cached_property to bind to running loop by @Kludex in #5265

New Contributors

Full Changelog: v1.89.0...v1.89.1

v1.89.0 (2026-04-30)

01 May 03:08
cad9569

Choose a tag to compare

What's Changed

🚀 Features

  • feat: add conversation_id for cross-run correlation by @DouweM in #5251
  • feat(capabilities): support dynamic capabilities via callables in capabilities list by @DouweM in #5252
  • feat: add builtin_tools to agent.override by @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)

29 Apr 04:31
b5342fd

Choose a tag to compare

What's Changed

🚀 Features

  • feat(capabilities)!: output validate/process hooks; scope prepare_tools to function tools, add prepare_output_tools by @DouweM in #4859
  • feat: cross-provider service_tier model setting; Anthropic + Gemini API + Vertex Priority PayGo support by @markmcd in #4926
  • Add anthropic speed, fast mode for opus 4.6 by @bohdanhr in #4300
  • feat: support OpenAI Responses phase on assistant messages by @DouweM in #5229
  • feat(ui): add UIAdapter.sanitize_messages and allowed_file_url_schemes by @DouweM in #5228

🐛 Bug Fixes

  • fix: restore per-block cache_control for anthropic_cache_messages by @Wh1isper in #5227
  • fix: propagate original error when CallToolsNode stream 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)

25 Apr 00:49
2b0aa93

Choose a tag to compare

What's Changed

🚀 Features

  • Add HandleDeferredToolCalls capability and handle_deferred_tool_calls hook by @DouweM in #5142
  • Add ProcessEventStream capability 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)

24 Apr 00:31
832c1d8

Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • fix(openai): guard against choices=None in streamed chunks (#5165) by @adtyavrdhn in #5170
  • fix(anthropic): send container_id as string on reuse; unwrap broken {id: x} shape by @adtyavrdhn in #5168
  • fix: preserve validation error input on tool-call retries by @DouweM in #5181
  • fix(toolsets): prevent MCPServer.__aexit__ called more times than __aenter__ in DynamicToolset by @anishesg in #5171
  • Warn about dict fields with Anthropic strict mode by @rahulmansharamani14 in #4321
  • Set gen_ai.operation.name=execute_tool on tool-execution spans by @DouweM in #5182
  • fix: avoid stale client references in model and embedding classes by @Deeven-Seru in #4276

New Contributors

Full Changelog: v1.86.0...v1.86.1

v1.86.0 (2026-04-22)

23 Apr 04:01
c1d060d

Choose a tag to compare

What's Changed

🚀 Features

  • feat(ui): add UIAdapter.manage_system_prompt + ReinjectSystemPrompt capability by @dsfaccini in #4087

🐛 Bug Fixes

New Contributors

Full Changelog: v1.85.1...v1.86.0

v1.85.1 (2026-04-21)

21 Apr 23:57
89f60ee

Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • fix: exclude validation error input from retry messages by @navalprakhar in #4947
  • fix(vercel-ai): auto-detect deferred tool approval state in dump_messages() by @tijmenhammer in #4831

New Contributors

Full Changelog: v1.85.0...v1.85.1

v1.85.0 (2026-04-21)

21 Apr 16:53
629aaff

Choose a tag to compare

What's Changed

🚀 Features

Full Changelog: v1.84.1...v1.85.0

v1.84.1 (2026-04-17)

18 Apr 00:21
531d6da

Choose a tag to compare

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-BaseModel tools by @DouweM in #5137

Full Changelog: v1.84.0...v1.84.1