Packages

langchain

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

Upgrading langchain From 1.6.3 to 1.6.7

4 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 1.6.3yours
  2. 1.6.4
  3. 1.6.5breaking
  4. 1.6.6
  5. 1.6.7target
1
change to make
0
advisories fixed
2
new
4
fixes

Before you upgrade

Tick each one off as you go
  • Breaking1.6.5

Release by release

  1. 1.6.7

    18 Nov 20262 fixes
    • Fixed

      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

    • Fixed

      langchain: Make ConfigurableModel non-configurable when configurableFields is omitted

  2. 1.6.6

    13 Nov 20262 fixes
    • Fixed

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

    • Fixed

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

  3. 1.6.5

    Migration needed11 Nov 20261 new
    • 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.

    • New

      langchain: Add model router and auto mode middleware

  4. 1.6.4

    10 Nov 20261 new
    • New

      langchain: Add modelRefusalMiddleware

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.