pypi pydantic-ai 2.47.0
v2.47.0 (2026-09-21)

8 hours ago

What's Changed

⚠️ Compatibility Notes

  • Name a None output route None rather than NoneType by @DouweM in #8590
  • Raise when UserPromptPart.content is not a str or a sequence, instead of silently sending a dict's keys by @DouweM in #8595

🚀 Features

  • Ask three more field types TypeSafeModel can already answer by @DouweM in #8544

🐛 Bug Fixes

  • Refuse a tuple output field and a self-contained model instead of crashing by @DouweM in #8537
  • Refuse a rubric with more levels than Jev scores against by @DouweM in #8583
  • Let None be a route TypeSafeModel can pick by @DouweM in #8540
  • Let a Choices set describe itself as a TypeSafeModel route by @DouweM in #8541
  • Recognise a None route and a None option that carry a description by @DouweM in #8598
  • Name the picked route in the TypeSafeModel request that fills it by @DouweM in #8589

📦 Dependencies

New Contributors

Full Changelog: v2.46.0...v2.47.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.