github pydantic/pydantic-ai v0.4.2
v0.4.2 (2025-07-10)

latest releases: v1.70.0, v1.69.0, v1.68.0...
8 months ago

What's Changed

  • Let model settings be passed to model classes by @svilupp in #2136
  • Add StructuredDict for structured outputs with custom JSON schema by @fswair in #2157
  • Handle DeepSeek reasoning_content in streamed responses by @tarruda in #2174
  • Drop FastA2A from PydanticAI repository by @Kludex in #2171
  • Fix type annotations for Agent.iter() by @erosennin in #2168
  • Fix chat-app example doc - python code appear twice by @itayB in #2169
  • Speed up function _ensure_decodeable by 634% by @misrasaurabh1 in #2155

New Contributors

Full Changelog: v0.4.1...v0.4.2

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.