Packages

langchain

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

Your version

1.5.20

27 Oct 2026Where it was published

1.6.7 is the newest release of 1.x.

In short

1 fixed

Release note

Patch Changes

  • langchain: re-throw a drained tool from the agent's ToolNode

    A tool that throws GraphDrained, for example one whose inner graph run is drained with RunControl.requestDrain(), now stops the agent run with that error, as an interrupt already did, instead of coming back as an error ToolMessage that lets the agent go on as if the tool had failed.

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.