langchain
1.6.7 · 18 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
1.6.7 is the newest release of 1.x.
In short
2 new
Release note
Patch Changes
langchain: Add
whenpredicate to human-in-the-loop middlewareAdd an optional
whencallback onInterruptOnConfigso callers can
dynamically skip interrupts for specific tool calls. The predicate receives
aToolCallRequest(batchafterModelcontext) and returns whether to
interrupt or auto-approve, matching PythonHumanInTheLoopMiddleware.aws: Bedrock prompt caching middleware
Adds bedrockPromptCachingMiddleware. The interface largely matches what was previous implemented with anthropicPromptCachingMiddleware, making a best-effort attempt at utilizing prompt caching features for supported models.
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.