fix(deps): update dependency pydantic-ai to >=1.107.2 - #123
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
January 28, 2026 01:31
e1b0137 to
92bb703
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
January 29, 2026 21:14
92bb703 to
c0c491e
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
2 times, most recently
from
January 31, 2026 05:03
a85eee5 to
6a28757
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
February 3, 2026 01:30
6a28757 to
21c34fd
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
2 times, most recently
from
February 4, 2026 18:00
b0ceabb to
61e17e8
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
February 5, 2026 05:11
61e17e8 to
e3cf3c7
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
February 6, 2026 02:37
e3cf3c7 to
2eb6aae
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
2 times, most recently
from
February 11, 2026 05:43
1b31e86 to
2f6107a
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
February 14, 2026 02:06
2f6107a to
4cf8162
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
February 17, 2026 01:43
4cf8162 to
c19a778
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
February 19, 2026 11:09
c19a778 to
3c2ba70
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
February 23, 2026 19:02
3c2ba70 to
d04c0b0
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
March 17, 2026 05:35
d6eafa0 to
1ffbef9
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
March 18, 2026 05:46
1ffbef9 to
a6edc7f
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
March 25, 2026 01:21
a6edc7f to
538663f
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
March 26, 2026 05:32
538663f to
64f1d80
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
March 27, 2026 05:19
64f1d80 to
853461e
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
March 31, 2026 04:50
853461e to
dd75247
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
April 1, 2026 01:12
dd75247 to
4d34457
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
April 2, 2026 01:08
4d34457 to
d4a4491
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
April 3, 2026 05:09
d4a4491 to
14fbdd1
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
April 8, 2026 09:38
14fbdd1 to
7dcde82
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
April 10, 2026 02:06
7dcde82 to
9567534
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
April 11, 2026 01:52
9567534 to
94cc922
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
April 14, 2026 04:41
94cc922 to
787bbaf
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
April 15, 2026 05:28
787bbaf to
374d89d
Compare
renovate
Bot
force-pushed
the
renovate/pydantic-ai-1.x
branch
from
April 16, 2026 10:48
374d89d to
b8679de
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=1.46.0→>=1.107.2Release Notes
pydantic/pydantic-ai (pydantic-ai)
v1.107.2: (2026-08-07)Compare Source
🛡️ Security
Fixes an availability vulnerability: unbounded memory use when downloading remote content via the local
web_fetchtool orFileUrlmedia downloads, which could exhaust process memory and crash the worker. Patched versions enforce a default 50 MiB download cap. See GHSA-v2xh-2vp8-57h8. Patched in1.107.2(v1) and2.24.0(v2).What's Changed
🐛 Bug Fixes
web_fetchand media URL downloads by @dsfaccini in #7308Full Changelog: pydantic/pydantic-ai@v1.107.1...v1.107.2
v1.107.1: (2026-07-10)Compare Source
What's Changed
🛡️ Security
This release patches GHSA-jpr8-2v3g-wgf9 (moderate, CWE-863) on the v1 line. On the AG-UI serving path (
Agent.to_ag_ui()/AGUIAdapter),UIAdapter.sanitize_messagesanchored its dangling-tool-call strip to an index computed before sanitization. When a trailing client message was dropped during sanitization (for example a clientsystemmessage under the defaultmanage_system_prompt='server'), a preceding assistant response carrying an unresolved tool call could be re-exposed as the new tail and executed with client-chosen arguments.pydantic-ai/pydantic-ai-slim>= 1.88.0, < 1.107.1(v1) and>= 2.0.0, < 2.5.0(v2)1.107.1(v1) and2.5.0(v2)requires_approval=True/ApprovalRequiredToolset, or if your tool handlers validate their arguments and enforce authorization themselves.See the advisory for details and workarounds.
🐛 Bug Fixes
sanitize_messagestail handling when a trailing client message is dropped by @dsfaccini in #6407Full Changelog: pydantic/pydantic-ai@v1.107.0...v1.107.1
v1.107.0: (2026-06-10)Compare Source
What's Changed
🛡️ Security
UploadedFileconsistently withFileUrlin UI adapters by @dsfaccini in #5772VercelAIAdaptertrusts client-controlled provider metadata to constructUploadedFilereferences (confused-deputy file read) GHSA-h7p7-w5gc-xj3wVercelAIAdapter), AND your model-provider or cloud-storage account holds files referenceable by an attacker-guessableUploadedFileid or storage URI (e.g.s3://…,gs://…).UploadedFileparts before running it.AGUIAdapter/Agent.to_ag_uion defaults — thepreserve_file_dataflag that re-enables this path is off by default.🚀 Features
known_model_names()to enumerateKnownModelNamemembers by @dsfaccini in #5803CachePointand prompt caching support by @Adversarian in #4604claude-fable-5) and Claude Mythos 5 (claude-mythos-5) support by @dsfaccini in #5849🐛 Bug Fixes
message=NoneBedrock start events in stream path by @Bartok9 in #5818AnthropicModel.count_tokenswith native tools by @kazmer97 in #5704📦 Dependencies
New Contributors
Full Changelog: pydantic/pydantic-ai@v1.106.0...v1.107.0
v1.106.0: (2026-06-04)Compare Source
What's Changed
🛡️ Security
UploadedFileconsistently withFileUrlin UI adapters by @dsfaccini in #5772VercelAIAdaptertrusts client-controlled provider metadata to constructUploadedFilereferences (confused-deputy file read) GHSA-h7p7-w5gc-xj3wVercelAIAdapter), AND your model-provider or cloud-storage account holds files referenceable by an attacker-guessableUploadedFileid or storage URI (e.g.s3://…,gs://…).UploadedFileparts before running it.AGUIAdapter/Agent.to_ag_uion defaults — thepreserve_file_dataflag that re-enables this path is off by default.🚀 Features
seedsetting to xAI by @colesmcintosh in #5741api_hostandtimeouttoXaiProviderby @colesmcintosh in #5742🐛 Bug Fixes
event_stream_handlerdoesn't consume the stream by @adtyavrdhn in #5771New Contributors
Full Changelog: pydantic/pydantic-ai@v1.105.0...v1.106.0
v1.105.0: (2026-06-02)Compare Source
What's Changed
🚀 Features
reasoning_effortsupport and current xAI model names by @adtyavrdhn in #5454🐛 Bug Fixes
gateway/model construction inside a Temporal workflow by passing provider SDKs through the sandbox by @adtyavrdhn in #5733GoogleModelSettings.google_cached_contentso request omitssystem_instruction,tools, andtool_configby @gaurav0107 in #5681New Contributors
Full Changelog: pydantic/pydantic-ai@v1.104.0...v1.105.0
v1.104.0: (2026-05-28)Compare Source
What's Changed
🚀 Features
🐛 Bug Fixes
thinking=Falseon hybrid OpenRouter/xAI/Bedrock routes, aligning silent-drop with direct routes by @sarth6 in #5433tool_choicecache preservation by @dsfaccini in #5674Full Changelog: pydantic/pydantic-ai@v1.103.0...v1.104.0
v1.103.0: (2026-05-26)Compare Source
What's Changed
🚀 Features
list_promptsandget_promptfunctionality toMcpServerby @bdore in #3889VercelAIAdapter'sUIMessage.metadataby @Genmin in #5279anthropic_eager_input_streaminginOpenRouterModelby @Alex-Resch in #5656🐛 Bug Fixes
malformed_model_outputandmalformed_tool_usetoFinishReason.errorby @kuishou68 in #5640type='adaptive'in_is_thinking_enabledby @sevakva in #5651force_downloadflag from client-submittedFileUrlparts inUIAdapter.sanitize_messagesby @colesmcintosh in #5571Noneby @dfm88 in #5188New Contributors
Full Changelog: pydantic/pydantic-ai@v1.102.0...v1.103.0
v1.102.0: (2026-05-22)Compare Source
What's Changed
🛡️ Security
FileUrlintoforce_download='allow-local'on a URL that is, or could be, influenced by untrusted input, AND runs on a NAT64- or ISATAP-configured network (e.g. some IPv6-only or dual-stack-with-NAT64 Kubernetes setups).Agent.to_web/clai web;VercelAIAdapter;AGUIAdapter/Agent.to_ag_ui🐛 Bug Fixes
strict=Nonetools to strict mode with Bedrock, and skipstrictfield whenbotocoreis too old by @shailendher in #5580variable_instructionsspan attribute by @madanlalit in #5487VercelAIAdapternow acceptsproviderExecuted/titleon dynamic-tool message parts by @he-yufeng in #5474WebFetchTooldomain matching by @DouweM in #5592New Contributors
Full Changelog: pydantic/pydantic-ai@v1.101.0...v1.102.0
v1.101.0: (2026-05-21)Compare Source
What's Changed
🚀 Features
ctx.enqueue/agent_run.enqueue) by @DouweM in #4980XSearchcapability model-agnostic via subagent fallback by @colesmcintosh in #5120top_kmodel setting inGoogleModel,AnthropicModel, andCohereModelby @madanlalit in #5558🐛 Bug Fixes
AnthropicModeldropping code execution tool results when continuing a conversation by @2830500285 in #5568BaseModeltool arguments sent in wrapped form when the model uses defaultextra='ignore'by @macayu17 in #5560xai-sdk1.6.0 by @FU-max-boop in #5355📦 Dependencies
genai-pricesminimum version by @adtyavrdhn in #5565New Contributors
Full Changelog: pydantic/pydantic-ai@v1.100.0...v1.101.0
v1.100.0: (2026-05-20)Compare Source
What's Changed
🛡️ Security
FileUrlintoforce_download='allow-local'on a URL that is, or could be, influenced by untrusted input.Agent.to_web/clai web;VercelAIAdapter;AGUIAdapter/Agent.to_ag_ui🚀 Features
🐛 Bug Fixes
🆕 V2 Preparation
gateway/gemini:prefix in favor ofgateway/google-cloud:by @dsfaccini in #5543StreamedResponse.usage(); raise on region-less Gateway API keys by @dsfaccini in #5546evaluation_name/evaluator_versionattribute pattern in favor of explicit accessor methods by @dmontagu in #5554New Contributors
Full Changelog: pydantic/pydantic-ai@v1.99.0...v1.100.0
v1.99.0: (2026-05-19)Compare Source
What's Changed
🛡️ Security
FileUrlintoforce_download='allow-local'on a URL that is, or could be, influenced by untrusted input.Agent.to_web/clai web;VercelAIAdapter;AGUIAdapter/Agent.to_ag_ui🚀 Features
gemini-3.5-flashmodel by @dsfaccini in #5527🐛 Bug Fixes
Full Changelog: pydantic/pydantic-ai@v1.98.0...v1.99.0
v1.98.0: (2026-05-18)Compare Source
What's Changed
🚀 Features
OpenAIResponsesModel.count_tokens) by @colesmcintosh in #3951Agenttool_retries=/output_retries=withretries: int | AgentRetriesby @Kludex in #5500🐛 Bug Fixes
fastmcp.serverat runtime by @Kymi808 in #5514🆕 V2 Preparation
pydantic_ai.ext.aci(tool_from_aciandACIToolset) by @dsfaccini in #5510New Contributors
Full Changelog: pydantic/pydantic-ai@v1.97.0...v1.98.0
v1.97.0: (2026-05-15)Compare Source
What's Changed
🚀 Features
OnlineEvaluator.run_on_errorsto opt into evaluating failed calls by @dmontagu in #5456GoogleProvider(vertexai=True|False)intoGoogleProvider+GoogleCloudProvider; rename provider IDgoogle-gla:togoogle:,google-vertex:togoogle-cloud:; deprecate old names by @dsfaccini in #5336MCPToolsetthat usesfastmcp-slim[client], deprecateMCPServer*andFastMCPToolsetby @DouweM in #5325ModelResponse.statetoincompletewhile response is still streaming by @adtyavrdhn in #5455pydantic_graph.betaAPI out of beta, deprecate old API by @dmontagu in #5306🆕 V2 Preparation
stream_responses()forstream_response(); new singular yieldsModelResponseinstead of(ModelResponse, is_last)tuple by @dsfaccini in #5296Agent.to_a2a()and bundledfasta2aintegration;fasta2ahas been adopted by DataLayer and users can usefasta2a.pydantic_ai(requiresfasta2av0.6.1) instead by @dsfaccini in #5426New Contributors
Full Changelog: pydantic/pydantic-ai@v1.96.1...v1.97.0
v1.96.1: (2026-05-14)Compare Source
What's Changed
🆕 V2 Preparation (coming in June)
Agentconstructorprepare_tools=,prepare_output_tools=,event_stream_handler=in favor ofPrepareTools,PrepareOutputTools,ProcessEventStreamcapabilities by @dsfaccini in #5335🐛 Bug Fixes
input_fidelitywhenNonein image generation tool by @pydanty[bot] in #5415openai_system_prompt_roleinOpenAIResponsesModelby @navalprakhar in #5430New Contributors
Full Changelog: pydantic/pydantic-ai@v1.96.0...v1.96.1
v1.96.0: (2026-05-13)Compare Source
What's Changed
🆕 V2 Preparation (coming in June)
openai-chat:prefix and warn on bareopenai:which will switch to use the Responses API in v2 by @dsfaccini in #5334Agent(history_processors=)in favor ofcapabilities=[ProcessHistory(...)]by @dsfaccini in #5425result.usage(),result.timestamp(),stream.get()in favor of property-styleresult.usage,result.timestamp,stream.responseby @dsfaccini in #5263AGUIApp,Agent.to_ag_ui(), andpydantic_ai.ag_uishim in favor ofAGUIAdapterby @dsfaccini in #5345OutlinesModelandOutlinesProviderby @DouweM in #5432Full Changelog: pydantic/pydantic-ai@v1.95.1...v1.96.0
v1.95.1: (2026-05-13)Compare Source
What's Changed
🐛 Bug Fixes
current_otel_traceparentimports eager (unbreak agent runs in Temporal workflows) by @DouweM in #5422Agent.instrumentsetter andInstrumentedModelby @DouweM in #5427Full Changelog: pydantic/pydantic-ai@v1.95.0...v1.95.1
v1.95.0: (2026-05-12)Compare Source
What's Changed
🚀 Features
Instrumentationcapability; deprecateAgent(instrument=...)by @DouweM in #4967🆕 V2 Preparation (coming in June)
capabilities=[NativeTool(...)]by @DouweM in #5338local=opt-in for provider-adaptive capability fallback; deprecate auto-fallback by @DouweM in #5331🐛 Bug Fixes
tool-input-(available|error)onFunctionToolCallEventby @sadra-barikbin in #5292📦 Dependencies
mistralas default dependency, exclude compromised 2.4.6 by @dsfaccini in #5393New Contributors
Full Changelog: pydantic/pydantic-ai@v1.94.0...v1.95.0
v1.94.0: (2026-05-12)Compare Source
What's Changed
🚀 Features
openai_chat_supports_multiple_system_messagesprofile flag by @DouweM in #5375📦 Dependencies
mistralaias dependency frompydantic-aiby @Kludex in #5384Full Changelog: pydantic/pydantic-ai@v1.93.0...v1.94.0
v1.93.0: (2026-05-08)Compare Source
What's Changed
🚀 Features
tool_choicesetting by @dsfaccini in #3611OutputToolCallEvent/OutputToolResultEventfor output tool calls; deprecate function-tool events for failing output tool calls by @DouweM in #5320🐛 Bug Fixes
New Contributors
Full Changelog: pydantic/pydantic-ai@v1.92.0...v1.93.0
v1.92.0: (2026-05-07)Compare Source
What's Changed
🚀 Features
output_retriesoverride + deprecateretries+ internal retry-field rename by @dsfaccini in #5075🐛 Bug Fixes
attempted exit cancel scope in different taskby running MCP session in a dedicated task by @dsfaccini in #4514for_runRunContextwithrun_id,conversation_id, andmetadataby @DouweM in #5330CaseLifecycle.teardown()by @voorhs in #5322New Contributors
Full Changelog: pydantic/pydantic-ai@v1.91.0...v1.92.0
v1.91.0: (2026-05-06)Compare Source
What's Changed
🚀 Features
gpt-image-2options by @banteg in #5234deepseek-v4-flashanddeepseek-v4-proby @SuperMarioYL in #5195🐛 Bug Fixes
ModelResponsein OpenAI Chat assistant message mapping by @DouweM in #5300New Contributors
Full Changelog: pydantic/pydantic-ai@v1.90.0...v1.91.0
v1.90.0: (2026-05-04)Compare Source
What's Changed
🚀 Features
OpenAIResponsesModelSettings.openai_conversation_idby @corytomlinson in #5224📦 Dependencies
pydantic/ai-chat-ui1.2.0 by @johnthagen in #5246New Contributors
Full Changelog: pydantic/pydantic-ai@v1.89.1...v1.90.0
v1.89.1: (2026-05-01)Compare Source
What's Changed
🤖 Coding Agent Experience
🐛 Bug Fixes
wrap_validation_errorsonToolManagerfunction-tool methods by @DouweM in #5275anyio.Lockcreation viacached_propertyto bind to running loop by @Kludex in #5265New Contributors
Full Changelog: pydantic/pydantic-ai@v1.89.0...v1.89.1
v1.89.0: (2026-04-30)Compare Source
What's Changed
🚀 Features
conversation_idfor cross-run correlation by @DouweM in #5251builtin_toolstoagent.overrideby @mplemay in #5248🐛 Bug Fixes
Full Changelog: pydantic/pydantic-ai@v1.88.0...v1.89.0
v1.88.0: (2026-04-28)Compare Source
What's Changed
🚀 Features
prepare_toolsto function tools, addprepare_output_toolsby @DouweM in #4859service_tiermodel setting; Anthropic + Gemini API + Vertex Priority PayGo support by @markmcd in #4926fastmode for opus 4.6 by @bohdanhr in #4300phaseon assistant messages by @DouweM in #5229UIAdapter.sanitize_messagesandallowed_file_url_schemesby @DouweM in #5228🐛 Bug Fixes
cache_controlforanthropic_cache_messagesby @Wh1isper in #5227CallToolsNodestream fails by @thejens in #4799Agent(retries=...)to user-provided toolsets by @dsfaccini in #4745New Contributors
Full Changelog: pydantic/pydantic-ai@v1.87.0...v1.88.0
v1.87.0: (2026-04-24)Compare Source
What's Changed
🚀 Features
HandleDeferredToolCallscapability andhandle_deferred_tool_callshook by @DouweM in #5142ProcessEventStreamcapability by @DouweM in #5141Full Changelog: pydantic/pydantic-ai@v1.86.1...v1.87.0
v1.86.1: (2026-04-23)Compare Source
What's Changed
🐛 Bug Fixes
choices=Nonein streamed chunks (#5165) by @adtyavrdhn in #5170container_idas string on reuse; unwrap broken {id: x} shape by @adtyavrdhn in #5168inputon tool-call retries by @DouweM in #5181MCPServer.__aexit__called more times than__aenter__inDynamicToolsetby @anishesg in #5171dictfields with Anthropic strict mode by @rahulmansharamani14 in #4321gen_ai.operation.name=execute_toolon tool-execution spans by @DouweM in #5182New Contributors
Full Changelog: pydantic/pydantic-ai@v1.86.0...v1.86.1
v1.86.0: (2026-04-22)Compare Source
What's Changed
🚀 Features
UIAdapter.manage_system_prompt+ReinjectSystemPromptcapability by @dsfaccini in #4087🐛 Bug Fixes
messageIdby @MukundaKatta in #5156reasoning_contentfrom Gemini 2.5 models by @JulieLiu99 in #5155New Contributors
Full Changelog: pydantic/pydantic-ai@v1.85.1...v1.86.0
v1.85.1: (2026-04-21)Compare Source
What's Changed
🐛 Bug Fixes
inputfrom retry messages by @navalprakhar in #4947dump_messages()by @tijmenhammer in #4831New Contributors
Full Changelog: pydantic/pydantic-ai@v1.85.0...v1.85.1
v1.85.0: (2026-04-21)Compare Source
What's Changed
🚀 Features
Full Changelog: pydantic/pydantic-ai@v1.84.1...v1.85.0
v1.84.1: (2026-04-17)Compare Source
What's Changed
🐛 Bug Fixes
dict-shaped validated args to hooks for single-BaseModeltools by @DouweM in #5137Full Changelog: pydantic/pydantic-ai@v1.84.0...v1.84.1
v1.84.0: (2026-04-16)Compare Source
What's Changed
🔒 Security
FileSearchToolresponse parsing by @DouweM in #5106. ThiConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.