---
title: "pydantic-ai 2.74.0 Breaking Changes on PyPI | Since.dev"
description: "What each pydantic-ai release removed, renamed or changed: 305 breaking changes in 55 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pydantic-ai
last_updated: 2026-12-04
---

# pydantic-ai breaking changes

pydantic-ai 2.74.0 (November 25, 2026) is its newest release with breaking changes, 4 of them. The first: Behavior changed NATIVE_TOOLS_REQUIRING_CONFIG. Every breaking API change we have recorded in pydantic-ai on PyPI: 305 breaking changes in 55 versions. Below, its 55 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.79.0`, released December 4, 2026. [Source repository](https://github.com/pydantic/pydantic-ai)

Its 2.55.0 release requires [Python 3.11](https://since.dev/calendar/python/3.11.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.107.8](#v-1-107-8) to [2.74.0](#v-2-74-0): 294 breaking changes in 51 versions.
- From [0.8.0](#v-0-8-0) to [2.74.0](#v-2-74-0): 304 breaking changes in 54 versions.

## pydantic-ai 2.74.0 breaking changes

pydantic-ai 2.74.0, released November 25, 2026: 4 breaking changes.

- **Behavior changed** `NATIVE_TOOLS_REQUIRING_CONFIG`  

ComputerTool was added to NATIVE_TOOLS_REQUIRING_CONFIG, so code using it must also provide a computer tool. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.74.0)
- **Behavior changed** `openai_previous_response_id`  

Continuing through openai_previous_response_id without message_history now carries over the response's static instructions. Pass message_history, or set openai_responses_stable_instructions_as_input=False in the profile. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.74.0)
- **Behavior changed** `OpenAIProvider`  

Usage figures for gemini models streamed through OpenAIProvider now show the endpoint's final totals instead of their sum, so costs drop and UsageLimits token limits trigger later. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.74.0)
- **Behavior changed** `PlaywrightBrowser`  

Under the default enforced egress policy, pages no longer have these APIs and launched browsers start with them off. If your agent needs one, open an issue. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.74.0)

## pydantic-ai 2.73.0 breaking changes

pydantic-ai 2.73.0, released November 24, 2026: 7 breaking changes.

- **Behavior changed** `Agent._override_root_capability`  

The private context variable now stores a (capability, injected) tuple, so code reading it directly must be updated. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.73.0)
- **Behavior changed** `Coder`  

Images read by Coder are capped at 1024 pixels on the longest side; use FileSystem(max_image_side=...) to control this. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.73.0)
- **Behavior changed** `Dataset`  

Evaluator fields with init=False are no longer written to Dataset files or schemas, so code relying on them there must change. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.73.0)
- **Behavior changed** `FallbackModel`  

A FallbackModel that relied on the rejected request to reach a later model now stays on the first model; list a supporting model first to keep the setting. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.73.0)
- **Default changed** `clai`  

The default model for clai and clai web changed from openai:gpt-5 to openai:gpt-6.1-sol. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.73.0)
- **Configuration changed**  

Every extra that installs openai now requires openai 3.50.0 or later, so pins below that must be updated. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.73.0)
- **Configuration changed**  

Installing the coder extra pulls in pillow>=12.3.0, so environments pinning older pillow must be updated. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.73.0)

## pydantic-ai 2.71.0 breaking changes

pydantic-ai 2.71.0, released November 19, 2026: 3 breaking changes.

- **Renamed** `PeerNetwork`  

PeerNetwork is now named PeerConnection, so code that imports or references PeerNetwork must be updated. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.71.0)
- **Behavior changed**  

A run with content queued at a DeferredToolRequests or PendingModelResponse pause now stays paused, and BackgroundTools waits for its tasks at a DeferredToolRequests pause. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.71.0)
- **Behavior changed** `CodeMode`  

Under CodeMode(tools='all'), approval-required and external tools are kept as native tools rather than being routed through code. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.71.0)

## pydantic-ai 2.70.0 breaking changes

pydantic-ai 2.70.0, released November 17, 2026: 6 breaking changes.

- **Behavior changed**  

For forced tool choice on OpenRouter's qwen/qwen3.8-flash, the model now falls back to 'auto' or raises ModelRequestRejectedError, where requests were previously sent with the forced choice. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.70.0)
- **Behavior changed**  

Requests that send tools to GPT-6 models with reasoning enabled now raise ModelRequestRejectedError before being sent, instead of being sent to the API. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.70.0)
- **Behavior changed** `IncompleteToolCall`  

When the token limit cuts off an output tool call, IncompleteToolCall is raised right away instead of the request being retried. Code that caught or relied on the retry must be updated. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.70.0)
- **Behavior changed** `ModelFallback`  

For a ModelFallback attempt, get_instructions and get_model_settings are now re-run for the model that serves that attempt. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.70.0)
- **Behavior changed** `RepoContext`  

Nested traversal in RepoContext now skips node_modules, .venv and other package directories. Use nested_exclude to control which directories are skipped. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.70.0)
- **Behavior changed** `supported_image_media_types`  

File input is now checked by media type using supported_image_media_types, supported_audio_media_types and supported_video_media_types, which changes which files are accepted. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.70.0)

## pydantic-ai 2.69.0 breaking changes

pydantic-ai 2.69.0, released November 17, 2026: 9 breaking changes.

- **Removed** `RequestInput`  

RequestInput no longer exists as a separate type. Its handler behaviour now lives in HandleDeferredToolCalls, whose handler can take a resume token. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.69.0)
- **Renamed** `BubblewrapSandbox`  

Use BubblewrappedWorkspace in place of BubblewrapSandbox. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.69.0)
- **Renamed** `DockerSandbox`  

The harness capability is now DockerContainer. DockerSandbox remains only as a deprecated alias. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.69.0)
- **Behavior changed**  

Gemini IMAGE_RECITATION and TOO_MANY_TOOL_CALLS finish reasons now map to content_filter and error. Code that matched the old finish reasons may need updating. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.69.0)
- **Behavior changed** `Dataset`  

Dataset files now save keyword-only evaluator arguments by name, and the positional spec schema form for keyword-only parameters is dropped. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.69.0)
- **Behavior changed** `ModelContextWindowExceededError`  

Only Mistral 3059 prompt-too-long errors raise ModelContextWindowExceededError now. Other 3051 invalid-argument errors no longer do. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.69.0)
- **Behavior changed** `TestModel`  

TestModel integers now satisfy mixed inclusive and exclusive bounds and fractional bounds, so generated values may differ from before. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.69.0)
- **Behavior changed** `TextOutput`  

Creating an agent with a TextOutput function that takes a model, dataclass or TypedDict now raises an error. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.69.0)
- **Default changed** `FunctionToolset`  

The strict, sequential, defer_loading and include_return_schema defaults of FunctionToolset now also apply to Tool instances. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.69.0)

## pydantic-ai 2.68.0 breaking changes

pydantic-ai 2.68.0, released November 12, 2026: 8 breaking changes.

- **Renamed**  

Sub-agent task-control events are renamed with the Event suffix and past-participle names, and gain agent_name and parent_task_id fields. Code matching the old event names should switch to the new names. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.68.0)
- **Renamed** `CapabilityEvent`  

CapabilityEvent fields are renamed to \*\_count, \*\_name, duration_ms and previous_item. Update code that reads the old field names. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.68.0)
- **Renamed** `max_duration_secs`  

The max_duration_secs parameter is renamed to max_duration_seconds. Update calls that pass max_duration_secs. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.68.0)
- **Renamed** `num_results`  

The num_results parameter is renamed to max_results. Update calls that pass num_results. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.68.0)
- **Behavior changed**  

Text in user and tool content that looks like an application frame is now noted rather than escaped. Output for such content may differ. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.68.0)
- **Behavior changed** `AskUser`  

Approvals and answers are now requested inside the run with RequestInput, and AskUser is placed on the deferred pipeline. Deferred calls are marked with kind and answered_by, so code handling deferred calls may need updating. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.68.0)
- **Behavior changed** `ModelFallback`  

A response cut off at max_tokens now triggers fallback to the next model in ModelFallback instead of being returned as-is. Code that relied on receiving the truncated response must handle the new OutputTokenLimitExceeded case. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.68.0)
- **Behavior changed** `WorkspaceBackendSuite`  

Workspace backends are now required to leave detached processes running, and WorkspaceBackendSuite checks this. Custom backends that stop such processes will no longer conform. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.68.0)

## Older versions

49 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### pydantic-ai 2.67.0 breaking changes

pydantic-ai 2.67.0, released November 11, 2026: 13 breaking changes.

- **Renamed**  

Provider-specific native-tool fields now go in provider_settings. Update code that sets them as direct fields. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)
- **Behavior changed**  

Documents of any media type that mimetypes knows are sent, with the format taken from it. Check code that relied on the previous set of document types. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.67.0)

And 11 more in this version.

### pydantic-ai 2.66.0 breaking changes

pydantic-ai 2.66.0, released November 4, 2026: 6 breaking changes.

- **Behavior changed**  

When citations are requested, Anthropic's 20260209 web tools are now called directly on the Anthropic API rather than through the previous path. Check code that relies on the old routing. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.66.0)
- **Behavior changed**  

Session instructions are now re-resolved before each model turn, and their changes are sent as appends. Code that assumed instructions were fixed for the session may behave differently. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.66.0)

And 4 more in this version.

### pydantic-ai 2.65.0 breaking changes

pydantic-ai 2.65.0, released November 3, 2026: 7 breaking changes.

- **Behavior changed**  

Temporal stops retrying subclasses of non-retryable errors, such as ContentFilterError or UserError subclasses, which were previously retried. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.65.0)
- **Behavior changed**  

Google requests now send a server deadline of at least 20 minutes instead of the client's read timeout, so the effective timeout differs from before. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.65.0)

And 5 more in this version.

### pydantic-ai 2.64.0 breaking changes

pydantic-ai 2.64.0, released October 31, 2026: 7 breaking changes.

- **Behavior changed** `Model.accepts_server_state`  

Stored response, item, conversation and container IDs are now sent back only to the endpoint that created them, controlled by Model.accepts_server_state. Code that relied on sending them to other endpoints must opt in. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.64.0)
- **Behavior changed** `ModelHTTPError`  

An error status that a retrying transport gives up on is now raised as ModelHTTPError, so fallback moves on to the next model. Code that catches other exceptions for that case must catch ModelHTTPError instead. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.64.0)

And 5 more in this version.

### pydantic-ai 2.63.0 breaking changes

pydantic-ai 2.63.0, released October 28, 2026: 8 breaking changes.

- **Behavior changed**  

A GPT-Live reply that delegated now ends at Live's next pause instead of mid-sentence when the backend answers. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.63.0)
- **Behavior changed**  

Signed and encrypted history data is now replayed to providers sharing the same canonical_system. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.63.0)

And 6 more in this version.

### pydantic-ai 2.62.0 breaking changes

pydantic-ai 2.62.0, released October 27, 2026: 10 breaking changes.

- **Behavior changed**  

Forced tool_choice now raises on Gemini Live, and parallel_tool_calls=False now warns. Code that depended on these settings being silently ignored will change behavior. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.62.0)
- **Behavior changed**  

Loaded deferred capabilities' instructions are now stated in the system voice and their changes appended, and shown to before_model_request. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.62.0)

And 8 more in this version.

### pydantic-ai 2.61.0 breaking changes

pydantic-ai 2.61.0, released October 24, 2026: 7 breaking changes.

- **Behavior changed**  

Bool and int inputs now take separate Literal decision branches in pydantic_graph, so graph routing for those inputs can change. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.61.0)
- **Behavior changed** `aws_cli`  

aws configure no longer writes to \~/.aws, service-list bypasses are stopped, and aws_cli output is capped. Code relying on those writes or long output must change. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.61.0)

And 5 more in this version.

### pydantic-ai 2.60.0 breaking changes

pydantic-ai 2.60.0, released October 23, 2026: 22 breaking changes.

- **Behavior changed**  

The agent's system_prompt and seeded history's system prompts are now sent to realtime sessions. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.60.0)
- **Behavior changed**  

Tool returns such as datetime and UUID values are now sent unquoted, so the model sees a different form than before. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.60.0)

And 20 more in this version.

### pydantic-ai 2.59.0 breaking changes

pydantic-ai 2.59.0, released October 21, 2026: 19 breaking changes.

- **Removed** `meta-llama.llama-4-maverick-17b-128e-instruct`  

The Groq model meta-llama/llama-4-maverick-17b-128e-instruct has been shut down and removed. Stop passing it to the package. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.59.0)
- **Removed** `meta-llama.llama-guard-4-12b`  

The Groq model meta-llama/llama-guard-4-12b has been shut down and removed. Stop passing it to the package. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.59.0)

And 17 more in this version.

### pydantic-ai 2.58.0 breaking changes

pydantic-ai 2.58.0, released October 20, 2026: 11 breaking changes.

- **Behavior changed**  

A native tool is now treated as unsupported when the model cannot apply its allowed_domains, blocked_domains, max_uses or external_web_access setting. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.58.0)
- **Behavior changed** `anthropic_cache`  

The profile's supports_auto_cache now decides anthropic_cache, and legacy AsyncAnthropicBedrock uses automatic caching for Claude Opus 4.7 and later. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.58.0)

And 9 more in this version.

### pydantic-ai 2.57.0 breaking changes

pydantic-ai 2.57.0, released October 16, 2026: 4 breaking changes.

- **Behavior changed**  

Gemini Live realtime sessions now take history, usage and reply waits from the session core. Code relying on the previous per-model handling of these may behave differently. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.57.0)
- **Behavior changed**  

GPT-Live realtime sessions now take history, usage and reply waits from the session core. Code relying on the previous per-model handling of these may behave differently. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.57.0)

And 2 more in this version.

### pydantic-ai 2.56.0 breaking changes

pydantic-ai 2.56.0, released October 13, 2026: 4 breaking changes.

- **Removed** `WarnNearLimits`  

WarnNearLimits is no longer part of the harness Coder capability, so code that references it must be updated. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.56.0)
- **Behavior changed** `MCPToolset`  

MCPToolset now leaves a user-supplied http_client open instead of closing it, so callers must close it themselves. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.56.0)

And 2 more in this version.

### pydantic-ai 2.55.0 breaking changes

pydantic-ai 2.55.0, released October 9, 2026: 12 breaking changes.

- **Removed**  

Python 3.10 installs now resolve to 2.54.0 and earlier, so users on Python 3.10 must upgrade Python to 3.11 or newer to get this release. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.55.0)
- **Renamed** `LogfireMCP`  

Tool names exposed by LogfireMCP now start with logfire\_, so code that looks up the old tool names must use the prefixed names. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.55.0)

And 10 more in this version.

### pydantic-ai 2.54.0 breaking changes

pydantic-ai 2.54.0, released October 3, 2026: 14 breaking changes.

- **Behavior changed**  

Model errors from Temporal model activities are re-raised with their original type in workflow code, so except clauses matching the previous type may behave differently. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.54.0)
- **Behavior changed**  

An agent now refuses to bind a second durable execution engine before either binds, so setups using two engines will fail. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.54.0)

And 12 more in this version.

### pydantic-ai 2.53.0 breaking changes

pydantic-ai 2.53.0, released October 2, 2026: 5 breaking changes.

- **Behavior changed**  

When function tool calls share a tool_call_id, the run now raises UnexpectedModelBehavior instead of running the wrong tool. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.53.0)
- **Behavior changed** `AbstractConcurrencyLimiter`  

A custom AbstractConcurrencyLimiter must allow release() to be called from a different task than the one that acquired the slot. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.53.0)

And 3 more in this version.

### pydantic-ai 2.52.0 breaking changes

pydantic-ai 2.52.0, released September 30, 2026: 10 breaking changes.

- **Renamed** `ModalSandboxSession`  

Use ModalSandboxBackend in place of ModalSandboxSession. ModalSandbox's own tools are also replaced by a Modal workspace, so Coder, Shell and FileSystem now run in the sandbox. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.52.0)
- **Renamed** `resolve_prompt_cache_retention`  

Call resolve_cache_retention instead of resolve_prompt_cache_retention. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.52.0)

And 8 more in this version.

### pydantic-ai 2.51.0 breaking changes

pydantic-ai 2.51.0, released September 25, 2026: 2 breaking changes.

- **Behavior changed**  

Dated gemini-3.8-live ids are matched, google_affective_dialog is rejected at connect on Gemini 3.1 Flash Live and 3.8 Live, and Gemini Live close codes now raise RealtimeError. Code relying on the previous behavior may need changes. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.51.0)
- **Behavior changed** `tool_choice`  

A realtime tool_choice that forces a tool call now raises UserError on OpenAI, Azure OpenAI, and xAI. Code that forces tool calls must change its tool_choice setting. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.51.0)

### pydantic-ai 2.50.0 breaking changes

pydantic-ai 2.50.0, released September 25, 2026: 3 breaking changes.

- **Renamed** `ToolCallProposed`  

ToolCallProposed was renamed to UnfillableRoute and now sits under a DecisionHandOff base. Code that imports or references ToolCallProposed must switch to UnfillableRoute. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.50.0)
- **Behavior changed** `DecisionModel`  

A DecisionModel now asks which route to take by name, with one label per route. Code that relied on the previous route selection must be updated. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.50.0)

And 1 more in this version.

### pydantic-ai 2.49.0 breaking changes

pydantic-ai 2.49.0, released September 24, 2026: 3 breaking changes.

- **Behavior changed** `instrumentation_version`  

instrumentation_version now follows an explicit Instrumentation capability, so code that relied on the previous lookup may see different values. Add an explicit Instrumentation capability to keep the value in effect. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.49.0)
- **Behavior changed** `RunContext.tracer`  

RunContext.tracer now follows an explicit Instrumentation capability, so code that relied on the previous tracer lookup may see different tracing behavior. Add an explicit Instrumentation capability to keep tracing configured. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.49.0)

And 1 more in this version.

### pydantic-ai 2.47.0 breaking changes

pydantic-ai 2.47.0, released September 22, 2026: 2 breaking changes.

- **Behavior changed**  

The release renames the route for a None output from NoneType to None. Code that matches on the old NoneType route name must be updated. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.47.0)
- **Behavior changed** `UserPromptPart.content`  

Passing a value to UserPromptPart.content that is not a str or a sequence now raises an error instead of silently sending a dict's keys. Code that passed a dict must be changed to pass a supported type. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.47.0)

### pydantic-ai 2.46.0 breaking changes

pydantic-ai 2.46.0, released September 19, 2026: 1 breaking change.

- **Behavior changed** `TypeSafeModel`  

TypeSafeModel now refuses more options than Jev can pick from, so code that relied on the previous acceptance of such option sets may now fail. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.46.0)

### pydantic-ai 2.45.0 breaking changes

pydantic-ai 2.45.0, released September 18, 2026: 3 breaking changes.

- **Behavior changed**  

Each agent run's span now reports that run's own usage. Code that reads usage from spans may see different values. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.45.0)
- **Behavior changed**  

One MCP server session is now held per durable run instead of one per durable unit. Durable code relying on separate sessions per unit may behave differently. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.45.0)

And 1 more in this version.

### pydantic-ai 2.44.0 breaking changes

pydantic-ai 2.44.0, released September 17, 2026: 4 breaking changes.

- **Behavior changed**  

UI adapter requests without a JSON Content-Type header are now rejected. Clients must send a JSON Content-Type on these requests. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.44.0)
- **Behavior changed** `@durable_operation`  

A capability @durable_operation called from a per-request hook is now dispatched rather than run inline. Code relying on inline execution may behave differently. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.44.0)

And 2 more in this version.

### pydantic-ai 2.42.0 breaking changes

pydantic-ai 2.42.0, released September 9, 2026: 1 breaking change.

- **Behavior changed** `DeferredToolResults.approvals`  

Invalid values passed in DeferredToolResults.approvals are now rejected instead of accepted. Check that code passes only valid approval values. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.42.0)

### pydantic-ai 2.38.0 breaking changes

pydantic-ai 2.38.0, released September 3, 2026: 1 breaking change.

- **Behavior changed**  

One-off capabilities now get a default id and a combine rule when repeated, so code relying on their previous identity or repeat handling may behave differently. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.38.0)

### pydantic-ai 2.37.0 breaking changes

pydantic-ai 2.37.0, released September 1, 2026: 1 breaking change.

- **Behavior changed** `capabilities`  

Passing per-run capabilities= on DBOS now raises an error, matching Temporal. Move capabilities to the agent constructor instead. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.37.0)

### pydantic-ai 2.36.0 breaking changes

pydantic-ai 2.36.0, released August 29, 2026: 1 breaking change.

- **Signature changed** `durable_operation`  

The durable_operation decorator now requires an explicit operation name. Code that applies it without a name must pass one. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.36.0)

### pydantic-ai 2.35.0 breaking changes

pydantic-ai 2.35.0, released August 26, 2026: 2 breaking changes.

- **Behavior changed** `TestModel`  

TestModel can now produce the inclusive maximum for integer fields, so generated test values may differ from before. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.35.0)
- **Default changed**  

The default Temporal metric export frequency is now lower. Set it explicitly if you need the previous rate. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.35.0)

### pydantic-ai 2.33.0 breaking changes

pydantic-ai 2.33.0, released August 21, 2026: 1 breaking change.

- **Behavior changed** `AnthropicProvider`  

A custom http_client passed to AnthropicProvider must now be an httpx2.AsyncClient; legacy httpx clients are rejected by the 1.x Anthropic SDK. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.33.0)

### pydantic-ai 2.32.0 breaking changes

pydantic-ai 2.32.0, released August 19, 2026: 2 breaking changes.

- **Behavior changed**  

The package now uses httpx2 for compatible HTTP clients. Code that passes or depends on httpx clients may need to be updated to httpx2. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.32.0)
- **Behavior changed**  

Blocking sync tools and hooks now run in a thread pool, and the timeout= setting is enforced on them. Code that relied on them running inline on the calling thread or ignoring timeout= should be reviewed. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.32.0)

### pydantic-ai 2.30.0 breaking changes

pydantic-ai 2.30.0, released August 14, 2026: 2 breaking changes.

- **Behavior changed**  

A deferred tool can no longer be called until it has been revealed and its capability loaded. Code that calls deferred tools without this step may now fail. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.30.0)
- **Behavior changed** `Agent.to_web`  

The local web chat UI rejects Host headers outside localhost, loopback and LAN addresses unless configured. Deployments reached under a real hostname must set the new allowed_hosts option. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.30.0)

### pydantic-ai 2.28.0 breaking changes

pydantic-ai 2.28.0, released August 12, 2026: 1 breaking change.

- **Behavior changed** `Agent.to_web`  

The development web chat endpoint now requires Content-Type: application/json and rejects other requests before the agent runs. Clients that send other content types must send JSON instead. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.28.0)

### pydantic-ai 2.27.1 breaking changes

pydantic-ai 2.27.1, released August 11, 2026: 1 breaking change.

- **Behavior changed** `InstrumentationSettings.include_content`  

Retry-prompt content sent back to the model is no longer included in OpenTelemetry output when include_content=False. Users who relied on seeing that content in traces must set include_content=True to keep it. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.27.1)

### pydantic-ai 2.26.0 breaking changes

pydantic-ai 2.26.0, released August 7, 2026: 2 breaking changes.

- **Behavior changed** `CompactionPart`  

Requests now send only the compacted window, dropping history before the latest same-provider CompactionPart. Code that relied on the full history being sent must account for this. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.26.0)
- **Behavior changed** `supports_inline_system_prompts`  

OpenRouter requests are gated off native mid-conversation system messages when supports_inline_system_prompts=False. Code that depended on those messages being sent must set the option explicitly. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.26.0)

### pydantic-ai 2.24.0 breaking changes

pydantic-ai 2.24.0, released August 5, 2026: 1 breaking change.

- **Behavior changed** `ToolApprovalResponded.approved`  

ToolApprovalResponded.approved is now a StrictBool, so values that were coerced before, such as strings, must be passed as real booleans. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.24.0)

### pydantic-ai 2.22.0 breaking changes

pydantic-ai 2.22.0, released August 1, 2026: 5 breaking changes.

- **Behavior changed**  

Mid-conversation system prompts are now sent to Anthropic as native system messages instead of the previous format. Code that depends on the old message shape may behave differently. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.22.0)
- **Behavior changed**  

A history processor or fallback_on handler with unresolvable type annotations now raises UserError. Fix the annotations so they resolve. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.22.0)

And 3 more in this version.

### pydantic-ai 2.15.0 breaking changes

pydantic-ai 2.15.0, released July 22, 2026: 1 breaking change.

- **Behavior changed**  

Tool schemas with untyped arrays are now marked as not strict-compatible when sent to OpenAI, which can change how those tools are sent. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.15.0)

### pydantic-ai 2.14.0 breaking changes

pydantic-ai 2.14.0, released July 21, 2026: 2 breaking changes.

- **Removed** `gemini-2.5-flash-lite-preview-09-2025`  

The Gemini model gemini-2.5-flash-lite-preview-09-2025 was shut down and removed, so code that selects it must switch to another model. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.14.0)
- **Removed** `gemini-3.1-flash-lite-preview`  

The Gemini model gemini-3.1-flash-lite-preview was shut down and removed, so code that selects it must switch to another model. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.14.0)

### pydantic-ai 2.10.0 breaking changes

pydantic-ai 2.10.0, released July 15, 2026: 1 breaking change.

- **Behavior changed** `message_history`  

message_history is repaired so tool-call and tool-result pairs are valid for providers without extra code. Code that relied on the history being passed through unchanged should be checked. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.10.0)

### pydantic-ai 2.7.0 breaking changes

pydantic-ai 2.7.0, released July 9, 2026: 1 breaking change.

- **Behavior changed** `AlibabaProvider`  

Document input is disabled for AlibabaProvider when using the Chat Completions API. Code that sends documents through this provider must change how it passes them. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.7.0)

### pydantic-ai 2.6.0 breaking changes

pydantic-ai 2.6.0, released July 8, 2026: 1 breaking change.

- **Behavior changed**  

Native tool IDs that conflict within a single capability layer are now rejected. Code that relied on such conflicting IDs must give each native tool a unique ID. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.6.0)

### pydantic-ai 2.5.0 breaking changes

pydantic-ai 2.5.0, released July 4, 2026: 2 breaking changes.

- **Behavior changed**  

Agent spec inputs that are not objects, which were previously accepted, are now rejected. Pass agent specs as objects. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.5.0)
- **Behavior changed**  

Runs that pass duplicate deferred tool call IDs, which were previously accepted, now fail. Make sure each deferred tool call ID is unique. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.5.0)

### pydantic-ai 2.4.0 breaking changes

pydantic-ai 2.4.0, released July 3, 2026: 2 breaking changes.

- **Renamed** `preserve_file_data`  

The preserve_file_data option is split into allow_uploaded_files, which controls inbound security, and a separate AG-UI representation opt-in. Code using preserve_file_data must switch to the new option names. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.4.0)
- **Behavior changed** `max_concurrency`  

Passing a zero or negative max_concurrency to evals is now rejected instead of being accepted. Code that passes such values must use a positive number. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.4.0)

### pydantic-ai 2.0.0 breaking changes

pydantic-ai 2.0.0, released June 23, 2026: 38 breaking changes.

- **Removed** `BuiltinToolCallEvent`  

Native tool calls no longer emit dedicated events and surface only through PartStartEvent and PartDeltaEvent. [github.com](https://github.com/pydantic/pydantic-ai/blob/main/docs/changelog.md)
- **Removed** `ModelProfile.update`  

ModelProfile is now a TypedDict, so use the module-level merge_profile function instead of update() and from_profile(). [github.com](https://github.com/pydantic/pydantic-ai/blob/main/docs/changelog.md)

And 36 more in this version.

### pydantic-ai 2.0.0b1 breaking changes

pydantic-ai 2.0.0b1, released June 23, 2026: 11 breaking changes.

- **Behavior changed**  

Add provider extras such as bedrock, groq or mistral explicitly to keep them working. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.0.0b1)
- **Behavior changed** `capture_run_messages`  

Messages from interrupted runs are now included in the captured output. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v2.0.0b1)

And 9 more in this version.

### pydantic-ai 1.107.8 breaking changes

pydantic-ai 1.107.8, released October 20, 2026: 1 breaking change.

- **Behavior changed**  

MCP request traces no longer expose server URLs, authorization tokens, or header values, and URL-based MCP identifiers no longer carry embedded credentials. URL-based MCP activity names are unchanged for now; with Temporal tracing enabled... [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.8)

### pydantic-ai 1.0.0 breaking changes

pydantic-ai 1.0.0, released September 5, 2025: 6 breaking changes.

- **Removed**  

Python 3.9 is no longer supported; users on Python 3.9 must upgrade their interpreter before using this release. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v1.0.0)
- **Renamed** `ModelResponse.price`  

Calls to ModelResponse.price() must be changed to ModelResponse.cost(). [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v1.0.0)

And 4 more in this version.

### pydantic-ai 1.0.0b1 breaking changes

pydantic-ai 1.0.0b1, released September 5, 2025: 3 breaking changes.

- **Removed**  

Python 3.9 is no longer supported; users on Python 3.9 must upgrade their interpreter before using this release. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v1.0.0b1)
- **Behavior changed** `InstrumentationSettings`  

The default instrumentation version is now 2, so telemetry output changes unless the version is set explicitly. [github.com](https://github.com/pydantic/pydantic-ai/releases/tag/v1.0.0b1)

And 1 more in this version.

### pydantic-ai 0.8.0 breaking changes

pydantic-ai 0.8.0, released August 26, 2025: 1 breaking change.

- **Signature changed** `AgentStreamEvent`  

The AgentStreamEvent type is now a union of ModelResponseStreamEvent and HandleResponseEvent. Code that relies on its previous shape may need updating. [github.com](https://github.com/pydantic/pydantic-ai/commit/fc6b1e58c88ded716a62044e156efb9e0dbba458)

## Related packages

- [pydantic-ai-slim](https://since.dev/packages/pypi/pydantic-ai-slim.md)
- [pydantic-core](https://since.dev/packages/pypi/pydantic-core.md)
- [pydantic-settings](https://since.dev/packages/pypi/pydantic-settings.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
