v2.11.0

bevyengine/bevyv2.11.0Jul 16, 2026by dsfaccini

AI Summary

Exports the `HistoryProcessor` class and adds actionable hints to usage-limit and tool-retry errors, while fixing structured output transformations and validation issues for Mistral.

Key Highlights

  • Export `HistoryProcessor` class
  • Add actionable hints to usage-limit and tool-retry errors
  • Fix Mistral `MistralStreamedResponse` number/integer validation
  • Fix `GoogleModel` media_resolution forwarding
  • Fix Bedrock and Anthropic structured output mode handling

New Features

  • Export `HistoryProcessor`
  • Actionable hints for errors

Full Release Notes

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

## What's Changed
### 🚀 Features
* feat: export `HistoryProcessor` and add actionable hints to usage-limit and tool-retry errors by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6346
### 🐛 Bug Fixes
* Fix `MistralStreamedResponse` streamed number/integer validation to accept int-valued numbers and reject bools by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/6479
* fix(onboarding): suggest `Agent('test')` when provider credentials are missing by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6342
* fix(anthropic): transform native output schema when reached via `profile={"default_structured_output_mode": "native"}` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6521
* Fix Bedrock `profile={'default_structured_output_mode': 'native'}` sending untransformed schema by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6539


**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v2.10.0...v2.11.0