Packages

langchain

1.6.7 · 18 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed

Your version

1.5.18

16 Oct 2026Where it was published

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" to humanInTheLoopMiddleware. Each gated tool call raises its own interrupt (type: "tool_approval", with a typed responseSchema built from the tool's allowed decisions), answered by interrupt ID. respond is 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 adds Interrupt.response_schema. In both modes, interruptOn: { tool: true } now allows every decision, respond included, 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.