pypi pydantic-ai 2.42.0
v2.42.0 (2026-09-08)

2 hours ago

What's Changed

⚠️ Compatibility Notes

🚀 Features

  • Add a GitHubCopilotProvider for GitHub Copilot's OpenAI-compatible API by @dsfaccini in #8059

🐛 Bug Fixes

  • Honor anthropic_disallows_sampling_settings in BedrockConverseModel by @rscholz98 in #7961
  • Resolve non-object $ref definitions inline in code-mode function signatures by @pydanty in #8056
  • Validate ToolReturnContent without a Python call per JSON node by @dsfaccini in #7823
  • Preserve Anthropic recovery across normalized history by @dsfaccini in #8040

New Contributors

Full Changelog: v2.41.0...v2.42.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.