v2.35.2
pydantic/pydantic-aiv2.35.2Aug 27, 2026by dsfaccini
AI Summary
This maintenance release focuses on bug fixes and dependency updates for Pydantic AI. It addresses specific issues related to GLM model routing, cookie scoping, and durable execution error handling.
Key Highlights
- Route Heroku GLM models through `zai_model_profile`
- Scope `safe_download` cookies to original hostnames
- Fix `DeferredToolRequests.remaining` resolving cross-category result IDs
- Identify rejected runtime toolsets in durable execution errors
- Update dependencies: un-cap `dbos` extra and add `opentelemetry-instrumentation-logging`
Full Release Notes
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🐛 Bug Fixes * Route Heroku GLM models through `zai_model_profile` by @LHMQ878 in https://github.com/pydantic/pydantic-ai/pull/6837 * Scope `safe_download` cookies to original hostnames by @Diwak4r in https://github.com/pydantic/pydantic-ai/pull/7077 * Fix `DeferredToolRequests.remaining` resolving cross-category result IDs by [@pydanty](https://github.com/apps/pydanty) in https://github.com/pydantic/pydantic-ai/pull/7626 * Identify rejected runtime toolsets in durable execution errors by [@pydanty](https://github.com/apps/pydanty) in https://github.com/pydantic/pydantic-ai/pull/6784 * Un-cap the `dbos` extra; add `opentelemetry-instrumentation-logging` as a test dependency instead by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/7820 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v2.35.1...v2.35.2