langchain
1.6.7 · 18 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
1.6.7 is the newest release of 1.x.
In short
1 new
Release note
Patch Changes
agents: Add opt-in
interruptMode: "per_call"tohumanInTheLoopMiddleware. Each gated tool call raises its own interrupt (type: "tool_approval", with a typedresponseSchemabuilt from the tool's allowed decisions), answered by interrupt ID.respondis supported. Edits are pinned to the called tool and checked against the input side of its Zod v4 schema, so its transforms run once, when the tool does. An invalid answer throws without being saved. Also addsInterrupt.response_schema. In both modes,interruptOn: { tool: true }now allows every decision,respondincluded, as in Python; batched mode is otherwise unchanged.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.