Pydantic-AI v2.35.0 Adds Features, Fixes Bugs, and Deprecates `RunContext` APIs
sdkaideprecationengineerpython-agentic
feature patch
Pydantic-AI version 2.35.0 has been released, introducing several updates for developers. This version deprecates `RunContext.capability_loaded` and `available_capability_ids` in favor of new `capability_active` and `active_capability_ids` methods, impacting API compatibility. It also reduces the default Temporal metric export frequency, which may affect monitoring configurations. Additionally, the release includes bug fixes, such as ensuring explicit empty `Tool` descriptions are preserved.
- →Reduce the default Temporal metric export frequency by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/7768
Features (1) ›
- Reduce the default Temporal metric export frequency by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/7768
Fixes (1) ›
Preserve explicit empty Tool description instead of falling back to the function docstring by @mpfaffenberger in https://github.com/pydantic/pydantic-ai/pull/7759
Read the original announcement →
https://github.com/pydantic/pydantic-ai/releases/tag/v2.35.0
Related releases
- Pydantic-AI v2.34.0 Introduces LangChain Migration and GLM-5.3 Support Pydantic AI Releases ·
- pydantic-ai v2.33.0 Enhances Anthropic SDK Compatibility, Resolves Runtime Issues Pydantic AI Releases ·
- Pydantic-AI v2.32.2 Delivers Critical Bug Fixes Pydantic AI Releases ·
- Pydantic-AI v2.32.1 Patch Addresses Agent Execution and Anthropic Integration Bugs Pydantic AI Releases ·
- crewAI 1.15.17 Enhances Conversational Flows and Resolves Tooling Issues CrewAI Releases ·
- LangGraph Python SDK 0.4.3 Adds Decryption Feature and Fixes Cron Management LangGraph Releases ·