v1.89.1

pydantic/pydantic-aiv1.89.1May 1, 2026by DouweM

AI Summary

Adds bundled Library Skills for improved coding-agent support and fixes `wrap_validation_errors` on `ToolManager`.

Key Highlights

  • Add bundled Library Skills for improved coding-agent support
  • Fix `wrap_validation_errors` on `ToolManager` function-tool methods
  • Defer `anyio.Lock` creation via `cached_property` to bind to running loop

New Features

  • Bundled Library Skills for coding agents

Full Release Notes

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

## What's Changed

### 🤖  Coding Agent Experience
* Add bundled Library Skills(https://library-skills.io) for improved coding-agent support by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/5271

### 🐛 Bug Fixes
* fix: restore `wrap_validation_errors` on `ToolManager` function-tool methods by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5275
* Defer `anyio.Lock` creation via `cached_property` to bind to running loop by @Kludex in https://github.com/pydantic/pydantic-ai/pull/5265

## New Contributors
* @dependabot[bot] made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5268

**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.89.0...v1.89.1