Packages

langchain

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

Your version

Where each line stands

Plan an upgrade
  • 1.x1.6.7Safe from 1.2.3Latest line
  • 0.2.x and older0.3.375 open advisories, worst high · last release Sep 2024, no longer updatedTo 1.6.7

Latest releases

All 404 releases
  1. 1.6.7

    18 Nov 2026
    • Mark tool messages that humanInTheLoopMiddleware creates for reject and respond decisions with lc_source: "hitl_interrupt_decision" and lc_data: { decision }, and let addNotificationMetadata accept tool messages

    • langchain: Make ConfigurableModel non-configurable when configurableFields is omitted

      initChatModel with a model and no configurableFields (and direct new ConfigurableModel(...) without it) no longer lets configurable.model / configurable.modelProvider swap the model at invoke time, matching the docs. Pass configurableFields: ["model", "modelProvider"] to keep runtime model swapping.

  2. 1.6.6

    13 Nov 2026
    • Prevent a failed tool call or subagent from crashing the process when its output promise is never consumed

    • Apply a Command returned from wrapModelCall once when outer middleware passes it through

  3. 1.6.5

    11 Nov 2026
    • Breaking

      Require Zod 4.6.6 or newer for installed dependencies to exclude versions affected by GHSA-mrhx-c7xc-m3w5. Zod v3 schemas remain supported through the bundled zod/v3 entry point.

    • langchain: Add model router and auto mode middleware

Dependency tracking

Know when your own dependencies move

langchain had 1 security advisory in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Reading releases, release notes and advisories…

Registry facts last checked 22 Nov 2026. Releases and advisories last read 22 Nov 2026.

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.