This release adds 3 notable features for engineering teams evaluating rollout.
Published 27d
AI Agents & Assistants
β No known CVEs patched
✓ No known CVEs patched in this version
Topics
agent-framework
genai
llm
pydantic
python
Summary
AI summaryUpdates π Bug Fixes, π Features, and feat across a mixed release.
Full changelog
What's Changed
π Features
- feat: Add Anthropic
_20260209web tools with server-tool replay by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/4844 - Serialize instrumentation message attributes with to_json instead of json.dumps by @Kludex in https://github.com/pydantic/pydantic-ai/pull/6045
- Add TypeAdapter for EvaluatorContext by @hon-gyu in https://github.com/pydantic/pydantic-ai/pull/3373
π Bug Fixes
- Convert
ExceptionGroup-wrapped tool errors toModelRetryinMCPToolsetby @dmontagu in https://github.com/pydantic/pydantic-ai/pull/6004 - fix: prevent
cancel()from flipping complete state on finished stream by @Oxygen56 in https://github.com/pydantic/pydantic-ai/pull/5795 - fix(temporal): add return type annotation to
PydanticAIPlugin.__init__by @syf2211 in https://github.com/pydantic/pydantic-ai/pull/6065 - fix(anthropic): support Bedrock token counting by @dyscott in https://github.com/pydantic/pydantic-ai/pull/5480
New Contributors
- @lucaszhu-hue made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5982
- @syf2211 made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6065
- @dyscott made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5480
- @hon-gyu made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3373
Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v2.0.0...v2.1.0
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
Related context
Related tools
Earlier breaking changes
- v1.95.0 rename βbuilt-in toolsβ to βnative toolsβ, deprecate old fields, register via capabilities=[NativeTool(...)]
Beta — feedback welcome: [email protected]