github pydantic/pydantic-ai v1.21.0
v1.21.0 (2025-11-20)

latest releases: v1.69.0, v1.68.0, v1.67.0...
3 months ago

What's Changed

  • Feature: MCP client Resources support by @fennb in #3024
  • Expose MCP server instructions in MCPServer.instructions property by @mochow13 in #3431
  • Add BinaryContent.from_path convenience method by @dsfaccini in #3482
  • Enforce message history starts with user message by @Pavanmanikanta98 in #3440
  • Always strip Markdown fences from structured output by @DouweM in #3475
  • Fix Gemini nested tool argument schemas by removing title from $defs by @conradlee in #3487
  • Fix issue with Gemini and Prefect by removing unused GoogleModel._url by @DouweM in #3499

New Contributors

Full Changelog: v1.20.0...v1.21.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.