v1.79.0
pydantic/pydantic-aiv1.79.0Apr 10, 2026by DouweM
AI Summary
Adds full support for AG-UI versions 0.1.13 and 0.1.15 and refactors the HTTP client to use a context manager for better resource management. It also adds an `apply()` method to capability classes.
Key Highlights
- Full support for AG-UI 0.1.13 and 0.1.15
- Replace HTTP client cache with `create_async_http_client` and context manager
- Add `apply()` to AbstractCapability, CombinedCapability, and WrapperCapability
New Features
- AG-UI support
- HTTP client context manager
- apply() method for capabilities
Full Release Notes
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Full support for AG-UI 0.1.13 and 0.1.15: reasoning, multi-modal, `dump_messages` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/3971 * Replace HTTP client cache with `create_async_http_client` and context manager by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4421 * Add `apply()` to `AbstractCapability`, `CombinedCapability`, and `WrapperCapability` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5022 ### 🐛 Bug Fixes * fix: update internal `$ref`s in renamed schema `defs`, handle missing keywords, and detect semantically different defs by @Ricardo-M-L in https://github.com/pydantic/pydantic-ai/pull/5020 * fix: force streaming in `run()` when capability/hook overrides `wrap_run_event_stream` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5028 * Fix `on_node_run_error` and `after_node_run` hook recovery by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5023 * fix: add missing space in provider `UserError` messages by @graydeon in https://github.com/pydantic/pydantic-ai/pull/4976 ## New Contributors * @15r10nk made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4108 * @graydeon made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4976 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.78.0...v1.79.0