pydantic-ai Releases
191 releases of pydantic/pydantic-ai
- v1.81.0v1.81.0 (2026-04-13)
Focuses on fixing compaction usage tracking, cache key computation, and JSON schema handling. It ensures that caching keys are correct and that JSON schemas are parsed accurately.
Apr 14, 2026
- v1.80.0v1.80.0 (2026-04-10)
Introduces capability ordering and server-side compaction support for OpenAI and Anthropic models. This allows for more granular control over tool execution order and reduces context window usage.
Apr 10, 2026
- v1.79.0v1.79.0 (2026-04-09)
Adds full support for AG-UI versions 0.1.13 and 0.1.15 and refactors the HTTP client to use a context manager for better resource management. It also adds an `apply()` method to capability classes.
Apr 10, 2026
- v1.78.0v1.78.0 (2026-04-07)
Adds observability features for OpenTelemetry and expands tool definition capabilities with new metadata and schema attributes. This enhances tracing and tool introspection.
Apr 8, 2026
- v2.1.2
This release addresses a critical bug in the CMS Editor that broke formatting in v2.1.1 and introduces various improvements including TypeScript enhancements, new UI components, and updates to Stripe and PayPal payment status codes.
Apr 3, 2026
- v1.77.0v1.77.0 (2026-04-02)
The release focuses on expanding tool capabilities with a local `WebFetch` implementation and adding `ThreadExecutor` support, alongside improvements in instruction caching and streaming SDK error handling.
Apr 3, 2026
- v1.76.0v1.76.0 (2026-04-01)
This update improves agent resilience by enabling automatic fallbacks for image generation and adding `agent` context to `RunContext`, alongside Mistral SDK updates.
Apr 2, 2026
- v1.75.0v1.75.0 (2026-03-31)
Focuses on new embedding support for Gemini and Flex PayGo integration with VertexAI, alongside numerous bug fixes for cache control, Bedrock, and OpenRouter error handling.
Apr 1, 2026
- v1.74.0v1.74.0 (2026-03-30)
Introduces online evaluation infrastructure and new text content handling features, while deprecating a `Dataset` parameter and fixing tracing and embedding issues.
Mar 31, 2026
- v1.73.0v1.73.0 (2026-03-26)
Adds lifecycle hooks to dataset evaluation and allows hooks to control retry flow, along with improvements to capability schemas and dependency updates.
Mar 27, 2026
- v1.72.0v1.72.0 (2026-03-25)
Enhances Anthropic integration with eager input streaming and sync tool preparation, while improving MCP capabilities and fixing various type inference and serialization issues.
Mar 26, 2026
- v2.0.4
This release focuses on precise hyperparameter support (reasoning effort, temperature) across various providers (Anthropic, OpenAI, xAI) and introduces new models like Opus 4.6 and GPT-5.4, including new AWS Bedrock support.
Mar 25, 2026
- v1.71.0v1.71.0 (2026-03-24)
This is a major feature release introducing 'Capabilities' as composable units of behavior, alongside `AgentSpec` for YAML/JSON loading, `Hooks`, and `Thinking` capabilities.
Mar 24, 2026
- v0.30.0
This release adds new connectors for MongoDB and PostgreSQL (including WAL reading), enhances serialization support for arrays, and introduces async callbacks for Python I/O.
Mar 24, 2026
- v1.70.0v1.70.0 (2026-03-17)
Adds support for Bedrock inference profiles and fixes several bugs across Anthropic, OpenRouter, Cohere, and Google providers.
Mar 18, 2026
- v1.69.0v1.69.0 (2026-03-16)
Introduces a description parameter for Agents and enhances multimodal tool handling and fallback logic.
Mar 17, 2026
- v1.68.0v1.68.0 (2026-03-12)
Optimizes span hierarchy and fixes OpenAI thinking detection alongside AG-UI stability and dependency updates.
Mar 13, 2026
- v1.67.0v1.67.0 (2026-03-06)
Adds support for GPT-5.4, OpenRouter WebSearch, and native structured output for Ollama and Qwen models.
Mar 6, 2026
- v1.66.0v1.66.0 (2026-03-04)
Enables native structured output for Qwen 3.5 models and adds the Nano Banana 2 model support.
Mar 5, 2026
- v1.65.0v1.65.0 (2026-03-03)
Introduces an `UploadedFile` object for file uploads to providers and adds a new Gemini model.
Mar 3, 2026