LangChain: State Leak Fixes and Python 3.10 Removal

Eleven pull requests centered on state correctness, with fixes stopping stale structured responses and wiped history, plus tighter Anthropic and strict-mode contracts. A parallel cleanup drops end-of-life Python 3.10 across multiple packages and improves tracing retention.

Duration: PT2M19S

Episode overview

This episode is a short developer briefing from LangChain.

It explains recent repository work in plain language.

  • Show: LangChain
  • Published: 2026-10-20T13:03:53Z
  • Audio duration: PT2M19S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

It's October 20th, 2026, and this is your LangChain daily briefing.

The big pattern today is state integrity — stopping old outputs from leaking forward, and stopping good history from being deleted.

First, agent state leaks. Two fixes, in P R 41309 and 41310, address the same checkpoint bug where turning structured output off for a turn left the previous turn's structured response in saved state. If you switch response formats dynamically per turn, you were getting stale data bleeding into plain-text turns.…

Second, provider contracts and eval fidelity. In P R 41342, Anthropic streaming usage now matches the S D K's cumulative snapshot behavior instead of adding up deltas, and file upload tracking survives streams. In P R 41327, strict mode now closes bare object schemas at any nesting depth by adding the missing…

Third, platform cleanup and tracing efficiency. Three changes — P R 41344, 41301 and 41343 — remove end-of-life Python 3.10 across classic, version one, text splitters and test packages. And in P R 41312, tracing gets smarter memory handling, automatically retaining child runs for observers and eval callbacks while…

What's next: if you still target Python 3.10, plan an…

Nearby episodes from LangChain

  1. Token Counting Fix for Plain Functions
  2. Weekly Recap - Streaming Efficiency and Agent Control
  3. Tool Call Reliability Fixes
  4. Streaming Fixes, Retry Misalignment, and Python 3.10 Removal
  5. Cheaper Streaming and Safer Agent Recovery
  6. Per-Call Approvals and Leaner Streaming
  7. Agent Steering, Shell Reliability, and Content Fixes
  8. Mid-Conversation Releases and Flexible Summarization