v2.35.1

pydantic/pydantic-aiv2.35.1Aug 27, 2026by dsfaccini

AI Summary

Focuses on bug fixes including Bedrock guardrail traces, Temporal cancellation behavior, and dependency version management.

Key Highlights

  • Carry Bedrock guardrail `trace` in `ModelResponse.provider_details`
  • Honor `provider_factory` when cancelling Temporal responses
  • Cap `dbos` below 2.31.0 to avoid missing imports

Full Release Notes

<!-- Release notes generated using configuration in .github/release.yml at main -->

## What's Changed
### 🐛 Bug Fixes
* Carry Bedrock guardrail `trace` in `ModelResponse.provider_details` by [@pydanty](https://github.com/apps/pydanty) in https://github.com/pydantic/pydantic-ai/pull/7562
* Honor `provider_factory` when cancelling Temporal responses by @DouweM in https://github.com/pydantic/pydantic-ai/pull/7000
* Cap `dbos` below 2.31.0 to avoid a missing `opentelemetry-instrumentation-logging` import by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/7804


**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v2.35.0...v2.35.1