v2.35.3

pydantic/pydantic-aiv2.35.3Aug 28, 2026by dsfaccini

AI Summary

Primarily a bug fix release addressing Heroku GLM model routing, cookie scoping for downloads, 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

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.3