github pydantic/pydantic-ai v1.40.0
v1.40.0 (2026-01-06)

latest releases: v1.63.0, v1.62.0, v1.61.0...
one month ago

What's Changed

🚀 Features

  • Set human-readable Temporal activity summaries by @DouweM in #3919
  • Let agent call nonexistent tool as often as Agent retries limit specifies by @geodavic in #3597

🐛 Bug Fixes

  • Ensure stream_output() always calls output function/validator with partial_output=False at the end of streaming by @DouweM in #3918
  • Fix PydanticAIPlugin to preserve custom payload_codec and respect PydanticPayloadConverter subclasses by @DouweM in #3920

New Contributors

Full Changelog: v1.39.1...v1.40.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.