This release fixes issues for SREs watching stability and regressions.
✓ No known CVEs patched in this version
Topics
Summary
AI summaryOmit input_fidelity when None for OpenAI image generation and honor the openai_system_prompt_role setting.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Deprecation | Medium |
Deprecate Agent constructor prepare_tools, prepare_output_tools, event_stream_handler in favor of PrepareTools, PrepareOutputTools, ProcessEventStream capabilities Deprecate Agent constructor prepare_tools, prepare_output_tools, event_stream_handler in favor of PrepareTools, PrepareOutputTools, ProcessEventStream capabilities Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Bugfix | Medium |
Omit input_fidelity when None in image generation tool Omit input_fidelity when None in image generation tool Source: llm_adapter@2026-05-21 Confidence: low |
— |
| Bugfix | Medium |
Respect openai_system_prompt_role in OpenAIResponsesModel Respect openai_system_prompt_role in OpenAIResponsesModel Source: llm_adapter@2026-05-21 Confidence: low |
— |
Full changelog
What's Changed
🆕 V2 Preparation (coming in June)
- Deprecate
Agentconstructorprepare_tools=,prepare_output_tools=,event_stream_handler=in favor ofPrepareTools,PrepareOutputTools,ProcessEventStreamcapabilities by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5335
🐛 Bug Fixes
- openai: omit
input_fidelitywhenNonein image generation tool by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/5415 - openai: respect
openai_system_prompt_roleinOpenAIResponsesModelby @navalprakhar in https://github.com/pydantic/pydantic-ai/pull/5430
New Contributors
- @pydanty[bot] made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5415
Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v1.96.0...v1.96.1
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]