LangChain: Hidden State Leaks Get Squashed
Today's activity is dominated by a wave of fixes for silent mutation bugs across LangChain's core and partner packages, plus a coordinated round of version releases that bake those fixes in. Developers should note that shared mutable state — in tracers, tool choices, and model keyword arguments — was quietly causing cross-call contamination.
Duration: PT2M42S
Episode overview
This episode is a short developer briefing from LangChain.
It explains recent repository work in plain language.
- Show: LangChain
- Published: 2026-07-22T13:03:04Z
- Audio duration: PT2M42S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good day. It's July 22nd, 2026, and this is your LangChain briefing.
The clear signal today: mutation bugs. Multiple independent contributors landed fixes for state silently leaking between calls that should have been isolated.
Start with PR 39003, which fixes three separate issues in one sweep — tracer copies were sharing mutable state across runs, middleware was mutating a shared tool list, and stream closures were undetectable. Same pattern shows up in PR 39006, where Anthropic's bind-tools was mutating a caller's tool-choice dictionary…
Second theme: model profile accuracy. Mdrxy's PR 39009 corrected the GPT-5.3 Chat Latest profile, which was advertising reasoning effort settings the model doesn't actually support. That same fix appears re-submitted three more times today, PRs 39013 through 39015, all targeting the identical profile correction —…
Rounding out core fixes: PR 39012 handles positional-only function parameters in tools correctly, and PR 39005 exposes the PIIMatch type so custom PII middleware can be built without reaching into private modules.
On the release side, Nishitha M pushed four coordinated version bumps — Anthropic to 1.5.0, Fireworks to 1.5.0, OpenAI to…
Nearby episodes from LangChain
- Quiet State Leaks and Structured Output Fixes
- Reasoning Effort Goes Standard, Retry Logic Gets a Second Fix
- Correctness and Startup Speed Fixes
- Weekly Recap - Middleware Contracts & Defensive Fixes
- The Silent Failure Cleanup
- The Day of Shared Mutable State
- Retry Middleware Gets an Honesty Fix
- The Silent Mutation Bug Sweep