github pydantic/pydantic-ai v0.4.0
v0.4.0 (2025-07-08)

latest releases: v1.58.0, v1.57.0, v1.56.0...
7 months ago

What's Changed

  • BREAKING CHANGE: Make EvaluationReport and ReportCase into generic dataclasses by @dmontagu in #1799
  • Make ToolDefinition.description optional and fix Bedrock description handling by @dmontagu in #1507
  • Add all audio types supported by Gemini to AudioUrl by @ChenghaoMou in #2151
  • Improve number_to_datetime performance by building TypeAdapter only once by @DouweM in #2153
  • Retain defaults in non-strict openai schemas by @dmontagu in #1519

Full Changelog: v0.3.7...v0.4.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.