Skip to content

pydantic-ai

v1.95.1 Bugfix

This release fixes issues for SREs watching stability and regressions.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

agent-framework genai llm pydantic python

ReleasePort's take

Light signal
editorial:auto 13d

v1.95.1 restores deprecated `Agent.instrument` setter and `InstrumentedModel` APIs. It makes `current_otel_traceparent` imports eager, fixing agent runs in Temporal workflows.

Why it matters: v1.95.1 restores Agent.instrument APIs and fixes Temporal workflow imports. Teams using these APIs can upgrade now. Test on next cycle.

Summary

AI summary

Re‑enabled the deprecated Agent.instrument setter and InstrumentedModel.

Changes in this release

Bugfix Medium

Makes `current_otel_traceparent` imports eager to unbreak agent runs in Temporal workflows

Makes `current_otel_traceparent` imports eager to unbreak agent runs in Temporal workflows

Source: llm_adapter@2026-05-21

Confidence: high

Bugfix Medium

Un-deprecates `Agent.instrument` setter and `InstrumentedModel` APIs

Un-deprecates `Agent.instrument` setter and `InstrumentedModel` APIs

Source: llm_adapter@2026-05-21

Confidence: high

Full changelog

What's Changed

🐛 Bug Fixes

  • fix: make current_otel_traceparent imports eager (unbreak agent runs in Temporal workflows) by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5422
  • fix: un-deprecate Agent.instrument setter and InstrumentedModel by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5427

Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v1.95.0...v1.95.1

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

Track pydantic-ai

Get notified when new releases ship.

Sign up free

About pydantic-ai

AI Agent Framework, the Pydantic way

All releases →

Related context

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]