v2.35.0
pydantic/pydantic-aiv2.35.0Aug 26, 2026by dsfaccini
AI Summary
Introduces deprecations for legacy capability attributes and reduces the frequency of Temporal metric exports.
Key Highlights
- Deprecate `RunContext.capability_loaded` in favor of `capability_active`
- Make inclusive integer `maximum` reachable in `TestModel`
- Reduce the default Temporal metric export frequency
New Features
- Reduced default Temporal metric export frequency
Full Release Notes
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### ⚠️ Compatibility Notes * Deprecate `RunContext.capability_loaded` and `available_capability_ids` in favor of `capability_active` and `active_capability_ids` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/7454 * Make inclusive integer `maximum` reachable in `TestModel` by [@pydanty](https://github.com/apps/pydanty) in https://github.com/pydantic/pydantic-ai/pull/7697 ### 🚀 Features * Reduce the default Temporal metric export frequency by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/7768 ### 🐛 Bug Fixes * Preserve explicit empty `Tool` description instead of falling back to the function docstring by @mpfaffenberger in https://github.com/pydantic/pydantic-ai/pull/7759 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v2.34.0...v2.35.0