Packages

langchain

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

Upgrading langchain From 0.0.110 to 1.6.7

296 releases in betweennotes for 78

Reading releases, release notes and advisories…

Other targets from 0.0.110Newest 0.x, Clears its 2 advisories0.3.37
1.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 0.0.110yours
  2. 104 releases
  3. 0.1.0major
  4. 37 releases
  5. 0.2.0major
  6. 20 releases
  7. 0.3.0major
  8. 37 releases
  9. 1.0.0major
  10. 17 releases
  11. 1.2.3security
  12. 30 releases
  13. 1.2.34breaking
  14. 42 releases
  15. 1.6.5breaking
  16. 1 release
  17. 1.6.7target
  18. 1 pre
2+
changes to make
2
advisories fixed
29+
new
93+
fixes

Counted from 78 of 296 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking1.6.5
  • Breaking1.2.34

Security

Fixes 2 advisories affecting 0.0.110

  • Add security hardening for load

    1.2.3

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

  5. 1.6.3

    7 Nov 20262 fixes
    • Fixed

      modelRetryMiddleware now retries errors that are subclasses of a class listed in retryOn. Previously the array form matched only the exact constructor, so retryOn: [APIError] never retried a RateLimitError. This matches toolRetryMiddleware.

    • Fixed

      langchain: Preserve model errors propagated through middleware

  6. 1.6.2

    5 Nov 20261 new
    • New

      Add tracePolicy to createMiddleware, applied to the middleware's lifecycle hook runs. It only changes what LangChainTracer sends to LangSmith (use omitPayload from @langchain/core/tracers/tracer_langchain). Requires @langchain/langgraph >= 1.6.1.

  7. 1.6.1

    3 Nov 20261 fix
    • Fixed

      langchain: humanInTheLoopMiddleware — execute approved, edited and auto-approved tool calls when other calls in the same interrupt are rejected, instead of dropping them without a ToolMessage (caused "400 No tool output found for function call" on subsequent model requests)

  8. 1.6.0

    28 Oct 20261 new
    • New

      Add a beta OpenAIDecisions runnable with typed predicate, choice and score questions, plus model-routing and tool-risk agent middleware.

37 internal lines (docs, tests, tooling) left out.

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.